aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/transaction.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-18 10:54:22 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:03:59 -0400
commite18e4809b10e6c9efb5fe10c1ddcb4ebb690d517 (patch)
treec8419f7fde6690cd352252af89295511650e3707 /fs/btrfs/transaction.c
parent04005cc7a1feef94237204566ccac38571af7991 (diff)
Btrfs: Add mount -o ssd, which includes optimizations for seek free storage
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/transaction.c')
-rw-r--r--fs/btrfs/transaction.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/transaction.c b/fs/btrfs/transaction.c
index b6bbfc179c29..163c01a24498 100644
--- a/fs/btrfs/transaction.c
+++ b/fs/btrfs/transaction.c
@@ -57,6 +57,7 @@ static int join_transaction(struct btrfs_root *root)
57 BUG_ON(!cur_trans); 57 BUG_ON(!cur_trans);
58 root->fs_info->generation++; 58 root->fs_info->generation++;
59 root->fs_info->running_transaction = cur_trans; 59 root->fs_info->running_transaction = cur_trans;
60 root->fs_info->last_alloc = 0;
60 cur_trans->num_writers = 1; 61 cur_trans->num_writers = 1;
61 cur_trans->num_joined = 0; 62 cur_trans->num_joined = 0;
62 cur_trans->transid = root->fs_info->generation; 63 cur_trans->transid = root->fs_info->generation;