NVMe: Clear QUEUE_FLAG_STACKABLE
authorKeith Busch <keith.busch@intel.com>
Tue, 4 Nov 2014 20:18:10 +0000 (13:18 -0700)
committerJens Axboe <axboe@fb.com>
Tue, 4 Nov 2014 20:18:10 +0000 (13:18 -0700)
commit5940c8578fe720afbf4ef041bad0d72a101f1d88
tree283ee9fb0326a9fb83115ce149e39c3d14467a6d
parent387caa5a2b11ecb1abbbec8ef9d798f757ba3e5f
NVMe: Clear QUEUE_FLAG_STACKABLE

The nvme namespace request_queue's flags are initialized to
QUEUE_FLAG_DEFAULT, which currently sets QUEUE_FLAG_STACKABLE. The
device-mapper indicates this flag means the block driver is requset
based, though this driver is bio-based and problems will occur if an nvme
namespace is used with a request based dm device. This patch clears the
stackable flag.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Matthew Wilcox <matthew.r.wilcox@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/nvme-core.c