From: wangdi Date: Tue, 19 Jul 2005 12:56:14 +0000 (+0000) Subject: Branch: HEAD X-Git-Tag: 1.4.10~862 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=a3239aaba56f0474e228a02d2532823e96b78322;p=fs%2Flustre-release.git Branch: HEAD should reset mcd_last_close_xid to 0 when reconnect. b:6102 r:alex --- diff --git a/lustre/mds/handler.c b/lustre/mds/handler.c index 28ec1ab..969ad6d 100644 --- a/lustre/mds/handler.c +++ b/lustre/mds/handler.c @@ -606,6 +606,7 @@ static int mds_connect_post(struct obd_export *exp, unsigned initial, CDEBUG(D_HA, "initial reconnect to existing export\n"); mcd->mcd_last_transno = 0; mcd->mcd_last_xid = 0; + mcd->mcd_last_close_xid = 0; mcd->mcd_last_result = 0; mcd->mcd_last_data = 0; }