All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCHSET v10] io_uring IO interface
@ 2019-01-30 21:55 ` Jens Axboe
  0 siblings, 0 replies; 38+ messages in thread
From: Jens Axboe @ 2019-01-30 21:55 UTC (permalink / raw)
  To: linux-aio, linux-block, linux-api; +Cc: hch, jmoyer, avi, jannh

Keeping the review train hot, this has all review comments addressed
from v9, with a few other fixes on top.

Outside of review comments, this fixes a few annoyances with the
SQPOLL thread. We now shut it down quick, regardless of idle setting,
and I got rid of the silly need to park it for exit.

Also fixed a case with SQPOLL where we'd get -EAGAIN due to request
shortage in the block layer, and we didn't handle that properly. Now
we do.

The liburing git repo now has a io_uring_setup(2) man page, but
otherwise no changes. You can clone that here:

git://git.kernel.dk/liburing

Patches are against 5.0-rc4, and can also be found in my io_uring branch
here:

git://git.kernel.dk/linux-block io_uring

Since v9:
- Use FOLL_ANON instead of checking vmas for file backing
- Fix bad nospec index limiter
- Address various minor review comments
- Fix drop extra file reference in case of submission error
- Fix race with sqe->opcode and "needs mm" checks without sqe copy
- Un-unionize io_kiocb->submit, from the async path it's almost
  impossible to do this safely.
- Clear io_kiocb->error for polled IO
- Fix EAGAIN for polled IO and SQPOLL for the !force_nonblock case of
  running out of block requests
- Remove need for kthread parking
- Ensure sqo thread exits as quickly as possible


 Documentation/filesystems/vfs.txt      |    3 +
 arch/x86/entry/syscalls/syscall_32.tbl |    3 +
 arch/x86/entry/syscalls/syscall_64.tbl |    3 +
 block/bio.c                            |   59 +-
 fs/Makefile                            |    1 +
 fs/block_dev.c                         |   19 +-
 fs/file.c                              |   15 +-
 fs/file_table.c                        |    9 +-
 fs/gfs2/file.c                         |    2 +
 fs/io_uring.c                          | 2611 ++++++++++++++++++++++++
 fs/iomap.c                             |   48 +-
 fs/xfs/xfs_file.c                      |    1 +
 include/linux/bio.h                    |   14 +
 include/linux/blk_types.h              |    1 +
 include/linux/file.h                   |    2 +
 include/linux/fs.h                     |    6 +-
 include/linux/iomap.h                  |    1 +
 include/linux/sched/user.h             |    2 +-
 include/linux/syscalls.h               |    8 +
 include/uapi/asm-generic/unistd.h      |    8 +-
 include/uapi/linux/io_uring.h          |  141 ++
 init/Kconfig                           |    9 +
 kernel/sys_ni.c                        |    3 +
 23 files changed, 2928 insertions(+), 41 deletions(-)

-- 
Jens Axboe


--
To unsubscribe, send a message with 'unsubscribe linux-aio' in
the body to majordomo@kvack.org.  For more info on Linux AIO,
see: http://www.kvack.org/aio/
Don't email: <a href=mailto:"aart@kvack.org">aart@kvack.org</a>

^ permalink raw reply	[flat|nested] 38+ messages in thread

end of thread, other threads:[~2019-01-30 23:50 UTC | newest]

Thread overview: 38+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-30 21:55 [PATCHSET v10] io_uring IO interface Jens Axboe
2019-01-30 21:55 ` Jens Axboe
2019-01-30 21:55 ` [PATCH 01/18] fs: add an iopoll method to struct file_operations Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 02/18] block: wire up block device iopoll method Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 03/18] block: add bio_set_polled() helper Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 04/18] iomap: wire up the iopoll method Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 05/18] Add io_uring IO interface Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 06/18] io_uring: add fsync support Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 07/18] io_uring: support for IO polling Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 08/18] fs: add fget_many() and fput_many() Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 09/18] io_uring: use fget/fput_many() for file references Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 10/18] io_uring: batch io_kiocb allocation Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 11/18] block: implement bio helper to add iter bvec pages to bio Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 12/18] io_uring: add support for pre-mapped user IO buffers Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 13/18] io_uring: add file set registration Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 14/18] io_uring: add submission polling Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 15/18] io_uring: add io_kiocb ref count Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 16/18] io_uring: add support for IORING_OP_POLL Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 17/18] io_uring: allow workqueue item to handle multiple buffered requests Jens Axboe
2019-01-30 21:55   ` Jens Axboe
2019-01-30 21:55 ` [PATCH 18/18] io_uring: add io_uring_event cache hit information Jens Axboe
2019-01-30 21:55   ` Jens Axboe

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.