diff options
author | Josef Bacik <jwhiter@redhat.com> | 2007-08-10 16:22:09 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-08-10 16:22:09 -0400 |
commit | 15ee9bc7ed171248d1405df5854da5fa91bfdc39 (patch) | |
tree | 5f29f51e1c14a6b35b2019a2ada5bb80fb97e2bd /fs/btrfs/btrfs_inode.h | |
parent | f2183bde1a918d338337955c8e8ba29bd8f5e7b1 (diff) |
Btrfs: delay commits during fsync to allow more writers
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/btrfs_inode.h')
-rw-r--r-- | fs/btrfs/btrfs_inode.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/btrfs/btrfs_inode.h b/fs/btrfs/btrfs_inode.h index 6bce46be49ff..f446f161f736 100644 --- a/fs/btrfs/btrfs_inode.h +++ b/fs/btrfs/btrfs_inode.h | |||
@@ -25,6 +25,11 @@ struct btrfs_inode { | |||
25 | struct btrfs_block_group_cache *block_group; | 25 | struct btrfs_block_group_cache *block_group; |
26 | struct btrfs_key location; | 26 | struct btrfs_key location; |
27 | struct inode vfs_inode; | 27 | struct inode vfs_inode; |
28 | |||
29 | /* | ||
30 | * transid of the trans_handle that last modified this inode | ||
31 | */ | ||
32 | u64 last_trans; | ||
28 | }; | 33 | }; |
29 | static inline struct btrfs_inode *BTRFS_I(struct inode *inode) | 34 | static inline struct btrfs_inode *BTRFS_I(struct inode *inode) |
30 | { | 35 | { |