commit | 6abc49468eeaad2dd481779906aaa29605139087 | [log] [tgz] |
---|---|---|
author | Konstantin Khlebnikov <khlebnikov@yandex-team.ru> | Wed Sep 23 16:06:52 2020 -0400 |
committer | Jens Axboe <axboe@kernel.dk> | Fri Sep 25 08:20:03 2020 -0600 |
tree | bc4c7489f07e17a9b4328b6c135871811f541027 | |
parent | 021a24460dc28e7412aecfae89f60e1847e685c0 [diff] |
dm: add support for REQ_NOWAIT and enable it for linear target Add DM target feature flag DM_TARGET_NOWAIT which advertises that target works with REQ_NOWAIT bios. Add dm_table_supports_nowait() and update dm_table_set_restrictions() to set/clear QUEUE_FLAG_NOWAIT accordingly. Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru> Signed-off-by: Mike Snitzer <snitzer@redhat.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>