/top/
/new/
/best/
/ask/
/show/
/job/
^
slacker news
login
about
←back to thread
lsr: ls with io_uring
(rockorager.dev)
335 points
mpweiher
| 3 comments |
18 Jul 25 12:40 UTC
|
HN request time: 0.633s
|
source
https://tangled.sh/@rockorager.dev/lsr
Show context
the8472
◴[
18 Jul 25 14:13 UTC
]
No.
44604859
[source]
▶
>>44604050 (OP)
#
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
#
1.
loeg
◴[
18 Jul 25 15:29 UTC
]
No.
44605803
[source]
▶
>>44604859
#
POSIX adopting NFS' "readdirplus" operation (getdents + stat) could negate some of the benefit towards io_uring, too.
replies(1):
>>44609162
#
ID:
GO
2.
the8472
◴[
18 Jul 25 20:01 UTC
]
No.
44609162
[source]
▶
>>44605803 (TP)
#
but then someone wants statx...
replies(1):
>>44609706
#
3.
loeg
◴[
18 Jul 25 20:52 UTC
]
No.
44609706
[source]
▶
>>44609162
#
Yeah. To be clear I don't think Linux or Posix will ever adopt readdirplus as an API.
↑