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) |
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 a7aaa10c5302..d375fc04a065 100644 --- a/fs/btrfs/extent-tree.c +++ b/fs/btrfs/extent-tree.c | |||
@@ -5377,7 +5377,7 @@ again: | |||
5377 | num_bytes, data, 1); | 5377 | num_bytes, data, 1); |
5378 | goto again; | 5378 | goto again; |
5379 | } | 5379 | } |
5380 | if (ret == -ENOSPC) { | 5380 | if (ret == -ENOSPC && btrfs_test_opt(root, ENOSPC_DEBUG)) { |
5381 | struct btrfs_space_info *sinfo; | 5381 | struct btrfs_space_info *sinfo; |
5382 | 5382 | ||
5383 | sinfo = __find_space_info(root->fs_info, data); | 5383 | sinfo = __find_space_info(root->fs_info, data); |