dm: inherit QUEUE_FLAG_SG_GAPS flags from underlying queues
authorKeith Busch <keith.busch@intel.com>
Sat, 24 Jan 2015 22:10:49 +0000 (15:10 -0700)
committerMike Snitzer <snitzer@redhat.com>
Wed, 11 Feb 2015 15:25:46 +0000 (10:25 -0500)
A DM device must inherit the QUEUE_FLAG_SG_GAPS flags from its
underlying block devices' request queues.

This fixes problems when submitting cloned requests to multipathed
devices requiring virtually contiguous buffers.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
drivers/md/dm-table.c

Simple merge