[PATCH 2/4 V2] xfs: byte range granularity for XFS_IOC_ZERO_RANGE

Christoph Hellwig hch at infradead.org
Fri Nov 30 10:07:33 CST 2012


On Thu, Nov 29, 2012 at 03:26:33PM +1100, Dave Chinner wrote:
> xfs: byte range granularity for XFS_IOC_ZERO_RANGE
> 
> From: Dave Chinner <dchinner at redhat.com>
> 
> XFS_IOC_ZERO_RANGE simply does not work properly for non page cache
> aligned ranges. Neither test 242 or 290 exercise this correctly, so
> the behaviour is completely busted even though the tests pass.
> 
> Fix it to support full byte range granularity as was originally
> intended for this ioctl.
> 
> Signed-off-by: Dave Chinner <dchinner at redhat.com>

Looks good,

Reviewed-by: Christoph Hellwig <hch at lst.de>



More information about the xfs mailing list