Commit Graph

87 Commits

Author SHA1 Message Date
Thomas Schoebel-Theuer
1a53f589d4 copy: improve error code 2023-05-23 10:47:39 +02:00
Andrea Gelmini
dd1e4e1323 Fix typos
[small adaptations by Thomas Schoebel-Theuer, and
some problems with LyX-specific file format fixed]
2023-04-05 13:30:38 +02:00
Thomas Schoebel-Theuer
5a6cfa7798 copy: replace st->prev with computation 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
2740de0422 copy: safeguard coercions 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
40e0fdd519 copy: v2 limit via MAX_ACTIVE_AREA 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
9804d7456e copy: v2 stable_copy{start,end} 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
5efeb7545b copy: length and offset paranoia for debugging 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
60b1f238d7 copy: safeguard prev 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
9701b0b0cc copy: optimize ref_len 2022-12-02 22:17:36 +01:00
Thomas Schoebel-Theuer
a72af6a9e3 copy: introduce brick shutdown phase with timeout 2022-12-02 22:17:33 +01:00
Thomas Schoebel-Theuer
fd8185e9c9 copy: use new smp waiting 2022-08-24 10:22:27 +02:00
Thomas Schoebel-Theuer
f92a44ecfa copy: safeguard against strange compiler warnings 2022-08-01 15:03:38 +02:00
Thomas Schoebel-Theuer
b555ba5d81 copy: safeguard any re-triggered writes 2022-07-28 14:47:47 +02:00
Thomas Schoebel-Theuer
c9f1854f3c copy: safeguard start conditions 2022-07-28 14:47:47 +02:00
Thomas Schoebel-Theuer
2d5b708ff6 copy: safeguard advance on concluded states 2022-07-28 14:42:10 +02:00
Thomas Schoebel-Theuer
1e551e624b copy: safeguard ref_len 2022-07-28 14:41:53 +02:00
Thomas Schoebel-Theuer
b6a5ee3227 copy: fix COPY_CHUNK border crossing 2022-07-28 14:37:23 +02:00
Thomas Schoebel-Theuer
1932198fd9 copy: clarify error messages 2022-07-28 14:35:52 +02:00
Thomas Schoebel-Theuer
c5204c605f copy: remove superfluous checks 2022-07-27 10:36:55 +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
1c6d0fd2bd copy: simplify currently unused determine_input 2022-05-20 00:16:29 +02:00
Thomas Schoebel-Theuer
afc4366145 copy: simplify len shortening code 2022-05-20 00:16:29 +02:00
Thomas Schoebel-Theuer
40651f0646 copy: index paranoia 2022-05-20 00:16:28 +02:00
Thomas Schoebel-Theuer
e6115c4e76 copy: improve error msg 2022-05-20 00:04:59 +02:00
Thomas Schoebel-Theuer
0615ab3a23 copy: fix enum type checking
block/mars/kernel/mars_copy.c:466:2: warning: case label value is less than minimum value for type [-Wswitch-outside-range]
2022-04-02 18:55:19 +02:00
Thomas Schoebel-Theuer
d18290d1f9 copy: remove redundant inputs 2021-07-15 11:20:51 +02:00
Thomas Schoebel-Theuer
5f13e810b7 all: safeguard mb on indirect calls 2021-07-08 07:44:38 +02:00
Thomas Schoebel-Theuer
8761f8739d copy: pretty spacing 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
344c3a7e95 copy: safeguard underflow 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
8412411390 copy: make offset and len unsigned 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
532065f9b4 copy: make index unsigned 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
c7fd43b03d copy: safeguard negative positions 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
89c29da9c5 copy: safeguard queue deref 2021-04-16 11:30:12 +02:00
Thomas Schoebel-Theuer
be3ebd11b6 copy: safeguard state table index 2021-04-16 11:30:10 +02:00
Thomas Schoebel-Theuer
fff046e1d0 copy: safeguard cursor position 2021-04-16 10:07:55 +02:00
Thomas Schoebel-Theuer
8b74860e7c copy: safeguard state initialization 2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
09ca8cce5c copy: smp safeguard state table
The following variables are used by copy_endio() and thus
may be called both synchronously and asynchronously:

st->error
st->active[]
st->table[]
2021-03-01 13:05:17 +01:00
Thomas Schoebel-Theuer
ed680c298d copy: silence fallthrough warning 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
b85bc0f576 all: adapt to removal of current_kernel_time64() 2021-02-10 13:36:06 +01:00
Thomas Schoebel-Theuer
2d35812d50 main: allow disabling of digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
c7f5451501 infra: prepare multiple digests 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
79b55514fc copy: stop upon short read 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
9e6fb4120c infra: deprecate ref_cs_mode 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
40e72f9e7d all: deprecate mref_rw and mref_may_write 2020-04-13 10:54:19 +02:00
Thomas Schoebel-Theuer
f1d7caedfe copy: improve trigger 2020-02-10 09:35:29 +01:00
Thomas Schoebel-Theuer
222f048937 all: adapt to new timespec64 type 2019-12-25 09:19:07 +01:00
Thomas Schoebel-Theuer
a6fbb93394 copy: fix race on shutdown 2019-02-12 11:27:40 +01:00
Thomas Schoebel-Theuer
26ddf5e68c Merge branch 'mars0.1.y' into mars0.1a.y 2018-10-15 07:24:03 +02:00
Thomas Schoebel-Theuer
28ceff2388 copy: stabilize table for race prevention 2018-10-10 10:54:42 +02:00