mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
Btrfs: Add data block hints to SSD mode too
Signed-off-by: Chris Mason <chris.mason@oracle.com>
This commit is contained in:
parent
b0c68f8bed
commit
4529ba495c
4 changed files with 19 additions and 12 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue