Commit Graph

3600 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
82569e4d6a logger: remove superfluous checks 2022-07-27 10:54:39 +02:00
Thomas Schoebel-Theuer
54f6ea9f87 if: remove superfluous check 2022-07-27 10:54:39 +02:00
Thomas Schoebel-Theuer
974ac4d0eb generic: remove superfluous checks 2022-07-27 10:54:38 +02:00
Thomas Schoebel-Theuer
53e9adb326 net: remove superfluous check 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
3a638f0a79 buf: mprove error code 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
eb6d6ad9d0 brick_mem: remove superfluous check 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
ee02b4cbba client: remove superfluous checks 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
c5204c605f copy: remove superfluous checks 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
b93c899403 brick: improve error code 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
da1ef56fef main: remove superfluous checks and improve error codes 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
ffbea63a72 sio: improve error codes 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
9c55b20b76 aio: improve error codes 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
0992bd56f0 bio: improve error code 2022-07-27 10:36:55 +02:00
Thomas Schoebel-Theuer
5643dd7db9 bio: remove now superfluous check 2022-07-27 10:27:41 +02:00
Thomas Schoebel-Theuer
f39a457769 bio: compensate bio_alloc error 2022-07-27 10:27:41 +02:00
Thomas Schoebel-Theuer
44784b4981 all: release mars0.1astable150 2022-07-12 11:31:55 +02:00
Thomas Schoebel-Theuer
60bc655293 infra: use new SET_PTR_NULL 2022-07-12 11:28:12 +02:00
Thomas Schoebel-Theuer
5bad7d5d46 infra: trighten brick pointer checking 2022-07-12 11:28:12 +02:00
Thomas Schoebel-Theuer
58618cc29d infra: tighten NULL pointer checking 2022-07-12 11:28:12 +02:00
Thomas Schoebel-Theuer
1f4f044914 copy: setup callback after allocation succeeded 2022-07-12 11:28:12 +02:00
Thomas Schoebel-Theuer
15f96ea5e2 copy: fix ENOMEM error path 2022-07-12 11:28:12 +02:00
Thomas Schoebel-Theuer
6f7b2ab9a7 all: release mars0.1astable149 2022-07-06 22:41:44 +02:00
Thomas Schoebel-Theuer
82cb983e46 brick_mem: new msleep_backoff() 2022-07-06 22:41:44 +02:00
Thomas Schoebel-Theuer
79c611cf5d brick_mem: alias GFP_BRICK to __GFP_NORETRY when appropriate 2022-07-06 22:41:42 +02:00
Thomas Schoebel-Theuer
48a19e58d1 brick_mem: make CONFIG_MARS_MEM_RETRY mandatory by removing the symbol 2022-06-28 21:25:28 +02:00
Thomas Schoebel-Theuer
b4e0927d20 all: release mars0.1astable148 2022-06-28 07:14:00 +02:00
Thomas Schoebel-Theuer
32f2cab93f doc: explain new error messages and hex codes 2022-06-28 07:14:00 +02:00
Thomas Schoebel-Theuer
fd1aa83114 marsadm: avoid repetitions of cache warnings 2022-06-28 07:14:00 +02:00
Thomas Schoebel-Theuer
787881304a marsadm: do not create subdir on unmounted /mars 2022-06-28 07:14:00 +02:00
Thomas Schoebel-Theuer
c50c5448c8 marsadm: ignore tails in comma-separated numeric lists 2022-06-28 07:14:00 +02:00
Thomas Schoebel-Theuer
345c92497a if: safeguard deactivation of congested_fn 2022-06-28 07:13:56 +02:00
Thomas Schoebel-Theuer
aa64e97cb6 logger: use READ_ONCE for q_{active,queued} 2022-06-27 22:09:37 +02:00
Thomas Schoebel-Theuer
4f1d355a63 logger: simplify after 37fb40f8a 2022-06-27 22:09:37 +02:00
Thomas Schoebel-Theuer
78fcfcc21f logger: add additional polling rounds for replay 2022-06-27 22:09:37 +02:00
Thomas Schoebel-Theuer
4354c96173 logger: speed up handling of emergency mode 2022-06-27 22:09:37 +02:00
Thomas Schoebel-Theuer
f5f758bf69 lib_log et al: report scan problems 2022-06-27 22:09:25 +02:00
Thomas Schoebel-Theuer
58d7aa98ea lib_log: report incomplete log entries via ERESTART 2022-06-27 21:17:10 +02:00
Thomas Schoebel-Theuer
b86e45c854 marsadm: prepare new IncompleteLog and UnInitializedLogRecord 2022-06-27 21:17:10 +02:00
Thomas Schoebel-Theuer
93b49cbc68 server: destroy mutex 2022-06-22 08:23:03 +02:00
Thomas Schoebel-Theuer
d49a6e54c8 client: destroy mutex 2022-06-22 08:23:03 +02:00
Thomas Schoebel-Theuer
a9b1bdcccd main: destroy in_mutex in rot 2022-06-22 08:23:03 +02:00
Thomas Schoebel-Theuer
a23f39c064 main: destroy peer_lock mutex 2022-06-22 08:23:03 +02:00
Thomas Schoebel-Theuer
8dab12207b mapfree: safeguard deleted files 2022-06-22 08:23:03 +02:00
Thomas Schoebel-Theuer
31401ab85c server: better react on brick startup problems 2022-06-22 08:23:03 +02:00
Thomas Schoebel-Theuer
e659130a1c all: release mars0.1astable147 2022-06-06 15:02:52 +02:00
Thomas Schoebel-Theuer
3990fe6001 logger: treat EAGAIN only as a premature stop 2022-06-06 15:02:52 +02:00
Thomas Schoebel-Theuer
22e4cec331 infra: fix spelling 2022-06-06 15:02:52 +02:00
Thomas Schoebel-Theuer
3b1c75eff5 brick: remove superfluous tmp_head 2022-06-06 15:02:52 +02:00
Thomas Schoebel-Theuer
b395c4bdcc server: access callback lists solely under lock 2022-06-06 15:02:52 +02:00
Thomas Schoebel-Theuer
5a659a0441 server: improve callback list and safeguard locking
Coding style: pairwise nesting of lock/unlock.

Always prefer writes in front of reads when callbacks
need to be transported.
2022-06-06 15:01:43 +02:00