diff options
author | Sagi Grimberg <sagig@mellanox.com> | 2015-07-16 10:28:05 +0300 |
---|---|---|
committer | Nicholas Bellinger <nab@linux-iscsi.org> | 2015-07-23 22:54:21 -0700 |
commit | 4e4937e8aefde8d49340e803ebbedcdf4b43e5f0 (patch) | |
tree | ea9153817ac32402c68db2eb7b9b48d4a5cbcd6a /drivers/gpu | |
parent | f5a8b3a796db01b639435515b3adc003b9f27387 (diff) | |
download | linux-4e4937e8aefde8d49340e803ebbedcdf4b43e5f0.tar.gz linux-4e4937e8aefde8d49340e803ebbedcdf4b43e5f0.tar.bz2 linux-4e4937e8aefde8d49340e803ebbedcdf4b43e5f0.zip |
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 <hch@lst.de>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/gpu')
0 files changed, 0 insertions, 0 deletions