]> git.proxmox.com Git - mirror_ubuntu-focal-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)
commit2f356126c589d562f98e2287f9c7b983388dc62f
tree8674f29e4c8ccc2d536472f5fef5755b252093a3
parentfdb5effd5c2a7e01dc3a4217bb194e2d3a5b160f
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