diff options
author | Chris Mason <chris.mason@oracle.com> | 2008-03-24 15:02:07 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@oracle.com> | 2008-09-25 11:04:01 -0400 |
commit | 239b14b32dc39232ebf9cce29ff77c4c564355fd (patch) | |
tree | f7a95d97d71ef9d0f355a71a83e2ba1f62944e04 /fs/btrfs/ctree.h | |
parent | 0d81ba5dbedef0c3970d6aa318aa84920943e6e3 (diff) |
Btrfs: Bring back mount -o ssd optimizations
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 96a493217860..acf22ad6115c 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -1405,6 +1405,9 @@ int btrfs_csum_truncate(struct btrfs_trans_handle *trans, | |||
1405 | struct btrfs_root *root, struct btrfs_path *path, | 1405 | struct btrfs_root *root, struct btrfs_path *path, |
1406 | u64 isize); | 1406 | u64 isize); |
1407 | /* inode.c */ | 1407 | /* inode.c */ |
1408 | int btrfs_merge_bio_hook(struct page *page, unsigned long offset, | ||
1409 | size_t size, struct bio *bio); | ||
1410 | |||
1408 | static inline void dec_i_blocks(struct inode *inode, u64 dec) | 1411 | static inline void dec_i_blocks(struct inode *inode, u64 dec) |
1409 | { | 1412 | { |
1410 | dec = dec >> 9; | 1413 | dec = dec >> 9; |