From 8525c266f00431157d9226777a41220710e84224 Mon Sep 17 00:00:00 2001 From: adilger <adilger> Date: Fri, 16 Feb 2007 10:37:35 +0000 Subject: [PATCH] Branch HEAD Avoid synchronous disconnects for liblustre clients, already in Cray upstream. b=10803 r=green --- lustre/obdfilter/filter.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 6501b60fff..537060caf6 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -338,7 +338,8 @@ static int filter_client_free(struct obd_export *exp) if (rc == 0) /* update server's transno */ filter_update_server_data(obd, filter->fo_rcvd_filp, - filter->fo_fsd, 1); + filter->fo_fsd, + !exp->exp_libclient); pop_ctxt(&saved, &obd->obd_lvfs_ctxt, NULL); CDEBUG(rc == 0 ? D_INFO : D_ERROR, -- GitLab