Thread (14 messages) 14 messages, 6 authors, 2021-01-29

RE: [RFC PATCH] io_uring: add support for IORING_OP_GETDENTS64

From: David Laight <hidden>
Date: 2021-01-24 22:23:40
Also in: io-uring, linux-fsdevel, lkml

One open question is whether IORING_OP_GETDENTS64 should be more like
pread(2) and allow passing in a starting offset to read from the
directory from.  (This would require some more surgery in fs/readdir.c.)
Since directories are seekable this ought to work.
Modulo horrid issues with 32bit file offsets.

You'd need to return the final offset to allow another
read to continue from the end position.

	David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help