diff options
author | Mikulas Patocka <mpatocka@redhat.com> | 2018-04-17 01:33:14 +0300 |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2018-07-27 22:24:19 +0300 |
commit | cda6b5ab7f5935565ed5b9bbc385bd1d0a3feb75 (patch) | |
tree | f9874d8e3e6d0f6dbefcba98c6835f37694f6009 /scripts | |
parent | 3876ac76f02ac2a7b3d96f813c0ee1070e7a8c8e (diff) | |
download | linux-cda6b5ab7f5935565ed5b9bbc385bd1d0a3feb75.tar.xz |
dm delay: add flush as a third class of IO
Add a new class for dm-delay that delays flush requests. Previously,
flushes were delayed as writes, but it caused problems if the user
needed to create a device with one or a few slow sectors for the purpose
of testing - all flushes would be forwarded to this device and delayed,
and that skews the test results. Fix this by allowing to select 0 delay
for flushes.
Signed-off-by: Mikulas Patocka <mpatocka@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions