Files
apfstests/254.out
T
Li Zefan b235a158b1 254: avoid output mismatch due to space cache
This reverts commit a0c92a5871 (disable
space cache), as option nospace_cache was newly introduced in linux-3.2,
so we'll fail to mount btrfs in older kernels.

As an alternative fix, we just list subvolme names, don't assume
what ID numbers those subvolumes will have.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
2011-12-08 17:11:38 +00:00

41 lines
695 B
Plaintext

QA output created by 254
Creating file foo in root dir
List root dir
foo
Creating snapshot of root dir
Create a snapshot of 'SCRATCH_MNT' in 'SCRATCH_MNT/snap'
List root dir after snapshot
foo
snap
List snapshot dir
foo
List root dir after rm of foo
snap
List snapshot dir
foo
Create subvolume 'SCRATCH_MNT/subvol'
Listing root dir
snap
subvol
Listing subvol
Creating file bar in subvol
Setting subvol to the default
List root dir which is now subvol
bar
Mounting sbuvolid=0 for the root dir
List root dir
snap
subvol
Setting the root dir as the default again
List root dir
snap
subvol
Listing subvolumes
snap
subvol
Delete subvolume 'SCRATCH_MNT/snap'
List root dir
subvol
List root dir
subvol