aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-03-10 23:49:26 -0400
committerMike Snitzer <snitzer@redhat.com>2015-04-15 12:10:17 -0400
commit022333427a8aa4ccb318a9db90cea4e69ca1826b (patch)
tree9f3fad66840616cd281b449a99df4d30bfdfd6c2 /init
parentdm: add full blk-mq support to request-based DM (diff)
downloadlinux-dev-022333427a8aa4ccb318a9db90cea4e69ca1826b.tar.xz
linux-dev-022333427a8aa4ccb318a9db90cea4e69ca1826b.zip
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 'init')
0 files changed, 0 insertions, 0 deletions