On 9/8/22 6:19 AM, Josef Bacik wrote: > > > On Wed, Sep 07, 2022 at 05:26:06PM -0700, Stefan Roesch wrote: >> From: Josef Bacik <josef@xxxxxxxxxxxxxx> >> >> For NOWAIT IOCB's we'll need a way to tell search to not wait on locks >> or anything. Accomplish this by adding a path->nowait flag that will >> use trylocks and skip reading of metadata, returning -EWOULDBLOCK in >> either of these cases. For now we only need this for reads, so only the >> read side is handled. Add an ASSERT() to catch anybody trying to use >> this for writes so they know they'll have to implement the write side. >> >> Signed-off-by: Josef Bacik <josef@xxxxxxxxxxxxxx> >> Signed-off-by: Stefan Roesch <shr@xxxxxx> > > Should update my changelog to say use -EAGAIN instead of -EWOULDBLOCK. Thanks, > The next version will have that change. > Josef