On Wed, Sep 2, 2026 at 12:46 AM Miklos Szeredi <[email protected]> wrote: > > On Tue, 1 Sept 2026 at 23:34, Changyuan Lyu <[email protected]> wrote: > > > 1. For virtiofsd: Does the automatic detection of pseudo-filesystems via > > fstatfs magic match upstream expectations, or would upstream prefer an > > explicit configuration option (such as per-path cache policies)? > > Why not just set "--cache never" for the pseudo fs export?
Enabling caching does give a pretty noticeable performance improvement for those files that can be cached, and we'd like to have just a single export instead of setting up multiple and assembling it piecemeal. (To this end we do have an out-of-tree extension to the virtiofsd-rs passthrough module to allow changing caching duration on a per file basis as the protocol allows..., been meaning to start a thread if folks are interested in this since it has proven somewhat useful for us now). But I felt having first class support for this felt more "right" - enabling caching shouldn't break reading of certain files, and the server is in a position to know if a file would support this or not. khazhy > > > 2. For the kernel: Does the proposed copy_splice_read() fallback for > > FOPEN_DIRECT_IO files in fuse_splice_read() look acceptable? > > Yes, in fact this patch has been sitting in my local tree for a week. > Pushed out now, updated with a link to this report as well. > > Thanks, > Miklos
