Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
6f568d35a0
commit
b3236e68bf
1 changed files with 0 additions and 3 deletions
|
@ -179,9 +179,6 @@ int btrfs_defrag_leaves(struct btrfs_trans_handle *trans,
|
||||||
if (root->ref_cows == 0 && !is_extent)
|
if (root->ref_cows == 0 && !is_extent)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
if (btrfs_test_opt(root, SSD))
|
|
||||||
goto out;
|
|
||||||
|
|
||||||
path = btrfs_alloc_path();
|
path = btrfs_alloc_path();
|
||||||
if (!path)
|
if (!path)
|
||||||
return -ENOMEM;
|
return -ENOMEM;
|
||||||
|
|
Loading…
Add table
Reference in a new issue