Whamcloud - gitweb
removing callback before disconnect import is open race with processing
authorshadow <shadow>
Fri, 18 Apr 2008 07:16:30 +0000 (07:16 +0000)
committershadow <shadow>
Fri, 18 Apr 2008 07:16:30 +0000 (07:16 +0000)
callback.
b=15210
i=green
i=deen

lustre/ChangeLog
lustre/llite/llite_lib.c

index 5cc30d3..fa2b8e9 100644 (file)
@@ -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.
index 3d97ad7..d28a16e 100644 (file)
@@ -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;