]> Pileus Git - ~andy/linux/commitdiff
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 5935cbd8f2b83c7646c17f2823d36746b3151be1..5c58630dce03e12800e2c3cf52575d65e8d8c96a 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;