commit | c09544e07f8cdc455ed8615d4c067d694c33bd18 | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Tue Aug 30 10:19:10 2011 -0400 |
committer | Josef Bacik <josef@redhat.com> | Wed Oct 19 15:12:42 2011 -0400 |
tree | c9943e56457ac64e2223396841e043e4514462e0 | |
parent | 300e4f8a56f263797568c95b71c949f9f02e4534 [diff] |
Btrfs: handle enospc accounting for free space inodes Since free space inodes now use normal checksumming we need to make sure to account for their metadata use. So reserve metadata space, and then if we fail to write out the metadata we can just release it, otherwise it will be freed up when the io completes. Thanks, Signed-off-by: Josef Bacik <josef@redhat.com>