]> www.infradead.org Git - users/jedix/linux-maple.git/commit
nvme: report the DPOFUA in MODE_SENSE
authorChristoph Hellwig <hch@lst.de>
Fri, 22 May 2015 09:12:44 +0000 (11:12 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 6 Jul 2016 23:31:45 +0000 (16:31 -0700)
commitbcf1cdbaaf3117b0014cec87f9b841e666ca28fd
treec713bafac1776e0242ac70cedbdda34a8eaf297a
parentecab34bd77864e753fe54c52ed3e838bd44c3b26
nvme: report the DPOFUA in MODE_SENSE

NVMe device always support the FUA bit, and the SCSI translations
accepts the DPO bit, which doesn't have much of a meaning for us.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
(cherry picked from commit 908517684807f3b3d93893da78c7906f5ff2c49b)

Orabug: 22620486
Signed-off-by: Jason Luo <zhangqing.luo@oracle.com>
drivers/block/nvme-scsi.c