Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there
authorChris Mason <chris.mason@oracle.com>
Tue, 29 Jan 2008 21:06:37 +0000 (16:06 -0500)
committerChris Mason <chris.mason@oracle.com>
Thu, 25 Sep 2008 15:04:00 +0000 (11:04 -0400)
Signed-off-by: Chris Mason <chris.mason@oracle.com>
fs/btrfs/tree-defrag.c

index 5935cbd..5c58630 100644 (file)
@@ -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;