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

Andrew Dahl adahl at sgi.com
Thu Nov 29 12:19:14 CST 2012


On 11/28/2012 10:26 PM, 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: Andrew Dahl <adahl at sgi.com>



More information about the xfs mailing list