]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
btrfs: test balance and resize with an active swap file
authorOmar Sandoval <osandov@fb.com>
Fri, 2 Nov 2018 21:29:42 +0000 (14:29 -0700)
committerEryu Guan <guaneryu@gmail.com>
Sun, 11 Nov 2018 14:36:15 +0000 (22:36 +0800)
commit96c40c9fc4e118f42c1ac35ff5f14c467e7734a7
treee0abd578099e58b74013f463967fea241bce149b
parent7f67220a2327ffacdb5df53517eb3cc2b42f3ebd
btrfs: test balance and resize with an active swap file

Make sure we don't shrink the device past an active swap file, but allow
shrinking otherwise, as well as growing and balance.

Signed-off-by: Omar Sandoval <osandov@fb.com>
Reviewed-by: David Sterba <dsterba@suse.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/177 [new file with mode: 0755]
tests/btrfs/177.out [new file with mode: 0644]
tests/btrfs/group