]> git.baikalelectronics.ru Git - kernel.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)
committerJens Axboe <axboe@fb.com>
Fri, 22 May 2015 14:36:42 +0000 (08:36 -0600)
commit5cf2586d935db267c714685e54ee3bdb1613f509
treedeff7444658b44371f8faf90322bbe0b18d6f8bb
parent36df4ab7eefec19c0db1081ddf27dd50f9f45f11
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>
drivers/block/nvme-scsi.c