Whamcloud - gitweb
Branch: b1_4
authoradilger <adilger>
Tue, 1 Mar 2005 09:17:46 +0000 (09:17 +0000)
committeradilger <adilger>
Tue, 1 Mar 2005 09:17:46 +0000 (09:17 +0000)
commitb2037ee133dff12f63d7562ecc58f60ffe264b53
treed7b7a5990c5584f038e4f616155730fb2f021245
parent91bcd0387a7e6033611e2b059e2991c75bd8f438
Branch: b1_4
Move the MDC EA/cookie max size initialization later in the mount process,
until we have established our permanent connections.  This avoids needless
a bunch of client->OST connect+disconnect RPCs, and also fixes a bug where
the client didn't get the reply for the first disconnect, and then hit a
sanity check (target handle mismatch) on the server.

This will tie in directly to the bug 5707 fix, as that will additionally
store a "default" EA size to avoid allocating and sending a very large
(and otherwise useless) request buffer, just to have a place to store
the LOV EA for a MDS open replay.    Includes regression test.
b=5317
r=nathan (with minor fix to avoid the storage of lovdesc at all)
lustre/ChangeLog
lustre/include/linux/lustre_mds.h
lustre/ldlm/ldlm_lib.c
lustre/liblustre/super.c
lustre/llite/dcache.c
lustre/llite/llite_lib.c
lustre/mdc/mdc_request.c
lustre/tests/replay-ost-single.sh