aboutsummaryrefslogtreecommitdiffstats
path: root/fs/aio.c
AgeCommit message (Expand)AuthorFilesLines
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-9/+7
2019-07-18mm: migrate: remove unused mode argumentKeith Busch1-1/+1
2019-07-16signal: simplify set_user_sigmask/restore_user_sigmaskOleg Nesterov1-12/+8
2019-07-13Merge tag 'for-5.3/io_uring-20190711' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+5
2019-06-29signal: remove the wrong signal_pending() check in restore_user_sigmask()Oleg Nesterov1-8/+20
2019-05-31uio: make import_iovec()/compat_import_iovec() return bytes on successJens Axboe1-4/+5
2019-05-25vfs: Convert aio to use the new mount APIDavid Howells1-8/+7
2019-05-25mount_pseudo(): drop 'name' argument, switch to d_make_root()Al Viro1-2/+1
2019-04-04aio: use kmem_cache_free() instead of kfree()Wei Yongjun1-1/+1
2019-04-03aio: Fix an error code in __io_submit_one()Dan Carpenter1-1/+1
2019-03-17aio: move sanity checks and request allocation to io_submit_one()Al Viro1-66/+53
2019-03-17deal with get_reqs_available() in aio_get_req() itselfAl Viro1-6/+6
2019-03-17aio: move dropping ->ki_eventfd into iocb_destroy()Al Viro1-9/+8
2019-03-17make aio_read()/aio_write() return intAl Viro1-6/+6
2019-03-17Fix aio_poll() racesAl Viro1-50/+40
2019-03-17aio: store event at final iocb_put()Al Viro1-16/+17
2019-03-17aio: keep io_event in aio_kiocbAl Viro1-18/+13
2019-03-17aio: fold lookup_kiocb() into its sole callerAl Viro1-22/+7
2019-03-17pin iocb through aio.Linus Torvalds1-16/+21
2019-03-05Merge branch 'timers-2038-for-linus' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-5/+5
2019-03-04Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-3/+9
2019-03-04aio: simplify - and fix - fget/fput for io_submit()Linus Torvalds1-43/+29
2019-02-21aio: Fix locking in aio_poll()Bart Van Assche1-3/+9
2019-02-07y2038: syscalls: rename y2038 compat syscallsArnd Bergmann1-5/+5
2019-02-06aio: initialize kiocb private in case any filesystems expect it.Mike Marshall1-0/+1
2018-12-28Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+1
2018-12-28Merge tag 'for-4.21/aio-20181221' of git://git.kernel.dk/linux-blockLinus Torvalds1-56/+88
2018-12-28Merge tag 'for-4.21/block-20181221' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+9
2018-12-28Merge tag 'y2038-for-4.21' of ssh://gitolite.kernel.org:/pub/scm/linux/kernel...Linus Torvalds1-41/+93
2018-12-28mm: migrate: drop unused argument of migrate_page_move_mapping()Jan Kara1-1/+1
2018-12-18aio: abstract out io_event filler helperJens Axboe1-4/+10
2018-12-18aio: split out iocb copy from io_submit_one()Jens Axboe1-30/+38
2018-12-18aio: use iocb_put() instead of open coding itJens Axboe1-2/+1
2018-12-18aio: only use blk plugs for > 2 depth submissionsJens Axboe1-4/+14
2018-12-18aio: don't zero entire aio_kiocb aio_get_req()Jens Axboe1-2/+7
2018-12-18aio: separate out ring reservation from req allocationChristoph Hellwig1-13/+17
2018-12-18aio: use assigned completion handlerJens Axboe1-1/+1
2018-12-18Merge branch 'for-4.21/block' into for-4.21/aioJens Axboe1-4/+9
2018-12-14Merge tag 'for-linus-20181214' of git://git.kernel.dk/linux-blockLinus Torvalds1-0/+2
2018-12-11aio: fix spectre gadget in lookup_ioctxJeff Moyer1-0/+2
2018-12-06io_pgetevents: use __kernel_timespecDeepa Dinamani1-3/+81
2018-12-06signal: Add restore_user_sigmask()Deepa Dinamani1-23/+6
2018-12-06signal: Add set_user_sigmask()Deepa Dinamani1-16/+7
2018-12-04aio: clear IOCB_HIPRIChristoph Hellwig1-3/+8
2018-12-04Merge tag 'v4.20-rc5' into for-4.21/blockJens Axboe1-0/+1
2018-11-19aio: Fix fallback I/O priority valueDamien Le Moal1-1/+1
2018-11-17aio: fix failure to put the file pointerJens Axboe1-0/+1
2018-08-27y2038: globally rename compat_time to old_time32Arnd Bergmann1-4/+4
2018-08-13Merge branch 'work.aio' of git://git.kernel.org/pub/scm/linux/kernel/git/viro...Linus Torvalds1-4/+204
2018-08-13Merge branch 'work.open3' of git://git.kernel.org/pub/scm/linux/kernel/git/vi...Linus Torvalds1-20/+4
2018-08-06aio: allow direct aio poll comletions for keyed wakeupsChristoph Hellwig1-2/+15
2018-08-06aio: implement IOCB_CMD_POLLChristoph Hellwig1-0/+178
2018-08-06aio: add a iocb refcountChristoph Hellwig1-4/+13
2018-07-22Merge branch 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfsLinus Torvalds1-0/+5
2018-07-17aio: don't expose __aio_sigset in uapiChristoph Hellwig1-0/+5
2018-07-12new wrapper: alloc_file_pseudo()Al Viro1-16/+4
2018-07-12alloc_file(): switch to passing O_... flags instead of FMODE_... modeAl Viro1-6/+2
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds1-147/+1
2018-06-14aio: only return events requested in poll_mask() for IOCB_CMD_POLLChristoph Hellwig1-2/+2
2018-06-04fs: aio ioprio use ioprio_check_cap ret valAdam Manzanares1-2/+2
2018-05-31fs: Add aio iopriority supportAdam Manzanares1-0/+16
2018-05-31fs: Convert kiocb rw_hint from enum to u16Adam Manzanares1-1/+1
2018-05-29aio: sanitize the limit checking in io_submit(2)Al Viro1-8/+6
2018-05-29aio: fold do_io_submit() into callersAl Viro1-54/+45
2018-05-29aio: shift copyin of iocb into io_submit_one()Al Viro1-24/+22
2018-05-29aio_read_events_ring(): make a bit more readableAl Viro1-4/+3
2018-05-29aio: all callers of aio_{read,write,fsync,poll} treat 0 and -EIOCBQUEUED the ...Al Viro1-14/+12
2018-05-29aio: take list removal to (some) callers of aio_complete()Al Viro1-17/+21
2018-05-28aio: add missing break for the IOCB_CMD_FDSYNC caseChristoph Hellwig1-0/+1
2018-05-26aio: try to complete poll iocbs without context switchChristoph Hellwig1-3/+17
2018-05-26aio: implement IOCB_CMD_POLLChristoph Hellwig1-1/+133
2018-05-26aio: simplify cancellationChristoph Hellwig1-42/+6
2018-05-26aio: simplify KIOCB_KEY handlingChristoph Hellwig1-7/+7
2018-05-26Merge branch 'fixes' of https://git.kernel.org/pub/scm/linux/kernel/git/viro/...Christoph Hellwig1-4/+3
2018-05-23fix io_destroy()/aio_complete() raceAl Viro1-2/+1
2018-05-21aio: fix io_destroy(2) vs. lookup_ioctx() raceAl Viro1-2/+2
2018-05-02aio: implement io_pgeteventsChristoph Hellwig1-10/+104
2018-05-02aio: implement IOCB_CMD_FSYNC and IOCB_CMD_FDSYNCChristoph Hellwig1-0/+43
2018-05-02aio: refactor read/write iocb setupChristoph Hellwig1-69/+92
2018-05-02aio: remove the extra get_file/fput pair in io_submit_oneChristoph Hellwig1-9/+16
2018-05-02aio: sanitize ki_list handlingChristoph Hellwig1-7/+6
2018-05-02aio: remove an outdated BUG_ON and comment in aio_completeChristoph Hellwig1-9/+0
2018-05-02aio: don't print the page size at boot timeChristoph Hellwig1-3/+0
2018-03-19fs/aio: Use rcu_work instead of explicit rcu and work itemTejun Heo1-15/+6
2018-03-14fs/aio: Use RCU accessors for kioctx_table->table[]Tejun Heo1-10/+11
2018-03-14fs/aio: Add explicit RCU grace period when freeing kioctxTejun Heo1-4/+19
2017-11-17Merge branch 'misc.compat' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-25/+30
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-09-19io_getevents: Use timespec64 to represent timeoutsDeepa Dinamani1-25/+30
2017-09-14Merge branch 'work.read_write' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-6/+0
2017-09-08mm/migrate: new migrate mode MIGRATE_SYNC_NO_COPYJérôme Glisse1-0/+8
2017-09-07fs: aio: fix the increment of aio-nr and counting against aio-max-nrMauricio Faria de Oliveira1-7/+12
2017-09-04fs: support RWF_NOWAIT for buffered readsChristoph Hellwig1-6/+0
2017-06-27fs: add O_DIRECT and aio support for sending down write life time hintsJens Axboe1-0/+1
2017-06-20fs: Introduce RWF_NOWAIT and FMODE_AIO_NOWAITGoldwyn Rodrigues1-0/+6
2017-06-20fs: Use RWF_* flags for AIO operationsGoldwyn Rodrigues1-1/+7
2017-03-03Merge branch 'WIP.sched-core-for-linus' of git://git.kernel.org/pub/scm/linux...Linus Torvalds1-1/+1
2017-03-02Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-2/+2
2017-03-02Merge remote-tracking branch 'ovl/for-viro' into for-linusAl Viro1-2/+2
2017-03-02sched/headers: Prepare to move signal wakeup & sigpending methods from <linux...Ingo Molnar1-1/+1
2017-02-24userfaultfd: non-cooperative: add event for memory unmapsMike Rapoport1-1/+1
2017-02-20vfs: use helpers for calling f_op->{read,write}_iter()Miklos Szeredi1-2/+2
2017-01-14aio: fix lock dep warningShaohua Li1-2/+4
2016-12-25ktime: Get rid of the unionThomas Gleixner1-2/+2
2016-12-24Replace <asm/uaccess.h> with <linux/uaccess.h> globallyLinus Torvalds1-1/+1
2016-12-22move aio compat to fs/aio.cAl Viro1-2/+95
2016-12-04don't open-code file_inode()Al Viro1-3/+3
2016-10-30aio: fix freeze protection of aio writesJan Kara1-1/+18
2016-10-30fs: remove aio_run_iocbChristoph Hellwig1-88/+94
2016-10-30fs: remove the never implemented aio_fsync file operationChristoph Hellwig1-14/+0
2016-10-30aio: hold an extra file reference over AIO read/write operationsChristoph Hellwig1-0/+2
2016-09-27fs/aio.c: eliminate redundant loads in put_aio_ring_fileRasmus Villemoes1-3/+6
2016-09-15aio: mark AIO pseudo-fs noexecJann Horn1-1/+6
2016-05-23aio: make aio_setup_ring killableMichal Hocko1-1/+6
2016-04-03aio: remove a pointless assignmentAl Viro1-2/+0
2015-09-04mm: move ->mremap() from file_operations to vm_operations_structOleg Nesterov1-9/+18
2015-04-16Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+1
2015-04-16Merge branch 'for-4.1/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-15/+30
2015-04-15Merge branch 'for-linus-2' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-20/+3
2015-04-15aio: fix serial draining in exit_aio()Jens Axboe1-15/+30
2015-04-14Merge branch 'for-linus-1' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-104/+88
2015-04-11mirror O_APPEND and O_DIRECT into iocb->ki_flagsAl Viro1-1/+1
2015-04-11Merge branch 'for-linus' into for-nextAl Viro1-6/+14
2015-04-11->aio_read and ->aio_write removedAl Viro1-11/+2
2015-04-11aio_run_iocb(): kill dead checkAl Viro1-7/+0
2015-04-11ioctx_alloc(): remove pointless checkAl Viro1-2/+1
2015-04-11aio_setup_vectored_rw(): switch to {compat_,}import_iovec()Al Viro1-19/+9
2015-04-11kill aio_setup_single_vector()Al Viro1-17/+1
2015-04-11aio: simplify arguments of aio_setup_..._rw()Al Viro1-28/+17
2015-04-11aio: lift iov_iter_init() into aio_setup_..._rw()Al Viro1-6/+11
2015-04-11Merge branch 'iocb' into for-nextAl Viro1-67/+83
2015-04-06ioctx_alloc(): fix vma (and file) leak on failureAl Viro1-0/+3
2015-04-06fix mremap() vs. ioctx_kill() raceAl Viro1-6/+11
2015-03-13fs: split generic and aio kiocbChristoph Hellwig1-29/+65
2015-03-13fs: don't allow to complete sync iocbs through aio_completeChristoph Hellwig1-23/+1
2015-03-12fs: remove ki_nbytesChristoph Hellwig1-16/+18
2015-02-20fs/aio.c: Remove duplicate function name in pr_debug messagesKinglong Mee1-3/+3
2015-02-12Merge branch 'for-3.20/bdi' of git://git.kernel.dk/linux-blockLinus Torvalds1-13/+0
2015-02-03aio: annotate aio_read_event_ring for sleep patternsDave Chinner1-0/+7
2015-01-20fs: remove mapping->backing_dev_infoChristoph Hellwig1-1/+0
2015-01-20fs: introduce f_op->mmap_capabilities for nommu mmap supportChristoph Hellwig1-13/+1
2014-12-13aio: Skip timer for io_getevents if timeout=0Fam Zheng1-2/+6
2014-12-13aio: Make it possible to remap aio ringPavel Emelyanov1-0/+25
2014-11-25Merge git://git.kvack.org/~bcrl/aio-fixesLinus Torvalds1-7/+14
2014-11-06aio: fix uncorrent dirty pages accouting when truncating AIO ring bufferGu Zheng1-7/+14
2014-09-24percpu_ref: add PERCPU_REF_INIT_* flagsTejun Heo1-2/+2
2014-09-24Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/axb...Tejun Heo1-60/+114
2014-09-08percpu-refcount: add @gfp to percpu_ref_init()Tejun Heo1-2/+2
2014-09-04aio: block exit_aio() until all context requests are completedGu Zheng1-1/+6
2014-09-02aio: add missing smp_rmb() in read_events_ringJeff Moyer1-0/+6
2014-08-24aio: fix reqs_available handlingBenjamin LaHaise1-4/+73
2014-08-16Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-56/+30
2014-08-04Merge branch 'for-3.17' of git://git.kernel.org/pub/scm/linux/kernel/git/tj/p...Linus Torvalds1-2/+4
2014-07-24aio: use iovec array rather than the single oneGu Zheng1-5/+5
2014-07-24aio: fix some commentsGu Zheng1-4/+3
2014-07-24aio: use the macro rather than the inline magic numberGu Zheng1-1/+1
2014-07-24aio: remove the needless registration of ring file's private_dataGu Zheng1-1/+0
2014-07-22aio: remove no longer needed preempt_disable()Benjamin LaHaise1-8/+2
2014-07-14Merge ../aio-fixesBenjamin LaHaise1-0/+7
2014-07-14aio: protect reqs_available updates from changes in interrupt handlersBenjamin LaHaise1-0/+7
2014-06-28percpu-refcount: require percpu_ref to be exited explicitlyTejun Heo1-2/+4
2014-06-28percpu-refcount, aio: use percpu_ref_cancel_init() in ioctx_alloc()Tejun Heo1-2/+2
2014-06-24aio: kill the misleading rcu read locks in ioctx_add_table() and kill_ioctx()Oleg Nesterov1-11/+3
2014-06-24aio: change exit_aio() to load mm->ioctx_table once and avoid rcu_read_lock()Oleg Nesterov1-26/+16
2014-06-24aio: fix kernel memory disclosure in io_getevents() introduced in v3.10Benjamin LaHaise1-0/+3
2014-06-24aio: fix aio request leak when events are reaped by userspaceBenjamin LaHaise1-2/+1
2014-06-14Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-34/+36
2014-05-06new methods: ->read_iter() and ->write_iter()Al Viro1-2/+12
2014-05-01aio: fix potential leak in aio_run_iocb().Leon Yu1-4/+2
2014-04-29aio: cleanup: flatten kill_ioctx()Benjamin LaHaise1-26/+26
2014-04-29aio: report error from io_destroy() when threads race in io_destroy()Benjamin LaHaise1-7/+9
2014-04-22fs/aio.c: Remove ctx parameter in kiocb_cancelFabian Frederick1-3/+3
2014-04-16aio: block io_destroy() until all context requests are completedAnatol Pomozov1-4/+32
2014-03-28aio: v4 ensure access to ctx->ring_pages is correctly serialised for migrationBenjamin LaHaise1-53/+67
2013-12-22Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-9/+46
2013-12-22aio: clean up and fix aio_setup_ring page mappingLinus Torvalds1-35/+23
2013-12-21aio/migratepages: make aio migrate pages saneBenjamin LaHaise1-8/+44
2013-12-21aio: fix kioctx leak introduced by "aio: Fix a trinity splat"Benjamin LaHaise1-1/+2
2013-12-06Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-2/+6
2013-12-06aio: clean up aio ring in the fail pathGu Zheng1-2/+6
2013-11-22Merge git://git.kvack.org/~bcrl/aio-nextLinus Torvalds1-83/+51
2013-11-19aio: nullify aio->ring_pages after freeing itSasha Levin1-1/+3
2013-11-19aio: prevent double free in ioctx_allocSasha Levin1-1/+0
2013-11-13aio: checking for NULL instead of IS_ERRDan Carpenter1-2/+2
2013-11-09rework aio migrate pages to use aio fsBenjamin LaHaise1-6/+57
2013-10-10aio: Fix a trinity splatKent Overstreet1-81/+48
2013-09-26aio: fix use-after-free in aio_migratepageBenjamin LaHaise1-15/+37
2013-09-09aio: rcu_read_lock protection for new rcu_dereference callsArtem Savkov1-0/+6
2013-09-09aio: fix race in ring buffer page lookup introduced by page migration supportBenjamin LaHaise1-3/+12
2013-08-30aio: fix rcu sparse warnings introduced by ioctx table lookup patchBenjamin LaHaise1-3/+3
2013-08-30aio: remove unnecessary debugging from aio_free_ring()Benjamin LaHaise1-5/+0
2013-08-07aio: table lookup: verify ctx pointerBenjamin LaHaise1-1/+1
2013-08-05aio: fix error handling and rcu usage in "convert the ioctx list to table loo...Benjamin LaHaise1-8/+9
2013-07-31aio: be defensive to ensure request batching is non-zero instead of BUG_ON()Benjamin LaHaise1-1/+2
2013-07-30aio: convert the ioctx list to table lookup v3Benjamin LaHaise1-22/+114
2013-07-30aio: double aio_max_nr in calculationsBenjamin LaHaise1-2/+2
2013-07-30aio: Kill ki_dtorKent Overstreet1-2/+0
2013-07-30aio: Kill ki_usersKent Overstreet1-35/+12
2013-07-30aio: Kill unneeded kiocb membersKent Overstreet1-29/+40
2013-07-30aio: Kill aio_rw_vect_retry()Kent Overstreet1-73/+18