]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test cycle mounting a filesystem right after enabling simple quotas v2025.01.12
authorFilipe Manana <fdmanana@suse.com>
Tue, 7 Jan 2025 16:02:11 +0000 (16:02 +0000)
committerZorro Lang <zlang@kernel.org>
Sun, 12 Jan 2025 04:20:18 +0000 (12:20 +0800)
commitdec8cfb46ba0f19d29d13412841f68ebf119a452
treee4c62f88d2418b28b7e4269a2854341008feb034
parent7c7235962617cf74197246e81755656286c2f6db
btrfs: test cycle mounting a filesystem right after enabling simple quotas

Test that if we enable simple quotas on a filesystem and unmount it right
after without doing any other changes to the filesystem, we are able to
mount again the filesystem.

This is a regression test for the following kernel commit:

  f2363e6fcc79 ("btrfs: fix transaction atomicity bug when enabling simple quotas")

Signed-off-by: Filipe Manana <fdmanana@suse.com>
Reviewed-by: Qu Wenruo <wqu@suse.com>
Reviewed-by: Anand Jain <anand.jain@oracle.com>
Signed-off-by: Anand Jain <anand.jain@oracle.com>
tests/btrfs/328 [new file with mode: 0755]
tests/btrfs/328.out [new file with mode: 0644]