AIO performance improvements/cleanups, v2
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest26 patches 12 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/26 | mm: remove old aio use_mm() commentmm/ | +0 | 0 replies | |
| 2/26 | aio: remove dead code from aio.hinclude/ | +0 | 0 replies | |
| 3/26 | gadget: remove only user of aio retrydrivers/ | +29 | 0 replies | |
| 4/26 | aio: remove retry-based AIOfs/ fs/ fs/ +2 more | +29 | 1 reply | |
| 5/26 | char: add aio_{read,write} to /dev/{null,zero}drivers/ | +35 | 0 replies | |
| 6/26 | aio: Kill return value of aio_complete()fs/ include/ | +11 | 0 replies | |
| 7/26 | aio: kiocb_cancel()fs/ | +39 | 0 replies | |
| 8/26 | aio: Move private stuff out of aio.hdrivers/ fs/ include/ | +62 | 0 replies | |
| 9/26 | aio: dprintk() -> pr_debug()fs/ | +24 | 0 replies | |
| 10/26 | aio: do fget() after aio_get_req()fs/ | +9 | 0 replies | |
| 11/26 | aio: Make aio_put_req() locklessfs/ include/ | +35 | 0 replies | |
| 12/26 | aio: Refcounting cleanupfs/ | +120 | 0 replies | |
| 13/26 | aio: Convert read_events() to hrtimersfs/ | +21 | 0 replies | |
| 14/26 | aio: Make aio_read_evt() more efficientfs/ | +97 | 0 replies | |
| 15/26 | aio: Use flush_dcache_page()fs/ | +17 | 0 replies | |
| 16/26 | aio: Use cancellation list lazilydrivers/ fs/ include/ | +58 | 0 replies | |
| 17/26 | aio: Change reqs_active to include unreaped completionsfs/ | +25 | 0 replies | |
| 18/26 | aio: Kill batch allocationfs/ include/ | +15 | 0 replies | |
| 19/26 | aio: Kill struct aio_ring_infofs/ | +72 | 0 replies | |
| 20/26 | aio: Give shared kioctx fields their own cachelinesfs/ | +16 | 0 replies | |
| 21/26 | aio: reqs_active -> reqs_availablefs/ | +14 | 0 replies | |
| 22/26 | aio: percpu reqs_availablefs/ | +86 | 0 replies | |
| 23/26 | Generic dynamic per cpu refcountinginclude/ lib/ lib/ | +194 | 1 reply | |
| 24/26 | aio: Percpu ioctx refcountfs/ | +12 | 0 replies | |
| 25/26 | aio: use xchg() instead of completion_lockfs/ | +13 | 0 replies | |
| 26/26 | aio: Don't include aio.h in sched.harch/ block/ drivers/ +49 more | +54 | 0 replies |
Reviews trailers per patch
1 of 26 patches has a Reviewed-by or Acked-by.
| Patch | Zach Brown |
|---|---|
| 1/26 | |
| 2/26 | |
| 3/26 | |
| 4/26 | |
| 5/26 | |
| 6/26 | A-b |
| 7/26 | |
| 8/26 | |
| 9/26 | |
| 10/26 | |
| 11/26 | |
| 12/26 | |
| 13/26 | |
| 14/26 | |
| 15/26 | |
| 16/26 | |
| 17/26 | |
| 18/26 | |
| 19/26 | |
| 20/26 | |
| 21/26 | |
| 22/26 | |
| 23/26 | |
| 24/26 | |
| 25/26 | |
| 26/26 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/26] AIO performance improvements/cleanups, v2
Last posting: http://thread.gmane.org/gmane.linux.kernel.aio.general/3169
Changes since the last posting should all be noted in the individual patch descriptions.
* Zach pointed out the aio_read_evt() patch was calling functions that could sleep in TASK_INTERRUPTIBLE state, that patch is rewritten.
* Ben pointed out some synchronize_rcu() usage was problematic, converted it to call_rcu()
* The flush_dcache_page() patch is new
* Changed the "use cancellation list lazily" patch so as to remove ki_flags from struct kiocb.
Kent Overstreet (21):
aio: Kill return value of aio_complete()
aio: kiocb_cancel()
aio: Move private stuff out of aio.h
aio: dprintk() -> pr_debug()
aio: do fget() after aio_get_req()
aio: Make aio_put_req() lockless
aio: Refcounting cleanup
aio: Convert read_events() to hrtimers
aio: Make aio_read_evt() more efficient
aio: Use flush_dcache_page()
aio: Use cancellation list lazily
aio: Change reqs_active to include unreaped completions
aio: Kill batch allocation
aio: Kill struct aio_ring_info
aio: Give shared kioctx fields their own cachelines
aio: reqs_active -> reqs_available
aio: percpu reqs_available
Generic dynamic per cpu refcounting
aio: Percpu ioctx refcount
aio: use xchg() instead of completion_lock
aio: Don't include aio.h in sched.h
Zach Brown (5):
mm: remove old aio use_mm() comment
aio: remove dead code from aio.h
gadget: remove only user of aio retry
aio: remove retry-based AIO
char: add aio_{read,write} to /dev/{null,zero}
arch/s390/hypfs/inode.c | 1 + block/scsi_ioctl.c | 1 + drivers/char/mem.c | 36 + drivers/infiniband/hw/ipath/ipath_file_ops.c | 1 + drivers/infiniband/hw/qib/qib_file_ops.c | 2 +- drivers/staging/android/logger.c | 1 + drivers/usb/gadget/inode.c | 42 +- fs/9p/vfs_addr.c | 1 + fs/afs/write.c | 1 + fs/aio.c | 1432 ++++++++++---------------- fs/block_dev.c | 1 + fs/btrfs/file.c | 1 + fs/btrfs/inode.c | 1 + fs/ceph/file.c | 1 + fs/compat.c | 1 + fs/direct-io.c | 1 + fs/ecryptfs/file.c | 1 + fs/ext2/inode.c | 1 + fs/ext3/inode.c | 1 + fs/ext4/file.c | 1 + fs/ext4/indirect.c | 1 + fs/ext4/inode.c | 1 + fs/ext4/page-io.c | 1 + fs/fat/inode.c | 1 + fs/fuse/dev.c | 1 + fs/fuse/file.c | 1 + fs/gfs2/aops.c | 1 + fs/gfs2/file.c | 1 + fs/hfs/inode.c | 1 + fs/hfsplus/inode.c | 1 + fs/jfs/inode.c | 1 + fs/nilfs2/inode.c | 2 +- fs/ntfs/file.c | 1 + fs/ntfs/inode.c | 1 + fs/ocfs2/aops.h | 2 + fs/ocfs2/dlmglue.c | 2 +- fs/ocfs2/inode.h | 2 + fs/pipe.c | 1 + fs/read_write.c | 35 +- fs/reiserfs/inode.c | 1 + fs/ubifs/file.c | 1 + fs/udf/inode.c | 1 + fs/xfs/xfs_aops.c | 1 + fs/xfs/xfs_file.c | 1 + include/linux/aio.h | 135 +-- include/linux/cgroup.h | 1 + include/linux/errno.h | 1 - include/linux/percpu-refcount.h | 29 + include/linux/sched.h | 2 - kernel/fork.c | 1 + kernel/printk.c | 1 + kernel/ptrace.c | 1 + lib/Makefile | 2 +- lib/percpu-refcount.c | 164 +++ mm/mmu_context.c | 3 - mm/page_io.c | 1 + mm/shmem.c | 1 + mm/swap.c | 1 + security/keys/internal.h | 2 + security/keys/keyctl.c | 1 + sound/core/pcm_native.c | 2 +- 61 files changed, 868 insertions(+), 1070 deletions(-) create mode 100644 include/linux/percpu-refcount.h create mode 100644 lib/percpu-refcount.c
Signature · 7 lines
1.7.12 -- To unsubscribe, send a message with 'unsubscribe linux-aio' in the body to [email protected]. For more info on Linux AIO, see: http://www.kvack.org/aio/ Don't email: <a href=mailto:"[email protected]">[email protected]</a>