projects
/
platform
/
kernel
/
linux-3.10.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
|
history
diff --git
a/fs/btrfs/tree-defrag.c
b/fs/btrfs/tree-defrag.c
index
5935cbd
..
5c58630
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;