[Devel] [PATCH RHEL10 COMMIT] fs/fuse: remove the 'page_cache' bit fuse_args

Konstantin Khorenko khorenko at virtuozzo.com
Tue Sep 16 15:04:08 MSK 2025


The commit is pushed to "branch-rh10-6.12.0-55.13.1.2.x.vz10-ovz" and will appear at git at bitbucket.org:openvz/vzkernel.git
after rh10-6.12.0-55.13.1.2.6.vz10
------>
commit 14a79fb9322e1ec35188524c1e443a87a838aab3
Author: Liu Kui <kui.liu at virtuozzo.com>
Date:   Mon Sep 15 23:03:08 2025 +0800

    fs/fuse: remove the 'page_cache' bit fuse_args
    
    The page_cache bit is no longer needed, so remove it.
    
    Fixes: 4834ba3909a09 ("fs/fuse: remove useless code related to
    fuse_kill_requests")
    Signed-off-by: Liu Kui <kui.liu at virtuozzo.com>
    
    Feature: vStorage
---
 fs/fuse/file.c   | 2 --
 fs/fuse/fuse_i.h | 1 -
 2 files changed, 3 deletions(-)

diff --git a/fs/fuse/file.c b/fs/fuse/file.c
index 6c917360c36d3..1bbad4798f0b7 100644
--- a/fs/fuse/file.c
+++ b/fs/fuse/file.c
@@ -1151,7 +1151,6 @@ static int fuse_do_readpage(struct file *file, struct page *page,
 		.ap.num_pages = 1,
 		.ap.pages = &page,
 		.ap.descs = &desc,
-		.ap.args.page_cache = 1,
 	};
 	ssize_t res;
 	u64 attr_ver;
@@ -1304,7 +1303,6 @@ static void fuse_send_readpages(struct fuse_io_args *ia, struct file *file)
 	ap->args.out_pages = true;
 	ap->args.page_zeroing = true;
 	ap->args.page_replace = true;
-	ap->args.page_cache = 1;
 
 	/* Don't overflow end offset */
 	if (pos + (count - 1) == LLONG_MAX) {
diff --git a/fs/fuse/fuse_i.h b/fs/fuse/fuse_i.h
index d4bb4ecdd9168..d6c7c5fd2bdcc 100644
--- a/fs/fuse/fuse_i.h
+++ b/fs/fuse/fuse_i.h
@@ -362,7 +362,6 @@ struct fuse_args {
 	bool nonblocking:1;
 	bool kio_internal:1;
 	bool async:1;
-	bool page_cache:1;
 	bool killed:1;
 	struct fuse_in_arg in_args[3];
 	struct fuse_arg out_args[3];


More information about the Devel mailing list