[PATCH v9 01/21] cachefiles: extract write routine

David Howells dhowells at redhat.com
Thu Apr 21 23:24:42 AEST 2022

Jeffle Xu <jefflexu at linux.alibaba.com> wrote:

> Extract the generic routine of writing data to cache files, and make it
> generally available.
> This will be used by the following patch implementing on-demand read
> mode. Since it's called inside cachefiles module in this case, make the
> interface generic and unrelated to netfs_cache_resources.
> It is worth noting that, ki->inval_counter is not initialized after
> this cleanup. It shall not make any visible difference, since
> inval_counter is no longer used in the write completion routine, i.e.
> cachefiles_write_complete().
> Signed-off-by: Jeffle Xu <jefflexu at linux.alibaba.com>

Acked-by: David Howells <dhowells at redhat.com>

More information about the Linux-erofs mailing list