Re: [PATCH 2/3] block: require write_same and discard requests align to logical block size
From: Christoph Hellwig <hch@infradead.org>
Date: 2016-03-15 07:35:45
Also in:
linux-fsdevel, lkml
From: Christoph Hellwig <hch@infradead.org>
Date: 2016-03-15 07:35:45
Also in:
linux-fsdevel, lkml
On Fri, Mar 04, 2016 at 04:56:10PM -0800, Darrick J. Wong wrote:
Make sure that the offset and length arguments that we're using to construct WRITE SAME and DISCARD requests are actually aligned to the logical block size. Failure to do this causes other errors in other parts of the block layer or the SCSI layer because disks don't support partial logical block writes.
Looks fine, Reviewed-by: Christoph Hellwig <hch@lst.de>