X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=fs%2Fjfs%2Fjfs_incore.h;h=ac608c9ff5307a694b800c9415f210540bf3654b;hb=da7238bfbc1c5267bb3c9a79e03b6c296839a07e;hp=1a6ec59da9352d525cfc1e1f0e909f3579d43b75;hpb=86090fcac5e27b630656fe3d963a6b80e26dac44;p=linux-2.6.git diff --git a/fs/jfs/jfs_incore.h b/fs/jfs/jfs_incore.h index 1a6ec59da..ac608c9ff 100644 --- a/fs/jfs/jfs_incore.h +++ b/fs/jfs/jfs_incore.h @@ -152,6 +152,11 @@ struct jfs_sb_info { pxd_t ait2; /* pxd describing AIT copy */ char uuid[16]; /* 128-bit uuid for volume */ char loguuid[16]; /* 128-bit uuid for log */ + /* + * commit_state is used for synchronization of the jfs_commit + * threads. It is protected by LAZY_LOCK(). + */ + int commit_state; /* commit state */ /* Formerly in ipimap */ uint gengen; /* inode generation generator*/ uint inostamp; /* shows inode belongs to fileset*/ @@ -164,6 +169,9 @@ struct jfs_sb_info { uint p_state; /* state prior to going no integrity */ }; +/* jfs_sb_info commit_state */ +#define IN_LAZYCOMMIT 1 + static inline struct jfs_inode_info *JFS_IP(struct inode *inode) { return list_entry(inode, struct jfs_inode_info, vfs_inode);