projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Btrfs: Add data block hints to SSD mode too
[linux-2.6-block.git]
/
fs
/
btrfs
/
disk-io.c
diff --git
a/fs/btrfs/disk-io.c
b/fs/btrfs/disk-io.c
index ad72e2192015dd5003897f1c7a6bed706300f6d4..dda8ad6c0077899e7f41d76c0f3c0df5cbe10256 100644
(file)
--- 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);