Whamcloud - gitweb
We already set last_committed and last_xid for all packets, no need to do
authoradilger <adilger>
Wed, 28 Aug 2002 23:50:06 +0000 (23:50 +0000)
committeradilger <adilger>
Wed, 28 Aug 2002 23:50:06 +0000 (23:50 +0000)
commit4ab00c6d36ea288cba1ae4bc19c8499e6f28879e
tree3a5d8f6efd7d357792bbc2cd063a4e7af4fc6a22
parent80be91785fb166179784a5ee41b61d7b2d6838ed
We already set last_committed and last_xid for all packets, no need to do
this for getstatus explicitly.

Store an xid in last_xid and not last_rcvd for reply packets.  Mike please
verify this.  I think it will help resolve strangeness I have observed in
the cleanup of expired requests on the clients, but that still needs some
investigation.

Add a spinlock to protect 64-bit increment of mds_last_rcvd, and also
make sure we only use each transaction value a single time.  This
would probably be a very rare issue for recovery, but may as well get
it now.
lustre/include/linux/lustre_mds.h
lustre/include/linux/obd.h
lustre/mds/handler.c
lustre/mds/mds_extN.c
lustre/mds/mds_reint.c