[Devel] [PATCH RHEL9 COMMIT] fs/fuse kio: remove unused fields in struct pcs_int_request

Konstantin Khorenko khorenko at virtuozzo.com
Wed Nov 12 20:51:32 MSK 2025


The commit is pushed to "branch-rh9-5.14.0-427.92.1.vz9.88.x-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh9-5.14.0-427.92.1.vz9.88.7
------>
commit 5b9de17d384a14e1c1f010feae56c4b47d4ebe3b
Author: Liu Kui <kui.liu at virtuozzo.com>
Date:   Tue Nov 11 10:02:40 2025 +0800

    fs/fuse kio: remove unused fields in struct pcs_int_request
    
    https://virtuozzo.atlassian.net/browse/VSTOR-117505
    
    Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>
    Acked-by: Alexey Kuznetsov <kuznet at virtuozzo.com>
    
    Feature: vStorage
---
 fs/fuse/kio/pcs/pcs_client_types.h |  7 -------
 fs/fuse/kio/pcs/pcs_req.h          | 36 ------------------------------------
 2 files changed, 43 deletions(-)

diff --git a/fs/fuse/kio/pcs/pcs_client_types.h b/fs/fuse/kio/pcs/pcs_client_types.h
index 0b06a0e20898c..0b5f8587441d5 100644
--- a/fs/fuse/kio/pcs/pcs_client_types.h
+++ b/fs/fuse/kio/pcs/pcs_client_types.h
@@ -166,13 +166,6 @@ typedef struct _pcs_api_iorequest_t {
 	void		(*complete)(struct _pcs_api_iorequest_t *);
 } pcs_api_iorequest_t;
 
-typedef struct _pcs_api_csconnreq_t {
-	PCS_NODE_ID_T   id;    /* CS id */
-	PCS_NET_ADDR_T  addr;  /* CS addr */
-	int             error; /* pcs_errors.h */
-	void		(*complete)(struct _pcs_api_csconnreq_t *, int);
-} pcs_api_csconnreq_t;
-
 /*
  * Useful macro
  */
diff --git a/fs/fuse/kio/pcs/pcs_req.h b/fs/fuse/kio/pcs/pcs_req.h
index 61d357598343a..a2d8a68f40635 100644
--- a/fs/fuse/kio/pcs/pcs_req.h
+++ b/fs/fuse/kio/pcs/pcs_req.h
@@ -203,42 +203,6 @@ struct pcs_int_request
 			int			cs_index;
 		} token;
 
-		struct {
-			u64			offset;
-			int			phase;
-			PCS_MAP_VERSION_T	version;
-			struct list_head	waiters;
-		} truncreq;
-
-		struct {
-			unsigned int		flags;
-			unsigned int		tout;
-			int			retries;
-		} leasereq;
-
-		struct {
-			unsigned int		op;
-			unsigned int		flags;
-			union {
-				struct pcs_dentry_info	*dst_de;	/* Only for rename */
-				off_t			new_size;	/* Only for resize */
-				const char		*data;		/* Only for symlink */
-			} arg;
-		} filereq;
-
-		struct {
-			pcs_api_csconnreq_t *req; /* Client request */
-			struct pcs_cluster_core	 *clu; /* dentry == NULL */
-			struct pcs_msg	    msg;
-			int		    out_fd;
-		} csconnreq;
-
-		struct {
-			void			(*action)(struct pcs_int_request *ireq);
-			void			(*destruct)(struct pcs_int_request *ireq);
-			void*			ctx;
-		} custom;
-
 		struct {
 			pcs_api_iorequest_t *	req;		/* Client request */
 			unsigned int		dio_offset;	/* MBZ */


More information about the Devel mailing list