fs: add support for LOOKUP_CACHED
io_uring always punts opens to async context, since there's no control over whether the lookup blocks or not. Add LOOKUP_CACHED to support just doing the fast RCU based lookups, which we know will not block. If we can do a cached path resolution of the filename, then we don't have to always punt lookups for a worker. During path resolution, we always do LOOKUP_RCU first. If that fails and we terminate LOOKUP_RCU, then fail a LOOKUP_CACHED attempt as well. Cc: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by:Jens Axboe <axboe@kernel.dk> Signed-off-by:
Al Viro <viro@zeniv.linux.org.uk>
Loading
-
mentioned in commit 36641ca7
-
mentioned in commit 2f66a951
-
mentioned in commit 5c74a1f0
-
mentioned in commit 51690312
-
mentioned in commit 0253e850
-
mentioned in commit 5d1362e5
-
mentioned in commit 5c0b48df
-
mentioned in commit 6510ff4f
-
mentioned in commit 362323bb
-
mentioned in commit 3a1896e9
-
mentioned in commit b028faf6
-
mentioned in commit 5f5a3295
-
mentioned in commit 2f6816b0
-
mentioned in commit 12ed2770
-
mentioned in commit ec8a9b8c
-
mentioned in commit 036986af
-
mentioned in commit 0c2d68bf
-
mentioned in commit 6d61edbf
-
mentioned in commit 8d711f2f
-
mentioned in commit d5dba926
-
mentioned in commit 9991148d
-
mentioned in commit 43a3fea6
-
mentioned in commit b53cc95d
-
mentioned in commit 4e0b1c97
Please sign in to comment