diff options
author | Mike Snitzer <snitzer@redhat.com> | 2020-09-23 23:06:51 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-09-25 17:20:03 +0300 |
commit | 021a24460dc28e7412aecfae89f60e1847e685c0 (patch) | |
tree | 14e5d8d9a110a92135fcb31457a906ca2e85cac3 /drivers/md/dm-table.c | |
parent | 700cd59db518edc2028df7c830d6cb6f7164573b (diff) | |
download | linux-021a24460dc28e7412aecfae89f60e1847e685c0.tar.xz |
block: add QUEUE_FLAG_NOWAIT
Add QUEUE_FLAG_NOWAIT to allow a block device to advertise support for
REQ_NOWAIT. Bio-based devices may set QUEUE_FLAG_NOWAIT where
applicable.
Update QUEUE_FLAG_MQ_DEFAULT to include QUEUE_FLAG_NOWAIT. Also
update submit_bio_checks() to verify it is set for REQ_NOWAIT bios.
Reported-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Suggested-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/md/dm-table.c')
0 files changed, 0 insertions, 0 deletions