Re: [PATCH v5 03/22] cachefiles: introduce on-demand read mode

From: David Howells
Date: Mon Mar 21 2022 - 11:31:03 EST


Matthew Wilcox <willy@xxxxxxxxxxxxx> wrote:

> Absolutely; just use xa_lock() to protect both setting & testing the
> flag.

How should Jeffle deal with xarray dropping the lock internally in order to do
an allocation and then taking it again (actually in patch 5)?

David