diff options
author | Mike Snitzer <snitzer@redhat.com> | 2015-03-11 03:49:26 (GMT) |
---|---|---|
committer | Mike Snitzer <snitzer@redhat.com> | 2015-04-15 16:10:17 (GMT) |
commit | 022333427a8aa4ccb318a9db90cea4e69ca1826b (patch) | |
tree | 9f3fad66840616cd281b449a99df4d30bfdfd6c2 /drivers/md/Kconfig | |
parent | bfebd1cdb497a57757c83f5fbf1a29931591e2a4 (diff) | |
download | linux-022333427a8aa4ccb318a9db90cea4e69ca1826b.tar.xz |
dm: optimize dm_mq_queue_rq to _not_ use kthread if using pure blk-mq
dm_mq_queue_rq() is in atomic context so care must be taken to not
sleep -- as such GFP_ATOMIC is used for the md->bs bioset allocations
and dm-mpath's call to blk_get_request(). In the future the bioset
allocations will hopefully go away (by removing support for partial
completions of bios in a cloned request).
Also prepare for supporting DM blk-mq ontop of old-style request_fn
device(s) if a new dm-mod 'use_blk_mq' parameter is set. The kthread
will still be used to queue work if blk-mq is used ontop of old-style
request_fn device(s).
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/Kconfig')
0 files changed, 0 insertions, 0 deletions