[lustre-devel] [PATCH 09/25] lustre: uapi: remove MDS_SETATTR_PORTAL and service

James Simmons jsimmons at infradead.org
Mon Aug 2 12:50:29 PDT 2021


From: Andreas Dilger <adilger at whamcloud.com>

Remove the MDS_SETATTR_PORTAL and the service threads listening on
this portal since they are unused since Lustre 2.1 and are no longer
needed.

WC-bug-id: https://jira.whamcloud.com/browse/LU-13326
Lustre-commit: 7a2ef25f1f259c0a ("LU-13326 mds: remove MDS_SETATTR_PORTAL and service")
Signed-off-by: Andreas Dilger <adilger at whamcloud.com>
Reviewed-on: https://review.whamcloud.com/37798
Reviewed-by: James Simmons <jsimmons at infradead.org>
Reviewed-by: Lai Siyao <lai.siyao at whamcloud.com>
Reviewed-by: Oleg Drokin <green at whamcloud.com>
Signed-off-by: James Simmons <jsimmons at infradead.org>
---
 include/uapi/linux/lustre/lustre_idl.h | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/include/uapi/linux/lustre/lustre_idl.h b/include/uapi/linux/lustre/lustre_idl.h
index 2047b92..65948d8 100644
--- a/include/uapi/linux/lustre/lustre_idl.h
+++ b/include/uapi/linux/lustre/lustre_idl.h
@@ -93,15 +93,11 @@
 
 #define CONNMGR_REQUEST_PORTAL	1
 #define CONNMGR_REPLY_PORTAL	2
-/* #define OSC_REQUEST_PORTAL	3 */
 #define OSC_REPLY_PORTAL	4
-/* #define OSC_BULK_PORTAL	5 */
 #define OST_IO_PORTAL		6
 #define OST_CREATE_PORTAL	7
 #define OST_BULK_PORTAL		8
-/* #define MDC_REQUEST_PORTAL	9 */
 #define MDC_REPLY_PORTAL	10
-/* #define MDC_BULK_PORTAL	11 */
 #define MDS_REQUEST_PORTAL	12
 #define MDS_IO_PORTAL		13
 #define MDS_BULK_PORTAL		14
@@ -109,10 +105,7 @@
 #define LDLM_CB_REPLY_PORTAL	16
 #define LDLM_CANCEL_REQUEST_PORTAL 17
 #define LDLM_CANCEL_REPLY_PORTAL   18
-/* #define PTLBD_REQUEST_PORTAL	19 */
-/* #define PTLBD_REPLY_PORTAL	20 */
-/* #define PTLBD_BULK_PORTAL	21 */
-#define MDS_SETATTR_PORTAL	22
+/* #define MDS_SETATTR_PORTAL	22 obsolete after 2.13 */
 #define MDS_READPAGE_PORTAL	23
 #define OUT_PORTAL		24
 #define MGC_REPLY_PORTAL	25
-- 
1.8.3.1



More information about the lustre-devel mailing list