summaryrefslogtreecommitdiffstats
path: root/drivers/block/drbd/drbd_main.c
diff options
context:
space:
mode:
authorLars Ellenberg2014-04-28 18:43:23 +0200
committerJens Axboe2014-04-30 21:46:55 +0200
commita0fb3c47a1aae5d38a88ea858f14d6d088d05e07 (patch)
tree7512ce733f36ba615aaf0388d7b850cfca672c46 /drivers/block/drbd/drbd_main.c
parentdrbd: allow parallel promote/demote actions (diff)
downloadkernel-qcow2-linux-a0fb3c47a1aae5d38a88ea858f14d6d088d05e07.tar.gz
kernel-qcow2-linux-a0fb3c47a1aae5d38a88ea858f14d6d088d05e07.tar.xz
kernel-qcow2-linux-a0fb3c47a1aae5d38a88ea858f14d6d088d05e07.zip
drbd: prepare receiving side for REQ_DISCARD
If the receiver needs to serve a discard request on a queue that does not announce to be discard cabable, it falls back to do synchronous blkdev_issue_zeroout(). We expect only "reasonably" large (up to one activity log extent?) discard requests. We do this to not to not block the receiver for too long in this fallback code path, and to not set/clear too many bits inside one spinlock_irq_save() in drbd_set_in_sync/drbd_set_out_of_sync, 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_main.c')
0 files changed, 0 insertions, 0 deletions