diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-01-31 16:45:07 -0500 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:00 -0400 |
commit | 4529ba495c6fd0d79247784d0df55ae6512fa883 (patch) | |
tree | 92e42dce09b7509894ee4e163f06006e19a46b3e /fs/btrfs/disk-io.c | |
parent | b0c68f8bed058d9f2023b067b16ed06a8c439544 (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.c | 1 |
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) | |||
688 | fs_info->closing = 0; | 688 | fs_info->closing = 0; |
689 | fs_info->total_pinned = 0; | 689 | fs_info->total_pinned = 0; |
690 | fs_info->last_alloc = 0; | 690 | fs_info->last_alloc = 0; |
691 | fs_info->last_data_alloc = 0; | ||
691 | 692 | ||
692 | #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18) | 693 | #if LINUX_VERSION_CODE <= KERNEL_VERSION(2,6,18) |
693 | INIT_WORK(&fs_info->trans_work, btrfs_transaction_cleaner, fs_info); | 694 | INIT_WORK(&fs_info->trans_work, btrfs_transaction_cleaner, fs_info); |