dm: optimize dm_request_fn()
authorMike Snitzer <snitzer@redhat.com>
Sun, 31 Jan 2016 22:33:32 +0000 (17:33 -0500)
committerMike Snitzer <snitzer@redhat.com>
Mon, 22 Feb 2016 16:06:22 +0000 (11:06 -0500)
commitc91852ff081561d8793d2927e55f5c5deaea6bff
tree84a5ba9004d9ff5fef7116231766f157d0acbe4f
parent16f122661dbb3dfefc60788b528b54ad702005aa
dm: optimize dm_request_fn()

DM multipath is the only request-based DM target -- which only supports
tables with a single target that is immutable.  Leverage this fact in
dm_request_fn().

Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm.c