diff options
author | Lars Ellenberg <[email protected]> | 2014-04-28 18:43:23 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2014-04-30 13:46:55 -0600 |
commit | a0fb3c47a1aae5d38a88ea858f14d6d088d05e07 (patch) | |
tree | 7512ce733f36ba615aaf0388d7b850cfca672c46 /tools/perf/scripts/python/syscall-counts.py | |
parent | 9e276872fe1665ea158f0c6f40df13008fed2908 (diff) |
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 <[email protected]>
Signed-off-by: Lars Ellenberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions