[Devel] [PATCH VZ9 1/2] fs/fuse kio: get refcnt on pages for zero-copy read via krpc.

2024-12-09 Thread Liu Kui
Pages passed to krpc for zero-copy read could be released before the krpc request completes, for example in case of aborting a file that has ongoing read request issued by the page cache, pages used by these read requests could be accessed later by krpc after they are released. So to avoid such use

[Devel] [PATCH VZ9 2/2] fs/fuse kio: abort all kRPCs on fuse connection abort

2024-12-09 Thread Liu Kui
All kRPCs must be aborted first to remove all potential lingering references to pages belong to fuse read requests that will be completed during fuse connection abort. Related to #VSTOR-95997 Signed-off-by: Liu Kui --- fs/fuse/dev.c | 5 +++-- fs/fuse/kio/pcs/pcs_fuse_kdire