From 70cb1ce4f6dfdd935d0cd5ccddee9feebe22886f Mon Sep 17 00:00:00 2001 From: shadow <shadow> Date: Fri, 9 May 2008 10:19:15 +0000 Subject: [PATCH] don't hit live lock with umount ost. b=14645 i=johan i=alex --- lustre/ChangeLog | 7 +++++++ lustre/obdfilter/filter.c | 3 +-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/lustre/ChangeLog b/lustre/ChangeLog index b45b51cfb0..5051a49ebe 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -25,6 +25,13 @@ tbd Sun Microsystems, Inc. 'tunefs.lustre --param="mdt.quota_type=ug1" $MDTDEV'. For more information, please refer to bugzilla 13904. +Severity : minor +Bugzilla : 14645 +Frequency : rare, on shutdown ost +Description: don't hit live lock with umount ost. +Description: shrink_dcache_parent can be in long loop with destroy dentries, + use shrink_dcache_sb instead. + Severity : minor Bugzilla : 14949 Description: don't panic with use echo client diff --git a/lustre/obdfilter/filter.c b/lustre/obdfilter/filter.c index 0590bf49dd..8bd25cd5a9 100644 --- a/lustre/obdfilter/filter.c +++ b/lustre/obdfilter/filter.c @@ -2023,9 +2023,8 @@ static int filter_cleanup(struct obd_device *obd) filter_post(obd); - shrink_dcache_parent(obd->u.obt.obt_sb->s_root); - LL_DQUOT_OFF(obd->u.obt.obt_sb); + shrink_dcache_sb(obd->u.obt.obt_sb); server_put_mount(obd->obd_name, filter->fo_vfsmnt); obd->u.obt.obt_sb = NULL; -- GitLab