-
- Downloads
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>
Showing
- drivers/target/target_core_cdb.c 17 additions, 0 deletionsdrivers/target/target_core_cdb.c
- drivers/target/target_core_configfs.c 4 additions, 0 deletionsdrivers/target/target_core_configfs.c
- drivers/target/target_core_device.c 13 additions, 0 deletionsdrivers/target/target_core_device.c
- drivers/target/target_core_iblock.c 3 additions, 0 deletionsdrivers/target/target_core_iblock.c
- include/target/target_core_base.h 1 addition, 0 deletionsinclude/target/target_core_base.h
- include/target/target_core_device.h 1 addition, 0 deletionsinclude/target/target_core_device.h
- include/target/target_core_transport.h 2 additions, 0 deletionsinclude/target/target_core_transport.h
Loading
Please register or sign in to comment