Re: [PATCH v5 06/22] cachefiles: implement on-demand read

From: David Howells
Date: Mon Mar 21 2022 - 10:15:16 EST


Jeffle Xu <jefflexu@xxxxxxxxxxxxxxxxx> wrote:

> + { "cread", cachefiles_ondemand_cread },

Rather than adding the cread command, would it be better to use an ioctl on
the anon fd as the /dev/cachefiles write op is serialised?

> + /* Stop enqueuig request when daemon closes anon_fd prematurely. */

"Enqueuing"

David