summaryrefslogtreecommitdiff
path: root/drivers/block/drbd/drbd_req.c
diff options
context:
space:
mode:
authorLars Ellenberg <lars.ellenberg@linbit.com>2015-02-19 15:48:59 +0300
committerJens Axboe <axboe@fb.com>2015-11-25 19:22:01 +0300
commit142207f782dd7f174a1e1b954c3a9dd04316bd95 (patch)
treeabae7ef0ce851a18d02a291ba3b3298ee8e19a65 /drivers/block/drbd/drbd_req.c
parentdc99562a48f39db4be0f9195137ec6f5350baf19 (diff)
downloadlinux-142207f782dd7f174a1e1b954c3a9dd04316bd95.tar.xz
drbd: drbd_panic_after_delayed_completion_of_aborted_request()
The only way to make DRBD intentionally call panic is to set a disk timeout, have that trigger, "abort" some request and complete to upper layers, then have the backend IO subsystem later complete these requests successfully regardless. As the attached IO pages have been recycled for other purposes meanwhile, this will cause unexpected random memory changes. To prevent corruption, we rather panic in that case. Make it obvious from stack traces that this was the case by introducing drbd_panic_after_delayed_completion_of_aborted_request(). Signed-off-by: Philipp Reisner <philipp.reisner@linbit.com> Signed-off-by: Lars Ellenberg <lars.ellenberg@linbit.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/block/drbd/drbd_req.c')
0 files changed, 0 insertions, 0 deletions