aboutsummaryrefslogtreecommitdiffstats
path: root/fs/aio.c
AgeCommit message (Expand)AuthorFilesLines
2024-04-05aio: Fix null ptr deref in aio_complete() wakeupKent Overstreet1-1/+1
2024-03-05fs/aio: Check IOCB_AIO_RW before the struct aio_kiocb conversionBart Van Assche1-2/+6
2024-03-05Revert "fs/aio: Make io_cancel() generate completions again"Bart Van Assche1-11/+16
2024-02-27fs/aio: Make io_cancel() generate completions againBart Van Assche1-16/+11
2024-02-21fs/aio: Restrict kiocb_set_cancel_fn() to I/O submitted via libaioBart Van Assche1-1/+8
2024-01-10Merge tag 'sysctl-6.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/m...Linus Torvalds1-1/+0
2024-01-08Merge tag 'vfs-6.8.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2023-12-28fs: Remove the now superfluous sentinel elements from ctl_table arrayJoel Granados1-1/+0
2023-12-05iov_iter: replace import_single_range() with import_ubuf()Jens Axboe1-1/+1
2023-12-05iov_iter: remove unused 'iov' argument from import_single_range()Jens Axboe1-1/+1
2023-11-28fs/aio: obey min_nr when doing wakeupsKent Overstreet1-10/+57
2023-11-28eventfd: simplify eventfd_signal()Christian Brauner1-1/+1
2023-11-21fs: Rename mapping private membersMatthew Wilcox (Oracle)1-8/+8
2023-09-20aio: Annotate struct kioctx_table with __counted_byKees Cook1-1/+1
2023-08-31Merge tag 'x86_shstk_for_6.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2023-08-21aio: use kiocb_{start,end}_write() helpersAmir Goldstein1-17/+3
2023-07-11mm: Re-introduce vm_flags to do_mmap()Yu-cheng Yu1-1/+1
2023-06-15fs/aio: Stop allocating aio rings from HIGHMEMFabio M. De Francesco1-17/+9
2023-02-10Merge branch 'mm-hotfixes-stable' into mm-stableAndrew Morton1-0/+4
2023-02-09mm: replace vma->vm_flags direct modifications with modifier callsSuren Baghdasaryan1-1/+1
2023-02-03aio: fix mremap after fork null-derefSeth Jenkins1-0/+4
2022-11-25use less confusing names for iov_iter direction initializersAl Viro1-2/+2
2022-09-11aio: use atomic_try_cmpxchg in __get_reqs_availableUros Bizjak1-6/+3
2022-08-03Merge tag 'pull-work.iov_iter-base' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2022-08-02aio: Convert to migrate_folioMatthew Wilcox (Oracle)1-18/+18
2022-06-10keep iocb_flags() result cached in struct fileAl Viro1-1/+1
2022-04-01Merge branch 'work.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+0
2022-03-26Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+0
2022-03-16fs: Convert __set_page_dirty_no_writeback to noop_dirty_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-15aio: drop needless assignment in aio_read()Lukas Bulwahn1-1/+0
2022-03-08fs: remove kiocb.ki_hintChristoph Hellwig1-1/+0
2022-01-22aio: move aio sysctl to aio.cXiaoming Ni1-2/+29
2021-12-09aio: Fix incorrect usage of eventfd_signal_allowed()Xie Yongji1-1/+1
2021-12-09aio: fix use-after-free due to missing POLLFREE handlingEric Biggers1-31/+106
2021-12-09aio: keep poll requests on waitqueue until completedEric Biggers1-20/+63
2021-11-01Merge tag 'kspp-misc-fixes-5.16-rc1' of git://git.kernel.org/pub/scm/linux/ke...Linus Torvalds1-2/+1
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-3/+3
2021-10-20aio: Prefer struct_size over open coded arithmeticLen Baker1-2/+1
2021-08-28eventfd: Make signal recursion protection a task bitThomas Gleixner1-1/+1
2021-04-30Revert "mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aio"Brian Geffon1-4/+1
2020-12-15Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-1/+4
2020-12-15mremap: don't allow MREMAP_DONTUNMAP on special_mappings and aioDmitry Safonov1-1/+4
2020-12-14Merge tag 'core-mm-2020-12-14' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+0
2020-11-10vfs: separate __sb_start_write into blocking and non-blocking helpersDarrick J. Wong1-1/+1
2020-11-06fs: Remove asm/kmap_types.h includesThomas Gleixner1-1/+0
2020-10-12Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-6/+2
2020-10-03iov_iter: transparently handle compat iovecs in import_iovecChristoph Hellwig1-6/+2
2020-08-23treewide: Use fallthrough pseudo-keywordGustavo A. R. Silva1-1/+1
2020-08-07mm: remove unnecessary wrapper function do_mmap_pgoff()Peter Collingbourne1-3/+3
2020-06-15aio: Replace zero-length array with flexible-arrayGustavo A. R. Silva1-1/+1
2020-06-10kernel: move use_mm/unuse_mm to kthread.cChristoph Hellwig1-1/+0
2020-06-09mmap locking API: use coccinelle to convert mmap_sem rwsem call sitesMichel Lespinasse1-2/+2
2020-05-14aio: fix async fsync credsMiklos Szeredi1-0/+8
2020-02-03aio: prevent potential eventfd recursion on pollJens Axboe1-2/+18
2019-12-01Merge tag 'y2038-cleanups-5.5' of git://git.kernel.org:/pub/scm/linux/kernel/...Linus Torvalds1-1/+1
2019-11-15y2038: remove CONFIG_64BIT_TIMEArnd Bergmann1-1/+1
2019-10-21aio: Fix io_pgetevents() struct __compat_aio_sigset layoutGuillem Jover1-5/+5
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