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

Christoph Hellwig
2012-11-30T16:05:15Z

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@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@redhat.com>

Looks good,

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