On Thu, Nov 05, 2020 at 06:07:05PM -0800, Darrick J. Wong wrote:
On Thu, Nov 05, 2020 at 08:28:50PM +0000, Andy Strohman wrote:
837a6e7f5cdb ("fs: add generic UNRESVSP and ZERO_RANGE ioctl handlers") changed ioctls XFS_IOC_UNRESVSP XFS_IOC_UNRESVSP64 and XFS_IOC_ZERO_RANGE to be generic instead of xfs specific.
Because of this change, 36f11775da75 ("xfs: properly serialise fallocate against AIO+DIO") needed adaptation, as 5.4 still uses the xfs specific ioctls.
Without this, xfstests xfs/242 and xfs/290 fail. Both of these tests test XFS_IOC_ZERO_RANGE.
Fixes: 36f11775da75 ("xfs: properly serialise fallocate against AIO+DIO")
Tested-by: Andy Strohman astroh@amazon.com Signed-off-by: Darrick J. Wong darrick.wong@oracle.com
Yeah, looks good to me,
Reviewed-by: Darrick J. Wong darrick.wong@oracle.com
Now queued up, thanks.
greg k-h