From: shadow Date: Fri, 18 Apr 2008 07:16:30 +0000 (+0000) Subject: removing callback before disconnect import is open race with processing X-Git-Tag: v1_8_0_110~611 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=3f2c0194869c5c9d598deb92a312f9fbb2b34f22;p=fs%2Flustre-release.git removing callback before disconnect import is open race with processing callback. b=15210 i=green i=deen --- diff --git a/lustre/ChangeLog b/lustre/ChangeLog index 5cc30d3..fa2b8e9 100644 --- a/lustre/ChangeLog +++ b/lustre/ChangeLog @@ -18,6 +18,13 @@ tbd Sun Microsystems, Inc. * RHEL 4 and RHEL 5/SLES 10 clients behaves differently on 'cd' to a removed cwd "./" (refer to Bugzilla 14399). +Severity : minor +Bugzilla : 15210 +Frequency : rare, on shutdown +Description: race process ast vs remove callback +Details : removing callback before disconnect import open race with processing + callback. + Severity : normal Bugzilla : 12652 Description: Add FMODE_EXEC to SLES10 SP1 series. diff --git a/lustre/llite/llite_lib.c b/lustre/llite/llite_lib.c index 3d97ad7..d28a16e 100644 --- a/lustre/llite/llite_lib.c +++ b/lustre/llite/llite_lib.c @@ -634,10 +634,7 @@ void client_common_put_super(struct super_block *sb) list_del(&sbi->ll_conn_chain); - obd_unregister_page_removal_cb(sbi->ll_osc_exp, - ll_page_removal_cb); - obd_unregister_lock_cancel_cb(sbi->ll_osc_exp,ll_extent_lock_cancel_cb); - + /* callbacks is cleared after disconnect each target */ obd_disconnect(sbi->ll_osc_exp); sbi->ll_osc_exp = NULL;