summaryrefslogtreecommitdiffstats
path: root/drivers/md/bcache
diff options
context:
space:
mode:
authorNicholas Bellinger <nab@linux-iscsi.org>2016-04-09 03:04:42 +0000
committerJens Axboe <axboe@fb.com>2016-05-17 17:14:21 -0600
commitba36c21b0cd8b55fd7f010e9052656c2c03d9e5e (patch)
treea46102b8bfb8d232216f617f7e52024258af644d /drivers/md/bcache
parent99466e708ddce8904c8635c213f2deb523ef4fb9 (diff)
downloadtalos-obmc-linux-ba36c21b0cd8b55fd7f010e9052656c2c03d9e5e.tar.gz
talos-obmc-linux-ba36c21b0cd8b55fd7f010e9052656c2c03d9e5e.zip
nvme/host: Add missing blk_integrity tag_size + flags assignments
While doing recent bring-up of nvme/host with target-core T10-PI, I noticed /sys/block/nvme*/integrity/device_is_integrity_capable was false, and /sys/block/nvme*/integrity/tag_size contained a bogus value. AFAICT outside of blk_integrity_compare() for DM + MD these are informational values, but go ahead and add the missing assignments for nvme/host to match what SCSI does within sd_dif_config_host() for consistency's sake. Cc: Keith Busch <keith.busch@intel.com> Cc: Jay Freyensee <james.p.freyensee@intel.com> Cc: Martin K. Petersen <martin.petersen@oracle.com> Cc: Sagi Grimberg <sagig@grimberg.me> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org> Reviewed-by: Sagi Grimberg <sagi at grimberg.me> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'drivers/md/bcache')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud