summaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-sysfs.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2015-03-11 04:49:26 +0100
committerMike Snitzer <snitzer@redhat.com>2015-04-15 18:10:17 +0200
commit022333427a8aa4ccb318a9db90cea4e69ca1826b (patch)
tree9f3fad66840616cd281b449a99df4d30bfdfd6c2 /drivers/md/dm-sysfs.c
parentdm: add full blk-mq support to request-based DM (diff)
downloadlinux-022333427a8aa4ccb318a9db90cea4e69ca1826b.tar.xz
linux-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 'drivers/md/dm-sysfs.c')
0 files changed, 0 insertions, 0 deletions