diff options
author | Chris Mason <chris.mason@oracle.com> | 2011-02-16 13:10:41 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2011-02-16 15:28:36 -0500 |
commit | 91435650c233b93e0da389db74f4b2c11c5ad2d4 (patch) | |
tree | c4f8fef1348a0ac188dca47020d86b206ed5d41f /fs/btrfs/extent-tree.c | |
parent | c26a920373a983b52223eed5a13b97404d8b4158 (diff) | |
download | kernel_samsung_smdk4412-91435650c233b93e0da389db74f4b2c11c5ad2d4.zip kernel_samsung_smdk4412-91435650c233b93e0da389db74f4b2c11c5ad2d4.tar.gz kernel_samsung_smdk4412-91435650c233b93e0da389db74f4b2c11c5ad2d4.tar.bz2 |
Btrfs: put ENOSPC debugging under a mount option
ENOSPC in btrfs is getting to the point where the extra debugging isn't
required. I've put it under mount -o enospc_debug just in case someone
is having difficult problems.
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/extent-tree.c')
-rw-r--r-- | fs/btrfs/extent-tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/extent-tree.c b/fs/btrfs/extent-tree.c index a7aaa10..d375fc0 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c @@ -5377,7 +5377,7 @@ again: num_bytes, data, 1); goto again; } - if (ret == -ENOSPC) { + if (ret == -ENOSPC && btrfs_test_opt(root, ENOSPC_DEBUG)) { struct btrfs_space_info *sinfo; sinfo = __find_space_info(root->fs_info, data); |