Re: [PATCH] sd: dif sector calculation

2013-09-20 Thread Keith Busch
On Fri, 20 Sep 2013, Martin K. Petersen wrote: "Keith" == Keith Busch writes: Keith> The ref tag should be the device's physical LBA rather than the Keith> 512 byte bio sector. The bip sector is just a seed value set by the application. It is not correct to scale it based on sector size or P

Re: [PATCH] sd: dif sector calculation

2013-09-20 Thread Martin K. Petersen
> "Keith" == Keith Busch writes: Keith> The ref tag should be the device's physical LBA rather than the Keith> 512 byte bio sector. The bip sector is just a seed value set by the application. It is not correct to scale it based on sector size or PI interval. -- Martin K. Petersen Orac

[PATCH] sd: dif sector calculation

2013-09-17 Thread Keith Busch
The ref tag should be the device's physical LBA rather than the 512 byte bio sector. Signed-off-by: Keith Busch Cc: Martin K. Petersen Cc: James E.J. Bottomley Cc: Ric Wheeler --- I CC'ed James and Ric as I think you guys expressed some interest in seeing if this was a legit concern. :) The p