diff options
author | Lars Ellenberg <[email protected]> | 2016-06-14 00:26:19 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2016-06-13 21:43:05 -0600 |
commit | f9ff0da564376d24d76c73d8a83b9bd7b723358f (patch) | |
tree | e89ac12fdb794b17fc107c757a79b6a27e5010bd /lib/test-string_helpers.c | |
parent | 0982368bfd59647b4f30415c9ed038f60b859875 (diff) |
drbd: allow parallel flushes for multi-volume resources
To maintain write-order fidelity accros all volumes in a DRBD resource,
the receiver of a P_BARRIER needs to issue flushes to all volumes.
We used to do this by calling blkdev_issue_flush(), synchronously,
one volume at a time.
We now submit all flushes to all volumes in parallel, then wait for all
completions, to reduce worst-case latencies on multi-volume resources.
Signed-off-by: Philipp Reisner <[email protected]>
Signed-off-by: Lars Ellenberg <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions