]> Git Repo - linux.git/commit
target: Return descriptor format sense data in case the LU spans 64bit sectors
authorSagi Grimberg <[email protected]>
Thu, 16 Jul 2015 07:28:05 +0000 (10:28 +0300)
committerNicholas Bellinger <[email protected]>
Fri, 24 Jul 2015 05:54:21 +0000 (22:54 -0700)
commit4e4937e8aefde8d49340e803ebbedcdf4b43e5f0
treeea9153817ac32402c68db2eb7b9b48d4a5cbcd6a
parentf5a8b3a796db01b639435515b3adc003b9f27387
target: Return descriptor format sense data in case the LU spans 64bit sectors

In case a LU spans 64bit sectors, fixed size sense data information
field is only 32 bits which means the sector information will be truncated.

Thus, if the LU spans 64bit sectors, use descriptor format sense data to
correctly report sector information.

Reported-by: Christoph Hellwig <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Martin K. Petersen <[email protected]>
Signed-off-by: Sagi Grimberg <[email protected]>
Signed-off-by: Nicholas Bellinger <[email protected]>
drivers/target/target_core_hba.c
drivers/target/target_core_spc.c
drivers/target/target_core_transport.c
include/target/target_core_backend.h
This page took 0.102102 seconds and 4 git commands to generate.