On 07/15/2015 09:55 AM, Sagi Grimberg wrote: > 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@xxxxxx> > Signed-off-by: Sagi Grimberg <sagig@xxxxxxxxxxxx> > --- > drivers/target/target_core_hba.c | 5 +++++ > drivers/target/target_core_spc.c | 12 +++++++++--- > drivers/target/target_core_transport.c | 3 ++- > include/target/target_core_backend.h | 2 ++ > 4 files changed, 18 insertions(+), 4 deletions(-) > We should eventually move to have the D_SENSE parameter changeable, But in the meantime: Reviewed-by: Hannes Reinecke <hare@xxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke zSeries & Storage hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html