Re: Incorrect LBA Returned from scsi_get_lba() and blk_rq_pos() (Possible DIF Impact)

2013-08-14 Thread Martin K. Petersen
> "Kamaljit" == Kamaljit Singh writes: Kamaljit> Did you get a chance to merge your changes into mainline? I'm Kamaljit> using 3.10.4 and am still seeing this issue. Thanks for the reminder. No, I'm still sitting on some PI patches that need to be merged. Will fix! -- Martin K. Petersen

RE: Incorrect LBA Returned from scsi_get_lba() and blk_rq_pos() (Possible DIF Impact)

2013-08-13 Thread Kamaljit Singh
esday, February 12, 2013 10:09 AM To: Sami Waheed Cc: linux-scsi@vger.kernel.org Subject: Re: Incorrect LBA Returned from scsi_get_lba() and blk_rq_pos() (Possible DIF Impact) >>>>> "Sami" == Sami Waheed writes: Sami> I am testing a SCSI/SAS target with a block

Re: Incorrect LBA Returned from scsi_get_lba() and blk_rq_pos() (Possible DIF Impact)

2013-02-12 Thread Martin K. Petersen
> "Sami" == Sami Waheed writes: Sami> I am testing a SCSI/SAS target with a block size of 4K. I noticed Sami> that scsi_get_lba which calls blk_rq_pos is returning an incorrect Sami> LBA. The returned LBA value is 8x the actual LBA specified in the Sami> CDB: The block layer always uses 51

Incorrect LBA Returned from scsi_get_lba() and blk_rq_pos() (Possible DIF Impact)

2013-02-12 Thread Sami Waheed
Hello, I am testing a SCSI/SAS target with a block size of 4K.I noticed that scsi_get_lba which calls blk_rq_pos is returning an incorrect LBA. The returned LBA value is 8x the actual LBA specified in the CDB: The following "end_request:" message is printed from blk-core.c: [ 812.451579] sd