summaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_pscsi.c
diff options
context:
space:
mode:
authorRoland Dreier2011-07-05 22:34:52 +0200
committerNicholas Bellinger2011-07-22 11:37:47 +0200
commite22a7f075226c51f3f71b922e9eeb4f99fac1475 (patch)
treee0a04f974153136eafe13793ee59be58c37c5ffc /drivers/target/target_core_pscsi.c
parenttarget: Fix reporting of supported VPD pages (diff)
downloadkernel-qcow2-linux-e22a7f075226c51f3f71b922e9eeb4f99fac1475.tar.gz
kernel-qcow2-linux-e22a7f075226c51f3f71b922e9eeb4f99fac1475.tar.xz
kernel-qcow2-linux-e22a7f075226c51f3f71b922e9eeb4f99fac1475.zip
target: Implement Block Device Characteristics VPD page
Implement page B1h, Block Device Characteristics, so that we can report a medium rotation rate of 1 (non-rotating / solid state) if the is_nonrot device attribute is set; we update the iblock backend to set this attribute if the underlying Linux block device has its nonrot flag set. Signed-off-by: Roland Dreier <roland@purestorage.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_pscsi.c')
0 files changed, 0 insertions, 0 deletions