dm table: add dm_table_run_md_queue_async
authorMike Snitzer <snitzer@redhat.com>
Fri, 28 Feb 2014 14:33:43 +0000 (15:33 +0100)
committerMike Snitzer <snitzer@redhat.com>
Thu, 27 Mar 2014 20:56:24 +0000 (16:56 -0400)
commit9974fa2c6a7d470ca3c201fe7dbac64bf4dd8d2a
tree623ceaee0342585c95c0eca67ab3e6c4f03bb9e2
parent17f4ff45b58742e2cb32fce6e406dbdb4b32a1e7
dm table: add dm_table_run_md_queue_async

Introduce dm_table_run_md_queue_async() to run the request_queue of the
mapped_device associated with a request-based DM table.

Also add dm_md_get_queue() wrapper to extract the request_queue from a
mapped_device.

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Jun'ichi Nomura <j-nomura@ce.jp.nec.com>
drivers/md/dm-table.c
drivers/md/dm.c
drivers/md/dm.h
include/linux/device-mapper.h