diff options
author | Dave Chinner <dchinner@redhat.com> | 2013-06-27 16:04:59 +1000 |
---|---|---|
committer | Ben Myers <bpm@sgi.com> | 2013-06-28 13:00:05 -0500 |
commit | dc037ad7d24f3711e431a45c053b5d425995e9e4 (patch) | |
tree | 5a611ba5c6644992d3465d7f1b18267a9f5b43bf /fs/xfs/xfs_linux.h | |
parent | ddf6ad01434e72bfc8423e1619abdaa0af9394a8 (diff) | |
download | blackbird-op-linux-dc037ad7d24f3711e431a45c053b5d425995e9e4.tar.gz blackbird-op-linux-dc037ad7d24f3711e431a45c053b5d425995e9e4.zip |
xfs: implement inode change count
For CRC enabled filesystems, add support for the monotonic inode
version change counter that is needed by protocols like NFSv4 for
determining if the inode has changed in any way at all between two
unrelated operations on the inode.
This bumps the change count the first time an inode is dirtied in a
transaction. Since all modifications to the inode are logged, this
will catch all changes that are made to the inode, including
timestamp updates that occur during data writes.
Signed-off-by: Dave Chinner <dchinner@redhat.com>
Reviewed-by: Mark Tinguely <tinguely@sgi.com>
Reviewed-by: Chandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: Ben Myers <bpm@sgi.com>
Diffstat (limited to 'fs/xfs/xfs_linux.h')
0 files changed, 0 insertions, 0 deletions