Whamcloud - gitweb
Send last_rcvd values around when talking to the MDS. The MDC gets the
authoradilger <adilger>
Sat, 27 Apr 2002 08:33:54 +0000 (08:33 +0000)
committeradilger <adilger>
Sat, 27 Apr 2002 08:33:54 +0000 (08:33 +0000)
commit3f27ea1763c54698afd8b48131e49ace69c8744c
treed869ad95342872f3d71ba1e29b1a573d2ae42aba
parentcc1ae4979ba77153864a39bb45509244dd183813
Send last_rcvd values around when talking to the MDS.  The MDC gets the
last_{rcvd,committed,xid} values on mdc_connect, but doesn't yet do
anything with this new data except print it to the debug logs.

A select number of MDS operations get last_{rcvd,committed} values sent
in the reply (mds_body) - create, getattr, open.  It is not totally
clear to me how to add in the mds_body to an RPC reply if it doesn't
already exist, so there is a little more work to do there.

At connect and reint time, client "UUIDs" are looked up and handled
appropriately for new and existing clients.  Currently, since the
RPCs don't actually contain any UUID values, all updates go to UUID "",
which is enough for testing, and should "just work" when UUIDs appear.
lustre/include/linux/lustre_mds.h
lustre/include/linux/obd.h
lustre/lib/mds_updates.c
lustre/llite/super.c
lustre/mdc/mdc_request.c
lustre/mds/handler.c
lustre/mds/mds_reint.c
lustre/ptlrpc/recovd.c
lustre/ptlrpc/service.c