aboutsummaryrefslogtreecommitdiffstats
path: root/block/fops.c
AgeCommit message (Expand)AuthorFilesLines
2026-05-28block: add a bio_endio_status helperChristoph Hellwig1-2/+1
2026-05-26block: remove blkdev_write_begin() and blkdev_write_end()Tal Zussman1-24/+0
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds1-1/+1
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook1-2/+1
2025-12-04block: enable per-cpu bio cache by defaultFengnan Chang1-4/+0
2025-11-05iomap: add caller-provided callbacks for read and readaheadJoanne Koong1-2/+3
2025-10-07block: move bio_iov_iter_get_bdev_pages to block/fops.cChristoph Hellwig1-3/+10
2025-10-02Merge tag 'for-6.18/block-20250929' of git://git.kernel.org/pub/scm/linux/ker...Linus Torvalds1-5/+5
2025-09-09block: simplify direct io validity checkKeith Busch1-2/+2
2025-09-09block: add size alignment to bio_iov_iter_get_pagesKeith Busch1-3/+3
2025-08-20block: don't silently ignore metadata for sync read/writeChristoph Hellwig1-5/+5
2025-08-20fs: add a FMODE_ flag to indicate IOCB_HAS_METADATA availabilityChristoph Hellwig1-0/+3
2025-07-28Merge tag 'vfs-6.17-rc1.iomap' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-12/+25
2025-07-28Merge tag 'vfs-6.17-rc1.mmap_prepare' of git://git.kernel.org/pub/scm/linux/k...Linus Torvalds1-6/+6
2025-07-28Merge tag 'vfs-6.17-rc1.fallocate' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-19/+25
2025-07-16fs: change write_begin/write_end interface to take struct kiocb *Taotao Chen1-5/+8
2025-07-14iomap: replace iomap_folio_ops with iomap_write_opsChristoph Hellwig1-1/+2
2025-07-14iomap: hide ioends from the generic writeback codeChristoph Hellwig1-0/+1
2025-07-14iomap: refactor the writeback interfaceChristoph Hellwig1-9/+16
2025-07-14iomap: pass more arguments using the iomap writeback contextChristoph Hellwig1-2/+6
2025-06-24fs: Remove three arguments from block_write_end()Matthew Wilcox (Oracle)1-1/+1
2025-06-23block: add FALLOC_FL_WRITE_ZEROES supportZhang Yi1-1/+11
2025-06-23block: factor out common part in blkdev_fallocate()Zhang Yi1-18/+14
2025-06-19fs: convert most other generic_file_*mmap() users to .mmap_prepare()Lorenzo Stoakes1-6/+6
2025-05-06block: expose write streams for block device nodesChristoph Hellwig1-0/+23
2025-05-02block: use writeback_iterChristoph Hellwig1-2/+3
2025-04-24block: don't autoload drivers on statChristoph Hellwig1-1/+1
2025-04-23block: fix race between set_blocksize and read pathsDarrick J. Wong1-0/+16
2025-01-23block: don't revert iter for -EIOCBQUEUEDJens Axboe1-2/+3
2024-12-23block: add support to pass user meta bufferKanchan Joshi1-10/+35
2024-11-27block: Don't allow an atomic write be truncated in blkdev_write_iter()John Garry1-1/+4
2024-10-19fs/block: Check for IOCB_DIRECT in generic_atomic_write_valid()John Garry1-8/+10
2024-10-19block/fs: Pass an iocb to generic_atomic_write_valid()John Garry1-4/+4
2024-09-20Merge tag 'vfs-6.12.blocksize' of gitolite.kernel.org:pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2024-09-16Merge tag 'for-6.12/io_uring-discard-20240913' of git://git.kernel.dk/linuxLinus Torvalds1-0/+2
2024-09-16Merge tag 'vfs-6.12.fallocate' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-9/+1
2024-09-11block: implement async io_uring discard cmdPavel Begunkov1-0/+2
2024-09-03iomap: add a private argument for iomap_file_buffered_writeJosef Bacik1-1/+1
2024-08-28block: remove checks for FALLOC_FL_NO_HIDE_STALEChristoph Hellwig1-9/+1
2024-08-07fs: Convert aops->write_begin to take a folioMatthew Wilcox (Oracle)1-2/+2
2024-08-07fs: Convert aops->write_end to take a folioMatthew Wilcox (Oracle)1-2/+1
2024-08-07buffer: Convert block_write_end() to take a folioMatthew Wilcox (Oracle)1-1/+1
2024-08-07block: Use a folio in blkdev_write_end()Matthew Wilcox (Oracle)1-2/+3
2024-06-27block: clean up the check in blkdev_iomap_begin()Li Nan1-2/+3
2024-06-20block: Add fops atomic write supportJohn Garry1-3/+17
2024-05-21Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-2/+2
2024-05-13Merge tag 'for-6.10/block-20240511' of git://git.kernel.dk/linuxLinus Torvalds1-18/+13
2024-05-03block: refine the EOF check in blkdev_iomap_beginChristoph Hellwig1-1/+1
2024-05-03blkdev_write_iter(): saner way to get inode and bdevAl Viro1-2/+2
2024-04-15block: Call blkdev_dio_unaligned() from blkdev_direct_IO()John Garry1-17/+12
2024-04-07fs: claw back a few FMODE_* bitsChristian Brauner1-0/+1
2024-03-11Merge tag 'vfs-6.9.super' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-26/+20
2024-03-04Merge tag 'vfs-6.9.rw_hint' of gitolite.kernel.org:pub/scm/linux/kernel/git/v...Christian Brauner1-0/+3
2024-02-25block: remove bdev_handle completelyChristian Brauner1-11/+10
2024-02-25bdev: remove bdev pointer from struct bdev_handleChristian Brauner1-1/+1
2024-02-25bdev: make struct bdev_handle private to the block layerChristian Brauner1-21/+16
2024-02-06block, fs: Restore the per-bio/request data lifetime fieldsBart Van Assche1-0/+3
2024-02-01iomap: pass the length of the dirty region to ->map_blocksChristoph Hellwig1-1/+1
2023-12-29fs: convert block_write_full_page to block_write_full_folioMatthew Wilcox (Oracle)1-3/+18
2023-12-10fs: convert error_remove_page to error_remove_folioMatthew Wilcox (Oracle)1-1/+1
2023-10-28block: Use bdev_open_by_dev() in blkdev_open()Jan Kara1-16/+28
2023-10-11block: Don't invalidate pagecache for invalid falloc modesSarthak Kukreti1-5/+16
2023-08-31block: remove the call to file_remove_privs in blkdev_write_iterChristoph Hellwig1-4/+0
2023-08-29Merge tag 'for-6.6/block-2023-08-28' of git://git.kernel.dk/linuxLinus Torvalds1-13/+130
2023-08-09block: don't make REQ_POLLED imply REQ_NOWAITJens Axboe1-3/+4
2023-08-02fs: add CONFIG_BUFFER_HEADChristoph Hellwig1-10/+60
2023-08-02block: use iomap for writes to block devicesChristoph Hellwig1-2/+29
2023-08-02block: stop setting ->direct_IOChristoph Hellwig1-2/+1
2023-08-02block: open code __generic_file_write_iter for blkdev writesChristoph Hellwig1-2/+43
2023-06-28Merge tag 'mm-stable-2023-06-24-19-15' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-15/+3
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-22/+41
2023-06-26Merge tag 'for-6.5/io_uring-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+4
2023-06-26Merge tag 'for-6.5/splice-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-1/+1
2023-06-12block: store the holder in file->private_dataChristoph Hellwig1-6/+8
2023-06-12block: always use I_BDEV on file->f_mapping->host to find the bdevChristoph Hellwig1-10/+8
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-6/+26
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-2/+4
2023-06-12block: rename blkdev_close to blkdev_releaseChristoph Hellwig1-2/+2
2023-06-09filemap: add a kiocb_write_and_wait helperChristoph Hellwig1-15/+3
2023-06-05block: introduce holder opsChristoph Hellwig1-1/+1
2023-05-24Merge branch 'for-6.5/splice' into for-6.5/blockJens Axboe1-1/+1
2023-05-24splice: Use filemap_splice_read() instead of generic_file_splice_read()David Howells1-1/+1
2023-05-20block: don't plug in blkdev_write_iterChristoph Hellwig1-3/+0
2023-05-19block: Deny writable memory mapping if block is read-onlyLoic Poulain1-1/+11
2023-05-15block: mark bdev files as FMODE_NOWAIT if underlying device supports itJens Axboe1-1/+4
2023-01-29block: don't allow multiple bios for IOCB_NOWAIT issueJens Axboe1-3/+18
2022-11-16block: remove blkdev_writepagesChristoph Hellwig1-7/+0
2022-08-08new iov_iter flavour - ITER_UBUFAl Viro1-3/+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-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-08-02mm/migrate: Convert buffer_migrate_page() to buffer_migrate_folio()Matthew Wilcox (Oracle)1-1/+1
2022-07-14block: Use the new blk_opf_t typeBart Van Assche1-6/+6
2022-06-27block: relax direct io memory alignmentKeith Busch1-2/+2
2022-06-27block: add a helper function for dio alignmentKeith Busch1-6/+10
2022-06-10iocb: delay evaluation of IS_SYNC(...) until we want to check IOCB_DSYNCAl Viro1-1/+1
2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-7/+5
2022-05-09fs: Convert block_read_full_page() to block_read_full_folio()Matthew Wilcox (Oracle)1-3/+3
2022-05-08fs: Remove flags parameter from aops->write_beginMatthew Wilcox (Oracle)1-2/+1
2022-05-08fs: Remove aop flags parameter from block_write_begin()Matthew Wilcox (Oracle)1-2/+1
2022-05-02block: ignore RWF_HIPRI hint for sync dioMing Lei1-21/+1
2022-04-17block: decouple REQ_OP_SECURE_ERASE from REQ_OP_DISCARDChristoph Hellwig1-1/+1
2022-04-17block: allow using the per-cpu bio cache from bio_alloc_biosetMike Snitzer1-3/+8
2022-03-26Merge tag 'for-5.18/write-streams-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-3/+0
2022-03-22Merge tag 'folio-5.18b' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+2
2022-03-21Merge tag 'for-5.18/block-2022-03-18' of git://git.kernel.dk/linux-blockLinus Torvalds1-19/+16
2022-03-16fs: Convert __set_page_dirty_buffers to block_dirty_folioMatthew Wilcox (Oracle)1-1/+1
2022-03-15fs: Turn block_invalidatepage into block_invalidate_folioMatthew Wilcox (Oracle)1-0/+1
2022-03-07block: remove the per-bio/request write hintChristoph Hellwig1-3/+0
2022-03-07Merge branch 'for-5.18/block' into for-5.18/write-streamsJens Axboe1-19/+16
2022-02-22block: clear iocb->private in blkdev_bio_end_io_async()Stefano Garzarella1-0/+2
2022-02-02block: pass a block_device and opf to bio_initChristoph Hellwig1-9/+9
2022-02-02block: pass a block_device and opf to bio_allocChristoph Hellwig1-3/+1
2022-02-02block: pass a block_device and opf to bio_alloc_kiocbChristoph Hellwig1-9/+8
2022-02-02block: fix DIO handling regressions in blkdev_read_iter()Ilya Dryomov1-14/+19
2022-01-12Merge tag 'for-5.17/block-2022-01-11' of git://git.kernel.dk/linux-blockLinus Torvalds1-5/+32
2021-12-11Merge tag 'block-5.16-2021-12-10' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+1
2021-12-07block: fix single bio async DIO error handlingPavel Begunkov1-2/+1
2021-12-03block: move direct_IO into our own read_iter handlerJens Axboe1-5/+32
2021-12-03treewide: Add missing includes masked by cgroup -> bpf dependencyJakub Kicinski1-0/+1
2021-11-09Merge tag 'for-5.16/bdev-size-2021-11-09' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2021-11-05block: use new bdev_nr_bytes() helper for blkdev_{read,write}_iter()Jens Axboe1-2/+2
2021-11-01Merge tag 'for-5.16/ki_complete-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2021-11-01Merge tag 'for-5.16/bdev-size-2021-10-29' of git://git.kernel.dk/linux-blockLinus Torvalds1-1/+1
2021-10-27block: add async version of bio_set_polledPavel Begunkov1-4/+3
2021-10-27block: kill DIO_MULTI_BIOPavel Begunkov1-21/+12
2021-10-27block: kill unused polling bits in __blkdev_direct_IO()Pavel Begunkov1-17/+3
2021-10-27block: avoid extra iter advance with async iocbPavel Begunkov1-5/+15
2021-10-25fs: get rid of the res2 iocb->ki_complete argumentJens Axboe1-1/+1
2021-10-25block: add single bio async direct IO helperPavel Begunkov1-3/+84
2021-10-21block: convert fops.c magic constants to SHIFT_SECTORPavel Begunkov1-8/+10
2021-10-21block: optimise boundary blkdev_read_iter's checksPavel Begunkov1-8/+11
2021-10-19block: align blkdev_dio inlined bio to a cachelineJens Axboe1-1/+1
2021-10-18block: use bdev_nr_bytes instead of open coding it in blkdev_fallocateChristoph Hellwig1-1/+1
2021-10-18block: add a struct io_comp_batch argument to fops->iopoll()Jens Axboe1-2/+2
2021-10-18block: use flags instead of bit fields for blkdev_dioJens Axboe1-14/+20
2021-10-18block: cache bdev in struct file for raw bdev IOPavel Begunkov1-15/+12
2021-10-18block: switch polling to be bio basedChristoph Hellwig1-17/+8
2021-10-18block: replace the spin argument to blk_iopoll with a flags argumentChristoph Hellwig1-4/+4
2021-10-18block: don't try to poll multi-bio I/Os in __blkdev_direct_IOChristoph Hellwig1-14/+7
2021-10-18block: merge block_ioctl into blkdev_ioctlChristoph Hellwig1-18/+1
2021-09-24block: hold ->invalidate_lock in blkdev_fallocateMing Lei1-11/+10
2021-09-07block: split out operations on block special filesChristoph Hellwig1-0/+640