fs: Support for LOOKUP_NONBLOCK / RESOLVE_NONBLOCK
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 41 repliesIn review
- v2 RFC5 patches 10 repliesSuperseded
- v12 patches 25 repliesSuperseded
Changes in v3 from the cover letter
- Simplify the LOOKUP_NONBLOCK to _just_ cover LOOKUP_RCU and lookup_fast(), as per Linus's suggestion. I verified fast path operations are indeed just that, and it avoids having to mess with the inode lock and mnt_want_write() completely.
- Make O_TMPFILE return -EAGAIN for LOOKUP_NONBLOCK.
- Improve/add a few comments.
- Folded what was left of the open part of LOOKUP_NONBLOCK into the main patch.
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | fs: make unlazy_walk() error handling consistentfs/ | +17 | 0 replies | |
| 2/4 | fs: add support for LOOKUP_NONBLOCKfs/ include/ | +27 | 16 replies | |
| 3/4 | fs: expose LOOKUP_NONBLOCK through openat2() RESOLVE_NONBLOCKfs/ include/ include/ | +11 | 5 replies | |
| 4/4 | io_uring: enable LOOKUP_NONBLOCK path resolution for filename lookupsfs/ | +24 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.
Cover letter [PATCHSET v3 0/4] fs: Support for LOOKUP_NONBLOCK / RESOLVE_NONBLOCK
Hi,
Wanted to throw out what the current state of this is, as we keep getting closer to something palatable.
This time I've included the io_uring change too. I've tested this through both openat2, and through io_uring as well.
I'm pretty happy with this at this point. The core change is very simple, and the users end up being trivial too.
Also available here:
https://git.kernel.dk/cgit/linux-block/log/?h=nonblock-path-lookup
Changes since v2:
- Simplify the LOOKUP_NONBLOCK to _just_ cover LOOKUP_RCU and lookup_fast(), as per Linus's suggestion. I verified fast path operations are indeed just that, and it avoids having to mess with the inode lock and mnt_want_write() completely.
- Make O_TMPFILE return -EAGAIN for LOOKUP_NONBLOCK.
- Improve/add a few comments.
- Folded what was left of the open part of LOOKUP_NONBLOCK into the main patch.
Signature · 1 line
Jens Axboe