Re: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-21 Thread Jens Axboe
On 2/21/21 12:38 PM, David Laight wrote: > From: Jens Axboe >> Sent: 20 February 2021 18:29 >> >> On 2/20/21 10:44 AM, David Laight wrote: >>> From: Lennert Buytenhek Sent: 18 February 2021 12:27 These patches add support for IORING_OP_GETDENTS, which is a new io_uring opcode th

RE: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-21 Thread David Laight
From: Jens Axboe > Sent: 20 February 2021 18:29 > > On 2/20/21 10:44 AM, David Laight wrote: > > From: Lennert Buytenhek > >> Sent: 18 February 2021 12:27 > >> > >> These patches add support for IORING_OP_GETDENTS, which is a new io_uring > >> opcode that more or less does an lseek(sqe->fd, sqe->o

Re: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-20 Thread Jens Axboe
On 2/20/21 10:44 AM, David Laight wrote: > From: Lennert Buytenhek >> Sent: 18 February 2021 12:27 >> >> These patches add support for IORING_OP_GETDENTS, which is a new io_uring >> opcode that more or less does an lseek(sqe->fd, sqe->off, SEEK_SET) >> followed by a getdents64(sqe->fd, (void *)sqe-

RE: [PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-20 Thread David Laight
From: Lennert Buytenhek > Sent: 18 February 2021 12:27 > > These patches add support for IORING_OP_GETDENTS, which is a new io_uring > opcode that more or less does an lseek(sqe->fd, sqe->off, SEEK_SET) > followed by a getdents64(sqe->fd, (void *)sqe->addr, sqe->len). > > A dumb test program for

[PATCH v3 0/2] io_uring: add support for IORING_OP_GETDENTS

2021-02-18 Thread Lennert Buytenhek
These patches add support for IORING_OP_GETDENTS, which is a new io_uring opcode that more or less does an lseek(sqe->fd, sqe->off, SEEK_SET) followed by a getdents64(sqe->fd, (void *)sqe->addr, sqe->len). A dumb test program for IORING_OP_GETDENTS is available here: https://krautbox.want