Re: [PATCH v2] netfs: Make @file optional in netfs_alloc_read_request()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Jeffle Xu <jefflexu@xxxxxxxxxxxxxxxxx> 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@xxxxxxxxxx
https://listman.redhat.com/mailman/listinfo/linux-cachefs




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux