xfs: quotas and idmapped mounts
authorChristian Brauner <christian.brauner@ubuntu.com>
Mon, 12 Apr 2021 11:57:07 +0000 (13:57 +0200)
committerEryu Guan <guaneryu@gmail.com>
Sun, 18 Apr 2021 12:53:53 +0000 (20:53 +0800)
commit8a0c1200c1b329f6a0d7e133d293ab811b780d2b
treeb8935bf4b722f26cd4393471ca5c28f4ebd50de3
parent56908a2eb566c5d674459d2c7159024dc76af483
xfs: quotas and idmapped mounts

Test that xfs quota behave correctly on idmapped mounts.
Mount a scratch device with user and group quota support enabled. Create
directories "unmapped" and "idmapped". Create files in the unampped
mount and verify quota behavior. Create files through the idmapped mount
and verify identical behavior.

Cc: Eryu Guan <guan@eryu.me>
Cc: Darrick J. Wong <djwong@kernel.org>
Cc: fstests@vger.kernel.org
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/xfs/152 [new file with mode: 0755]
tests/xfs/152.out [new file with mode: 0644]
tests/xfs/group