]> 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)
commit67dba1c7f7f8142dbf047f37cef35c56837253f1
tree8674f29e4c8ccc2d536472f5fef5755b252093a3
parent79a15c249d0de2cff0f87eb989496ec914b3576d
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