summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/btrfs_inode.h
diff options
context:
space:
mode:
authorJosef Bacik2007-08-10 22:22:09 +0200
committerDavid Woodhouse2007-08-10 22:22:09 +0200
commit15ee9bc7ed171248d1405df5854da5fa91bfdc39 (patch)
tree5f29f51e1c14a6b35b2019a2ada5bb80fb97e2bd /fs/btrfs/btrfs_inode.h
parentBtrfs: Add BH_Defrag to mark buffers that are in need of defragging (diff)
downloadkernel-qcow2-linux-15ee9bc7ed171248d1405df5854da5fa91bfdc39.tar.gz
kernel-qcow2-linux-15ee9bc7ed171248d1405df5854da5fa91bfdc39.tar.xz
kernel-qcow2-linux-15ee9bc7ed171248d1405df5854da5fa91bfdc39.zip
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.h5
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 {
struct btrfs_block_group_cache *block_group;
struct btrfs_key location;
struct inode vfs_inode;
+
+ /*
+ * transid of the trans_handle that last modified this inode
+ */
+ u64 last_trans;
};
static inline struct btrfs_inode *BTRFS_I(struct inode *inode)
{