commit | e18e4809b10e6c9efb5fe10c1ddcb4ebb690d517 | [log] [tgz] |
---|---|---|
author | Chris Mason <chris.mason@oracle.com> | Fri Jan 18 10:54:22 2008 -0500 |
committer | Chris Mason <chris.mason@oracle.com> | Thu Sep 25 11:03:59 2008 -0400 |
tree | c8419f7fde6690cd352252af89295511650e3707 | |
parent | 04005cc7a1feef94237204566ccac38571af7991 [diff] [blame] |
Btrfs: Add mount -o ssd, which includes optimizations for seek free storage Signed-off-by: Chris Mason <chris.mason@oracle.com>
diff --git a/fs/btrfs/tree-defrag.c b/fs/btrfs/tree-defrag.c index 5c58630..5935cbd 100644 --- a/fs/btrfs/tree-defrag.c +++ b/fs/btrfs/tree-defrag.c
@@ -179,6 +179,9 @@ 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;