On Fri, Dec 11, 2020 at 7:57 AM Jens Axboe <axboe@xxxxxxxxx> wrote: > > On 12/10/20 7:35 PM, Al Viro wrote: > > _IF_ for some theoretical exercise you want to do "lookup without dropping > > out of RCU", just add a flag that has unlazy_walk() fail. With -ECHILD. > > Strip it away in complete_walk() and have path_init() with that flag > > and without LOOKUP_RCU fail with -EAGAIN. All there is to it. > > Thanks Al, that makes for an easier implementation. I like that suggestion, > boils it down to just three hunks (see below). Ooh. Yes, very nice. Linus