The commit is pushed to "branch-rh10-6.12.0-55.13.1.2.x.vz10-ovz" and will
appear at [email protected]:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.2.17.vz10
------>
commit 951bc1688c399f6c5a5967a2dd14d2bba80bd278
Author: Liu Kui <[email protected]>
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 <[email protected]>
Acked-by: Alexey Kuznetsov <[email protected]>
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 21184d31cce04..9d3803a8342d8 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 */
_______________________________________________
Devel mailing list
[email protected]
https://lists.openvz.org/mailman/listinfo/devel