Jeffle Xu <jeffl...@linux.alibaba.com> wrote:

> Make the @file parameter optional, and derive inode from the @folio
> parameter instead in order to support file system internal requests.
> 
> @file parameter can't be removed completely, since it also works as
> the private data of ops->init_rreq().

Note that I'm working towards a model where you would ordinarily point your
file operations and/or address-space operations directly at the netfs
functions.  This will require filesystems that use it to add a bit to their
fs-specific inode structs directly after the struct inode member.

David

--
Linux-cachefs mailing list
Linux-cachefs@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-cachefs

Reply via email to