]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
254: disable space cache
authorLi Zefan <lizf@cn.fujitsu.com>
Fri, 18 Nov 2011 08:43:47 +0000 (16:43 +0800)
committerChristoph Hellwig <hch@lst.de>
Sun, 20 Nov 2011 19:44:31 +0000 (19:44 +0000)
commita0c92a5871082c0aa6a7caae496e67a6e57bb0b6
treedee2da6f4aa6b4bb192bc12512ec74312b76f2cc
parent9a02d1a1b4bda96e60013968d0596535010e8a0d
254: disable space cache

I can't pass 254, and below is the output:

254 3s ... - output mismatch (see 254.out.bad)
...
 ID 256 top level 5 path snap
-ID 257 top level 5 path subvol
+ID 258 top level 5 path subvol

When space cache is enabled (and now mkfs.btrfs always enables it),
there will be some space cache inodes in the root tree, and they
consume some IDs, and that's why "subvol" has the ID 258 but not 257.

Just disable space cache for this test case.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
254