Commit dc037ad7 authored by Dave Chinner's avatar Dave Chinner Committed by Ben Myers
Browse files

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: default avatarDave Chinner <dchinner@redhat.com>
Reviewed-by: default avatarMark Tinguely <tinguely@sgi.com>
Reviewed-by: default avatarChandra Seetharaman <sekharan@us.ibm.com>
Signed-off-by: default avatarBen Myers <bpm@sgi.com>
parent ddf6ad01
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment