diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-31 11:05:37 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | b0c68f8bed058d9f2023b067b16ed06a8c439544 (patch) | |
tree | 71c9024152a9f25f6b446c7e33bf25191cefff69 /fs/btrfs/disk-io.c | |
parent | 0181e58f91c1edbf835edb7a87d6dfe81374709d (diff) | |
download | lwn-b0c68f8bed058d9f2023b067b16ed06a8c439544.tar.gz lwn-b0c68f8bed058d9f2023b067b16ed06a8c439544.zip |
Btrfs: Enable delalloc accounting
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r-- | fs/btrfs/disk-io.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c index 6647b90ef745..ad72e2192015 100644 --- a/fs/btrfs/disk-io.c +++ b/fs/btrfs/disk-io.c @@ -861,6 +861,10 @@ int close_ctree(struct btrfs_root *root) write_ctree_super(NULL, root); mutex_unlock(&fs_info->fs_mutex); + if (fs_info->delalloc_bytes) { + printk("btrfs: at unmount delalloc count %Lu\n", + fs_info->delalloc_bytes); + } if (fs_info->extent_root->node) free_extent_buffer(fs_info->extent_root->node); |