[lustre-devel] [PATCH 150/151] lustre: remove outdated comments about ->ap_* functions.
James Simmons
jsimmons at infradead.org
Mon Sep 30 11:56:49 PDT 2019
From: NeilBrown <neilb at suse.com>
->ap_make_ready, ->ap_completion, ap_refresh count all no longer
exist.
So remove these comments.
Signed-off-by: NeilBrown <neilb at suse.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
fs/lustre/include/obd.h | 9 +--------
1 file changed, 1 insertion(+), 8 deletions(-)
diff --git a/fs/lustre/include/obd.h b/fs/lustre/include/obd.h
index e94774b..6e779cf 100644
--- a/fs/lustre/include/obd.h
+++ b/fs/lustre/include/obd.h
@@ -224,14 +224,7 @@ struct client_obd {
*/
/*
* ->cl_loi_list_lock protects consistency of
- * ->cl_loi_{ready,read,write}_list. ->ap_make_ready() and
- * ->ap_completion() call-backs are executed under this lock. As we
- * cannot guarantee that these call-backs never block on all platforms
- * (as a matter of fact they do block on Mac OS X), type of
- * ->cl_loi_list_lock is platform dependent: it's a spin-lock on Linux
- * and blocking mutex on Mac OS X. (Alternative is to make this lock
- * blocking everywhere, but we don't want to slow down fast-path of
- * our main platform.)
+ * ->cl_loi_{ready,read,write}_list.
*
* NB by Jinshan: though field names are still _loi_, but actually
* osc_object{}s are in the list.
--
1.8.3.1
More information about the lustre-devel
mailing list