aboutsummaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2008-01-31 16:45:07 -0500
committerChris Mason <chris.mason@oracle.com>2008-09-25 11:04:00 -0400
commit4529ba495c6fd0d79247784d0df55ae6512fa883 (patch)
tree92e42dce09b7509894ee4e163f06006e19a46b3e /fs/btrfs/disk-io.c
parentb0c68f8bed058d9f2023b067b16ed06a8c439544 (diff)
Btrfs: Add data block hints to SSD mode too
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index ad72e219201..dda8ad6c007 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -688,6 +688,7 @@ struct btrfs_root *open_ctree(struct super_block *sb)
fs_info->closing = 0;
fs_info->total_pinned = 0;
fs_info->last_alloc = 0;
+ fs_info->last_data_alloc = 0;
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18)
INIT_WORK(&fs_info->trans_work, btrfs_transaction_cleaner, fs_info);