←back to thread

lsr: ls with io_uring

(rockorager.dev)
335 points mpweiher | 1 comments | | HN request time: 0.437s | source
Show context
the8472 ◴[] No.44604859[source]
io_uring doesn't support getdents though. so the primary benefit is bulk statting (ls -l). It'd be nice if we could have a getdents in flight while processing the results of the previous one.
replies(1): >>44605803 #
loeg ◴[] No.44605803[source]
POSIX adopting NFS' "readdirplus" operation (getdents + stat) could negate some of the benefit towards io_uring, too.
replies(1): >>44609162 #
the8472 ◴[] No.44609162[source]
but then someone wants statx...
replies(1): >>44609706 #
1. loeg ◴[] No.44609706[source]
Yeah. To be clear I don't think Linux or Posix will ever adopt readdirplus as an API.