projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6f568d3
)
Btrfs: Leave on the tree defragger in mount -o ssd, it still helps there
author
Chris Mason
<chris.mason@oracle.com>
Tue, 29 Jan 2008 21:06:37 +0000
(16:06 -0500)
committer
Chris 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
patch
|
blob
|
blame
|
history
diff --git
a/fs/btrfs/tree-defrag.c
b/fs/btrfs/tree-defrag.c
index 5935cbd8f2b83c7646c17f2823d36746b3151be1..5c58630dce03e12800e2c3cf52575d65e8d8c96a 100644
(file)
--- 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;