diff options
author | 2020-01-07 13:58:17 -0800 | |
---|---|---|
committer | 2020-01-09 07:59:12 -0700 | |
commit | 8e42d239cb027143915cae13eb2ecf1360ee24de (patch) | |
tree | e20bfca5f7cbb9215c814540210d1602d2c440aa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-mq: Document functions for sending request (diff) | |
download | wireguard-linux-8e42d239cb027143915cae13eb2ecf1360ee24de.tar.xz wireguard-linux-8e42d239cb027143915cae13eb2ecf1360ee24de.zip |
block: mark zone-mgmt bios with REQ_SYNC
In the current implementation, final zone-mgmt request is issued with
submit_bio_wait() which marks the bio REQ_SYNC. This is needed since
immediate action is expected for zone-mgmt requests as these are
blocking operations. This also bypasses the scheduler in the
blk_mq_make_request() and dispatches the request directly into the
hw ctx.
This patch marks all the chained bios REQ_SYNC so that we can have
above-mentioned behavior for non-final bios also.
Reviewed-by: Damien Le Moal <damien.lemoal@wdc.com>
Reviewed-by: Bob Liu <bob.liu@oracle.com>
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions