Thread (7 messages) 7 messages, 2 authors, 2016-06-28

Re: [PATCH 2/3] block: require write_same and discard requests align to logical block size

From: Bart Van Assche <hidden>
Date: 2016-06-20 12:37:15
Also in: dm-devel, linux-api, linux-block, linux-fsdevel

On 06/17/2016 03:19 AM, 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.

Signed-off-by: Darrick J. Wong <redacted>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Bart Van Assche <redacted>

_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help