Re: [PATCH 7/9] fscache,netfs: define flags for prepare_read()
From: David Howells
Date: Thu Oct 27 2022 - 09:12:44 EST
Jingbo Xu <jefflexu@xxxxxxxxxxxxxxxxx> wrote:
> + if (test_bit(FSCACHE_REQ_COPY_TO_CACHE, &flags))
> + __set_bit(NETFS_SREQ_COPY_TO_CACHE, &subreq->flags);
Please don't do that in netfslib. Netfslib shouldn't know about fscache's
inner workings.
David