aboutsummaryrefslogtreecommitdiffstats
path: root/fs/direct-io.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-06block, fs: Restore the per-bio/request data lifetime fieldsBart Van Assche1-0/+2
2023-11-18fs : Fix warning using plain integer as NULLAbhinav Singh1-1/+1
2023-10-18treewide: mark stuff as __ro_after_initAlexey Dobriyan1-1/+1
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-8/+2
2023-06-14block: Fix dio_cleanup() to advance the head indexDavid Howells1-0/+1
2023-06-09filemap: add a kiocb_invalidate_post_direct_write helperChristoph Hellwig1-8/+2
2023-05-31block: Use iov_iter_extract_pages() and page pinning in direct-io.cDavid Howells1-29/+43
2023-05-24block: Replace BIO_NO_PAGE_REF with BIO_PAGE_REFFED with inverted logicChristoph Hellwig1-0/+2
2023-03-05__blockdev_direct_IO(): get rid of submit_io callbackAl Viro1-7/+2
2023-01-26fs: move sb_init_dio_done_wq out of direct-io.cChristoph Hellwig1-24/+0
2022-09-20block: remove PSI accounting from the bio layerChristoph Hellwig1-2/+0
2022-08-08iov_iter: advancing variants of iov_iter_get_pages{,_alloc}()Al Viro1-2/+1
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-1/+1
2022-08-03Merge tag 'pull-work.iov_iter-base' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-1/+1
2022-07-14fs/direct-io: Reduce the size of struct dioBart Van Assche1-17/+23
2022-06-10iocb: delay evaluation of IS_SYNC(...) until we want to check IOCB_DSYNCAl Viro1-1/+1
2022-04-17direct-io: remove random prefetchesChristoph Hellwig1-28/+4
2022-03-07block: remove the per-bio/request write hintChristoph Hellwig1-3/+0
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-4/+1
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-1/+1
2021-10-18direct-io: remove blk_poll supportChristoph Hellwig1-10/+4
2021-04-09fs: direct-io: fix missing sdio->boundaryJack Qiu1-2/+3
2021-02-28Merge tag 'block-5.12-2021-02-27' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-02-26block: Add bio_max_segsMatthew Wilcox (Oracle)1-1/+1
2021-02-24fs: delete repeated words in commentsRandy Dunlap1-2/+2
2021-01-25block/psi: remove PSI annotations from direct IOPavel Begunkov1-0/+2
2021-01-24block: store a block_device pointer in struct bioChristoph Hellwig1-1/+1
2020-10-15Merge tag 'dio_for_v5.10-rc1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-39/+30
2020-10-08direct-io: defer alignment check until after the EOF checkGabriel Krisman Bertazi1-8/+8
2020-10-08direct-io: don't force writeback for reads beyond EOFGabriel Krisman Bertazi1-13/+11
2020-10-08direct-io: clean up error paths of do_blockdev_direct_IOGabriel Krisman Bertazi1-21/+14
2020-10-07fs: remove no longer used dio_end_io()Goldwyn Rodrigues1-19/+0
2020-07-01block: remove the bd_queue field from struct block_deviceChristoph Hellwig1-2/+2
2020-06-14Merge tag 'for-5.8-part2-tag' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+19
2020-06-09Revert "fs: remove dio_end_io()"David Sterba1-0/+19
2020-06-02Merge tag 'for-5.8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-19/+0
2020-05-28fs: remove dio_end_io()Goldwyn Rodrigues1-19/+0
2020-05-12block: add blk_io_schedule() for avoiding task hung in sync dioMing Lei1-1/+1
2020-01-04fs/direct-io.c: include fs/internal.h for missing prototypeEric Biggers1-0/+2
2019-12-01fs/direct-io.c: keep dio_warn_stale_pagecache() when CONFIG_BLOCK=nKonstantin Khlebnikov1-21/+0
2019-10-14fs/direct-io.c: fix kernel-doc warningRandy Dunlap1-2/+1
2019-06-29direct-io: use bio_release_pages in dio_bio_completeChristoph Hellwig1-12/+3
2019-05-21treewide: Add SPDX license identifier for missed filesThomas Gleixner1-0/+1
2019-04-30block: remove the i argument to bio_for_each_segment_allChristoph Hellwig1-2/+1
2019-02-15block: allow bio_for_each_segment_all() to iterate over multi-page bvecMing Lei1-1/+3
2019-01-22direct-io: allow direct writes to empty inodesErnesto A. Fernández1-2/+3
2018-12-04Merge tag 'v4.20-rc5' into for-4.21/blockJens Axboe1-2/+2
2018-11-30fs: fix lost error code in dio_completeMaximilian Heyne1-2/+2
2018-11-26block: make blk_poll() take a parameter on whether to spin or notJens Axboe1-1/+1
2018-11-07block: add REQ_HIPRI and inherit it from IOCB_HIPRIJens Axboe1-0/+2
2018-10-24iov_iter: Use accessor functionDavid Howells1-1/+1
2018-05-14block: consistently use GFP_NOIO instead of __GFP_NORECLAIMChristoph Hellwig1-2/+2
2018-04-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-5/+4
2018-04-05fs/direct-io.c: minor cleanups in do_blockdev_direct_IONikolay Borisov1-5/+4
2018-03-12direct-io: Remove unused DIO_SKIP_DIO_COUNT logicNikolay Borisov1-4/+2
2018-03-12direct-io: Remove unused DIO_ASYNC_EXTEND flagNikolay Borisov1-2/+1
2018-02-26direct-io: Fix sleep in atomic due to sync AIOJan Kara1-2/+1
2018-01-08iomap: report collisions between directio and buffered writes to userspaceDarrick J. Wong1-1/+23
2017-11-14Merge branch 'for-4.15/block' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2017-11-03block: add a poll_fn callback to struct request_queueChristoph Hellwig1-1/+1
2017-10-25locking/atomics: COCCINELLE/treewide: Convert trivial ACCESS_ONCE() patterns ...Mark Rutland1-1/+1
2017-10-18Merge tag 'xfs-4.14-fixes-6' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linuxLinus Torvalds1-8/+12
2017-10-18Merge branch 'for-linus' of git://git.kernel.dk/linux-blockLinus Torvalds1-6/+13
2017-10-17fs: Avoid invalidation in interrupt context in dio_complete()Lukas Czerner1-6/+13
2017-10-16fs: invalidate page cache after end_io() in dio completionEryu Guan1-8/+12
2017-10-10direct-io: Prevent NULL pointer access in submit_page_sectionAndreas Gruenbacher1-1/+2
2017-09-25fs: Fix page cache inconsistency when mixing buffered and AIO DIOLukas Czerner1-6/+43
2017-08-23block: replace bi_bdev with a gendisk pointer and partitions indexChristoph Hellwig1-4/+4
2017-06-27fs: add O_DIRECT and aio support for sending down write life time hintsJens Axboe1-0/+2
2017-06-20block: return on congested block deviceGoldwyn Rodrigues1-2/+8
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-4/+4
2017-06-09fs: simplify dio_bio_completeChristoph Hellwig1-4/+2
2017-06-09fs: remove the unused error argument to dio_end_io()Christoph Hellwig1-2/+1
2017-02-27fs: add i_blocksize()Fabian Frederick1-1/+1
2017-01-10do_direct_IO: Use inode->i_blkbits to compute block count to be cleanedChandan Rajendra1-1/+2
2016-12-14Merge tag 'xfs-for-linus-4.10-rc1' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-1/+1
2016-12-14Merge branch 'for-4.10/fs-unmap' of git://git.kernel.dk/linux-blockLinus Torvalds1-21/+7
2016-11-30fs: make sb_init_dio_done_wq available outside of direct-io.cChristoph Hellwig1-1/+1
2016-11-11block: move poll code to blk-mqJens Axboe1-1/+1
2016-11-04direct-io: Use clean_bdev_aliases() instead of handmade iterationJan Kara1-21/+7
2016-11-01block,fs: use REQ_* flags directlyChristoph Hellwig1-1/+1
2016-10-03consistent treatment of EFAULT on O_DIRECT read/writeAl Viro1-0/+3
2016-06-07direct-io: use bio set/get op accessorsMike Christie1-14/+20
2016-06-07block/fs/drivers: remove rw argument from submit_bioMike Christie1-1/+2
2016-05-27direct-io: fix direct write stale data exposure from concurrent buffered readEryu Guan1-7/+7
2016-05-01fs: simplify the generic_write_sync prototypeChristoph Hellwig1-8/+9
2016-05-01fs: add IOCB_SYNC and IOCB_DSYNCChristoph Hellwig1-1/+1
2016-05-01direct-io: remove the offset argument to dio_completeChristoph Hellwig1-5/+5
2016-05-01direct-io: eliminate the offset argument to ->direct_IOChristoph Hellwig1-3/+4
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-13/+13
2016-03-21Merge tag 'xfs-for-linus-4.6-rc1' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-2/+7
2016-03-19Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/vir...Linus Torvalds1-1/+2
2016-03-04direct-io: only use block polling if explicitly requestedChristoph Hellwig1-1/+2
2016-02-08direct-io: always call ->end_io if non-NULLChristoph Hellwig1-2/+7
2016-01-30block: fix use-after-free in dio_bio_completeMike Krinkin1-1/+1
2016-01-22wrappers for ->i_mutex accessAl Viro1-4/+4
2015-12-08fix the regression from "direct-io: Fix negative return from dio read beyond ...Al Viro1-0/+1
2015-11-30direct-io: Fix negative return from dio read beyond eofJan Kara1-1/+9
2015-11-10Merge branch 'for-4.4/io-poll' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+10
2015-11-10direct-io: be sure to assign dio->bio_bdev for both pathsJens Axboe1-3/+3
2015-11-07directio: add block polling supportJens Axboe1-4/+10
2015-11-06mm, page_alloc: rename __GFP_WAIT to __GFP_RECLAIMMel Gorman1-1/+1
2015-09-23fs: direct-io: don't dirtying pages for ITER_BVEC/ITER_KVEC direct readMing Lei1-3/+6
2015-08-13block: remove bio_get_nr_vecs()Kent Overstreet1-1/+1
2015-08-11block: don't access bio->bi_error after bio_put()Sasha Levin1-1/+4
2015-07-29block: add a bi_error field to struct bioChristoph Hellwig1-7/+6
2015-04-24direct-io: only inc/dec inode->i_dio_count for file systemsJens Axboe1-2/+5
2015-04-11Remove rw from {,__,do_}blockdev_direct_IO()Omar Sandoval1-21/+18
2015-03-25fs: move struct kiocb to fs.hChristoph Hellwig1-1/+0
2015-03-13fs: split generic and aio kiocbChristoph Hellwig1-2/+2
2014-09-26fuse: honour max_read and max_write in direct_io modeMiklos Szeredi1-1/+1
2014-08-07switch iov_iter_get_pages() to passing maximal number of pagesAl Viro1-1/+1
2014-08-01direct-io: fix AIO regressionChristoph Hellwig1-5/+4
2014-07-24direct-io: fix uninitialized warning in do_direct_IO()Boaz Harrosh1-7/+7
2014-05-06new helper: iov_iter_npages()Al Viro1-8/+1
2014-05-06new helper: iov_iter_get_pages()Al Viro1-73/+38
2014-05-06dio: take updating ->result into do_direct_IO()Al Viro1-4/+2
2014-05-06new primitive: iov_iter_alignment()Al Viro1-22/+5
2014-05-06switch {__,}blockdev_direct_IO() to iov_iterAl Viro1-17/+16
2014-04-04Merge tag 'xfs-for-linus-3.15-rc1' of git://oss.sgi.com/xfs/xfsLinus Torvalds1-6/+12
2014-04-03fs/direct-io.c: remove redundant comparisonGu Zheng1-1/+0
2014-02-10direct-io: add flag to allow aio writes beyond i_sizeChristoph Hellwig1-6/+12
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-2/+2
2013-09-09direct-io: Use return from cmpxchg to decide of assignment happenedOlof Johansson1-2/+3
2013-09-04direct-io: Handle O_(D)SYNC AIOChristoph Hellwig1-9/+36
2013-09-04direct-io: Implement generic deferred AIO completionsChristoph Hellwig1-16/+69
2013-05-08Merge branch 'for-3.10/core' of git://git.kernel.dk/linux-blockLinus Torvalds1-4/+4
2013-05-07aio: don't include aio.h in sched.hKent Overstreet1-0/+1
2013-04-29direct-io: submit bio after boundary buffer is added to itJan Kara1-17/+11
2013-04-29direct-io: fix boundary block handlingJan Kara1-1/+2
2013-03-23block: Convert some code to bio_for_each_segment_all()Kent Overstreet1-4/+4
2013-02-22fs: Fix possible use-after-free with AIOJan Kara1-1/+1
2012-11-29direct-io: don't read inode->i_blkbits multiple timesLinus Torvalds1-3/+5
2012-08-09block: move down direct IO pluggingFengguang Wu1-0/+5
2012-07-14fs/direct-io.c: adjust suspicious bit operationJulia Lawall1-1/+1
2012-05-31NFS: Ensure that setattr and getattr wait for O_DIRECT write completionTrond Myklebust1-44/+0
2012-02-23Restore direct_io / truncate locking APIAnton Altaparmakov1-2/+2
2012-01-12dio: optimize cache misses in the submission pathAndi Kleen1-9/+37
2012-01-12fs/direct-io.c: calculate fs_count correctly in get_more_blocks()Tao Ma1-7/+4
2011-10-28direct-io: merge direct_io_walker into __blockdev_direct_IOAndi Kleen1-139/+132
2011-10-28direct-io: inline the complete submission pathAndi Kleen1-15/+21
2011-10-28direct-io: separate map_bh from dioAndi Kleen1-29/+37
2011-10-28direct-io: use a slab cache for struct dioAndi Kleen1-5/+14
2011-10-28direct-io: rearrange fields in dio/dio_submit to avoid holesAndi Kleen1-7/+6
2011-10-28direct-io: fix a wrong commentAndi Kleen1-1/+1
2011-10-28direct-io: separate fields only used in the submission path from struct dioAndi Kleen1-188/+201
2011-07-26atomic: use <linux/atomic.h>Arun Sharma1-1/+1
2011-07-20fs: move inode_dio_done to the end_io handlerChristoph Hellwig1-3/+4
2011-07-20fs: always maintain i_dio_countChristoph Hellwig1-12/+13
2011-07-20fs: kill i_alloc_semChristoph Hellwig1-14/+51
2011-07-20fs: simplify handling of zero sized reads in __blockdev_direct_IOChristoph Hellwig1-2/+5
2011-03-24Merge branch 'for-2.6.39/core' of git://git.kernel.dk/linux-2.6-blockLinus Torvalds1-5/+2
2011-03-10block: kill off REQ_UNPLUGJens Axboe1-1/+1
2011-03-10block: remove per-queue pluggingJens Axboe1-4/+1
2011-02-15Merge branch 'master' into for-nextJiri Kosina1-3/+7
2011-01-20fs/direct-io.c: don't try to allocate more than BIO_MAX_PAGES in a bioDavid Dillow1-3/+7
2011-01-19dio: fix typos in commentsNamhyung Kim1-3/+3
2010-10-26fs/direct-io.c: fix truncation error in dio_complete() returnEdward Shishkin1-1/+1
2010-09-09O_DIRECT: fix the splitting up of contiguous I/OJeff Moyer1-2/+2
2010-08-09sort out blockdev_direct_IO variantsChristoph Hellwig1-54/+20
2010-07-26direct-io: move aio_complete into ->end_ioChristoph Hellwig1-12/+14
2010-05-27fs: introduce new truncate sequencenpiggin@suse.de1-21/+40
2010-05-25direct-io: do not merge logically non-contiguous requestsJosef Bacik1-2/+18
2010-05-25direct-io: add a hook for the fs to provide its own submit_bio functionJosef Bacik1-5/+37
2009-12-17dio: fix use-after-freeAl Viro1-1/+1
2009-12-16direct-io: cleanup blockdev_direct_IO lockingChristoph Hellwig1-77/+52
2009-12-16dio: don't zero out the pages array inside struct dioJeff Moyer1-13/+25
2009-11-26Fix regression in direct writes performance due to WRITE_ODIRECT flag removalVivek Goyal1-1/+1
2009-10-28aio: implement request batchingJeff Moyer1-4/+4
2009-10-28block: get rid of the WRITE_ODIRECT flagJeff Moyer1-1/+1
2009-05-22block: Do away with the notion of hardsect_sizeMartin K. Petersen1-1/+1
2009-04-15dio: Remove code handling bio_alloc failure with __GFP_WAITNikanth Karthikesan1-2/+0
2009-04-06block: Add flag for telling the IO schedulers NOT to anticipate more IOJens Axboe1-1/+1
2009-01-06fs: truncate blocks outside i_size after O_DIRECT write errorDmitri Monakhov1-0/+13
2008-10-16Remove Andrew Morton's old email accountsFrancois Cami1-2/+2
2008-07-26dio: use get_user_pages_fastNick Piggin1-8/+2
2008-02-05Pagecache zeroing: zero_user_segment, zero_user_segments and zero_userChristoph Lameter1-2/+2
2007-10-16remove ZERO_PAGENick Piggin1-2/+2
2007-10-10Drop 'size' argument from bio_endio and bi_end_ioNeilBrown1-11/+2
2007-08-20dio: zero struct dio with kzalloc instead of manuallyZach Brown1-17/+1
2007-08-11direct-io: fix error-path crashesBadari Pulavarty1-0/+1
2007-07-03dio: remove bogus refcounting BUG_ONZach Brown1-1/+1
2007-05-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/bunk/trivialLinus Torvalds1-1/+1
2007-05-09fs: convert core functions to zero_user_pageNate Diller1-6/+2
2007-05-09Fix misspellings collected by members of KJ list.Robert P. J. Day1-1/+1
2006-12-10[PATCH] dio: lock refcount operationsZach Brown1-31/+45
2006-12-10[PATCH] dio: only call aio_complete() after returning -EIOCBQUEUEDZach Brown1-55/+35
2006-12-10[PATCH] dio: remove duplicate bio wait codeZach Brown1-29/+12
2006-12-10[PATCH] dio: formalize bio counters as a dio reference countZach Brown1-74/+66
2006-12-10[PATCH] dio: call blk_run_address_space() once per opZach Brown1-5/+3
2006-12-10[PATCH] dio: centralize completion in dio_complete()Zach Brown1-52/+42
2006-12-10[PATCH] io-accounting: direct-ioAndrew Morton1-0/+8
2006-07-03[PATCH] lockdep: annotate direct ioIngo Molnar1-2/+4
2006-06-23[PATCH] Kill PF_SYNCWRITE flagJens Axboe1-10/+8
2006-04-01BUG_ON() Conversion in fs/direct-io.cEric Sesterhenn1-2/+1
2006-03-29Fixes a regression from the recent "remove ->get_blocks() support"Nathan Scott1-3/+4
2006-03-26[PATCH] remove ->get_blocks() supportBadari Pulavarty1-13/+14
2006-03-25[PATCH] direct-io: bug fix in dio handling write errorChen, Kenneth W1-1/+7
2006-03-15Fix a direct I/O locking issue revealed by the new mutex code.Nathan Scott1-9/+12
2006-02-03[PATCH] fix O_DIRECT read of last block in a sparse fileJeff Moyer1-1/+8