Commit bf5e3a3
Revert "blk-lib: check for kill signal"
This reverts commit 8a08c5f.
It turns out while this is a perfectly valid and long overdue thing to do
for user initiated discards / zeroing from the ioctl handler, it actually
breaks file system use of the discard helper by interrupting in places
the file system doesn't expect, and by leaving the bio chain in a state
that the file system callers of (at least) __blkdev_issue_discard do
not expect.
Revert the change for now, we'll redo it for the next merge window
after refactoring the code to better split the file system vs ioctl
callers and cleaning up a few other loose ends.
Reported-by: Chandan Babu R <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Keith Busch <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jens Axboe <[email protected]>1 parent 256aab4 commit bf5e3a3
1 file changed
+1
-39
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | 38 | | |
59 | 39 | | |
60 | 40 | | |
| |||
97 | 77 | | |
98 | 78 | | |
99 | 79 | | |
100 | | - | |
101 | | - | |
102 | | - | |
103 | | - | |
104 | 80 | | |
105 | 81 | | |
106 | 82 | | |
| |||
167 | 143 | | |
168 | 144 | | |
169 | 145 | | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | 146 | | |
175 | 147 | | |
176 | 148 | | |
| |||
215 | 187 | | |
216 | 188 | | |
217 | 189 | | |
218 | | - | |
219 | | - | |
220 | | - | |
221 | | - | |
222 | 190 | | |
223 | 191 | | |
224 | 192 | | |
| |||
309 | 277 | | |
310 | 278 | | |
311 | 279 | | |
312 | | - | |
| 280 | + | |
313 | 281 | | |
314 | 282 | | |
315 | 283 | | |
| |||
361 | 329 | | |
362 | 330 | | |
363 | 331 | | |
364 | | - | |
365 | | - | |
366 | | - | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | 332 | | |
371 | 333 | | |
372 | 334 | | |
| |||
0 commit comments