]> www.infradead.org Git - users/hch/xfstests-dev.git/commit
generic/709,710: rework these for exchangerange vs. quota testing
authorDarrick J. Wong <djwong@kernel.org>
Thu, 20 Jun 2024 20:54:50 +0000 (13:54 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 21 Jun 2024 16:38:24 +0000 (00:38 +0800)
commit2a539c72f7be686efa65380eef7873c83135ff1f
tree0b41b5df82a30171492d4f62bdb40fd94d9cba9f
parent5cb01028c5d1fb80b5c1878e8e4baa78a8bfb9f9
generic/709,710: rework these for exchangerange vs. quota testing

The exchange-range implementation is now completely separate from the
old swapext ioctl, so let's migrate these quota tests to exchangerange.

There's no point in maintaining these tests for the legacy swapext code
because it returns EINVAL if any quota is enabled and the two files have
different user/group/project ids.  Originally I had forward ported the
old swapext ioctl to use commitrange as its backend, but that will be
dropped in favor of porting xfs_fsr to use commitrange directly.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Zorro Lang <zlang@kernel.org>
tests/generic/709
tests/generic/710
tests/generic/710.out