summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tree-defrag.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-29 22:06:37 +0100
committerChris Mason <chris.mason@oracle.com>2008-09-25 17:04:00 +0200
commitb3236e68bf86b3ae87f58984a1822369225211cb (patch)
treea8e1c6caa5abad5b70f81b63bcb165b8f6e9a4ee /fs/btrfs/tree-defrag.c
parentBtrfs: mount -o max_inline=size to control the maximum inline extent size (diff)
downloadlinux-b3236e68bf86b3ae87f58984a1822369225211cb.tar.xz
linux-b3236e68bf86b3ae87f58984a1822369225211cb.zip
Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/tree-defrag.c')
-rw-r--r--fs/btrfs/tree-defrag.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c
index 5935cbd8f2b8..5c58630dce03 100644
--- a/fs/btrfs/tree-defrag.c
+++ b/fs/btrfs/tree-defrag.c
@@ -179,9 +179,6 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
if (root->ref_cows == 0 && !is_extent)
goto out;
- if (btrfs_test_opt(root, SSD))
- goto out;
-
path = btrfs_alloc_path();
if (!path)
return -ENOMEM;