]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: use the normal checksumming infrastructure for free space cache
authorJosef Bacik <josef@redhat.com>
Fri, 10 Jun 2011 19:31:13 +0000 (15:31 -0400)
committerJosef Bacik <josef@redhat.com>
Mon, 11 Jul 2011 13:58:49 +0000 (09:58 -0400)
commit2f4dc5c294dfa231edad7b9355ec2dd89cac8305
tree8674f29e4c8ccc2d536472f5fef5755b252093a3
parentc01b99a9a0f8afdf683c90ff9f3e4d637267ac60
Btrfs: use the normal checksumming infrastructure for free space cache

We used to store the checksums of the space cache directly in the space cache,
however that doesn't work out too well if we have more space than we can fit the
checksums into the first page.  So instead use the normal checksumming
infrastructure.  There were problems with doing this originally but those
problems don't exist now so this works out fine.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>
fs/btrfs/free-space-cache.c