Messages in this thread | | | From | David Howells <> | Subject | Re: [PATCH v9 01/21] cachefiles: extract write routine | Date | Thu, 21 Apr 2022 14:24:42 +0100 |
| |
Jeffle Xu <jefflexu@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@linux.alibaba.com>
Acked-by: David Howells <dhowells@redhat.com>
| |