aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/extent_io.h
AgeCommit message (Expand)AuthorFilesLines
2025-11-24btrfs: headers cleanup to remove unnecessary local includesQu Wenruo1-1/+0
2025-09-23btrfs: prepare compression folio alloc/free for bs > ps casesQu Wenruo1-1/+2
2025-07-21btrfs: make extent_buffer_test_bit() return a boolean insteadFilipe Manana1-2/+2
2025-07-21btrfs: use refcount_t type for the extent buffer reference counterFilipe Manana1-1/+1
2025-05-15btrfs: use buffer xarray for extent buffer writeback operationsJosef Bacik1-0/+1
2025-05-15btrfs: use unsigned types for constants defined as bit shiftsDavid Sterba1-1/+1
2025-05-15btrfs: remove unused flag EXTENT_BUFFER_IN_TREEDaniel Vacek1-1/+0
2025-05-15btrfs: remove unused flag EXTENT_BUFFER_CORRUPTDaniel Vacek1-1/+0
2025-05-15btrfs: remove unused flag EXTENT_BUFFER_READAHEADDaniel Vacek1-2/+0
2025-05-15btrfs: remove unused flag EXTENT_BUFFER_READ_ERRDaniel Vacek1-2/+0
2025-05-02btrfs: handle empty eb->folios in num_extent_folios()Boris Burkov1-0/+2
2025-03-18btrfs: add __pure attribute to eb page and folio countersDavid Sterba1-2/+5
2025-03-18btrfs: merge alloc_dummy_extent_buffer() helpersDavid Sterba1-2/+0
2025-03-18btrfs: don't pass nodesize to __alloc_extent_buffer()David Sterba1-1/+1
2025-01-13btrfs: split waiting from read_extent_buffer_pages(), drop parameter waitDavid Sterba1-3/+4
2025-01-13btrfs: remove unused define WAIT_PAGE_LOCK for extent ioDavid Sterba1-1/+0
2025-01-13btrfs: make wait_on_extent_buffer_writeback() static inlineDavid Sterba1-1/+6
2025-01-13btrfs: open code set_page_extent_mapped()David Sterba1-1/+0
2024-09-10btrfs: convert try_release_extent_mapping() to take a folioLi Zetao1-1/+1
2024-09-10btrfs: convert try_release_extent_buffer() to take a folioLi Zetao1-1/+1
2024-09-10btrfs: convert clear_page_extent_mapped() to take a folioLi Zetao1-1/+1
2024-09-10btrfs: convert extent_write_locked_range() to take a folioJosef Bacik1-1/+1
2024-09-10btrfs: convert extent_clear_unlock_delalloc() to take a folioJosef Bacik1-1/+1
2024-09-10btrfs: convert find_lock_delalloc_range() to use a folioJosef Bacik1-1/+1
2024-07-11btrfs: move extent_range_clear_dirty_for_io() into inode.cQu Wenruo1-1/+0
2024-07-11btrfs: rename the extra_gfp parameter of btrfs_alloc_page_array()Qu Wenruo1-1/+1
2024-07-11btrfs: remove the extra_gfp parameter from btrfs_alloc_folio_array()Qu Wenruo1-2/+1
2024-07-11btrfs: preallocate ulist memory for qgroup rsvBoris Burkov1-0/+5
2024-07-11btrfs: constify pointer parameters where applicableDavid Sterba1-3/+3
2024-07-11btrfs: move fiemap code into its own fileFilipe Manana1-2/+0
2024-05-07btrfs: add a cached state to extent_clear_unlock_delallocJosef Bacik1-0/+2
2024-05-07btrfs: make try_release_extent_mapping() return a boolFilipe Manana1-1/+1
2024-05-07btrfs: introduce btrfs_alloc_folio_array()Qu Wenruo1-0/+2
2024-05-07btrfs: remove pointless writepages callback wrapperFilipe Manana1-2/+1
2024-05-07btrfs: remove pointless readahead callback wrapperFilipe Manana1-1/+1
2024-03-04btrfs: add forward declarations and headers, part 2David Sterba1-5/+20
2024-03-04btrfs: add set_folio_extent_mapped() helperMatthew Wilcox (Oracle)1-0/+1
2024-03-04btrfs: remove extent_map_tree forward declaration at extent_io.hFilipe Manana1-2/+0
2024-03-04btrfs: cache folio size and shift in extent_bufferQu Wenruo1-3/+13
2023-12-15btrfs: migrate get_eb_page_index() and get_eb_offset_in_page() to foliosQu Wenruo1-13/+27
2023-12-15btrfs: cleanup metadata page pointer usageQu Wenruo1-0/+14
2023-12-15btrfs: migrate extent_buffer::pages[] to folioQu Wenruo1-1/+6
2023-12-15btrfs: refactor alloc_extent_buffer() to allocate-then-attach methodQu Wenruo1-1/+2
2023-12-15btrfs: allow extent buffer helpers to skip cross-page handlingQu Wenruo1-0/+7
2023-12-15btrfs: rename EXTENT_BUFFER_NO_CHECK to EXTENT_BUFFER_ZONED_ZEROOUTJohannes Thumshirn1-1/+2
2023-12-15btrfs: migrate to use folio private instead of page privateQu Wenruo1-3/+3
2023-10-12btrfs: move extent_buffer::lock_owner to debug sectionDavid Sterba1-2/+2
2023-08-21btrfs: zoned: introduce block group context to btrfs_eb_write_contextNaohiro Aota1-0/+2
2023-08-21btrfs: introduce struct to consolidate extent buffer write contextNaohiro Aota1-0/+5
2023-08-21btrfs: use write_extent_buffer() to implement write_extent_buffer_*id()Qu Wenruo1-3/+16
2023-08-21btrfs: don't redirty locked_page in run_delalloc_zonedChristoph Hellwig1-2/+3
2023-08-21btrfs: don't redirty pages in compress_file_rangeChristoph Hellwig1-2/+1
2023-08-21btrfs: remove the return value from extent_write_locked_rangeChristoph Hellwig1-2/+2
2023-08-21btrfs: remove end_extent_writepageChristoph Hellwig1-2/+0
2023-08-21btrfs: split page locking out of __process_pages_contigChristoph Hellwig1-1/+0
2023-06-19btrfs: don't treat zoned writeback as being from an async helper threadChristoph Hellwig1-1/+2
2023-06-19btrfs: remove PAGE_SET_ERRORChristoph Hellwig1-1/+0
2023-06-19btrfs: use per-buffer locking for extent_buffer readingChristoph Hellwig1-0/+2
2023-06-19btrfs: remove the io_pages field in struct extent_bufferChristoph Hellwig1-1/+0
2023-06-19btrfs: mark extent_buffer_under_io staticChristoph Hellwig1-1/+0
2023-06-19btrfs: don't hold an extra reference for redirtied buffersChristoph Hellwig1-1/+0
2023-06-19btrfs: fix dirty_metadata_bytes for redirtied buffersChristoph Hellwig1-1/+1
2023-02-15btrfs: combine btrfs_clear_buffer_dirty and clear_extent_buffer_dirtyJosef Bacik1-1/+4
2023-02-15btrfs: remove the io_failure_record infrastructureChristoph Hellwig1-31/+0
2022-12-05btrfs: move eb offset helpers into extent_io.hJosef Bacik1-0/+33
2022-12-05btrfs: move repair_io_failure to bio.cChristoph Hellwig1-1/+0
2022-12-05btrfs: move tree block parentness check into validate_extent_buffer()Qu Wenruo1-2/+3
2022-12-05btrfs: pass btrfs_inode to btrfs_repair_one_sectorDavid Sterba1-1/+1
2022-12-05btrfs: change how submit bio callback is passed to btrfs_wq_submit_bioDavid Sterba1-3/+0
2022-12-05btrfs: change how repair action is passed to btrfs_repair_one_sectorDavid Sterba1-5/+1
2022-12-05btrfs: convert extent_io page op defines to enum bitsDavid Sterba1-7/+10
2022-09-26btrfs: move extent io tree unrelated prototypes to their appropriate headerJosef Bacik1-0/+5
2022-09-26btrfs: separate out the extent state and extent buffer init codeJosef Bacik1-0/+3
2022-09-26btrfs: convert the io_failure_tree to a plain rb_treeJosef Bacik1-1/+5
2022-09-26btrfs: move btrfs_bio allocation to volumes.cChristoph Hellwig1-3/+0
2022-07-25btrfs: fix repair of compressed extentsChristoph Hellwig1-1/+0
2022-07-25btrfs: pass a btrfs_bio to btrfs_repair_one_sectorChristoph Hellwig1-4/+3
2022-07-25btrfs: repair all known bad mirrorsChristoph Hellwig1-0/+1
2022-07-25btrfs: remove extent writepage address space operationChristoph Hellwig1-1/+0
2022-07-25btrfs: remove unused typedefs get_extent_t and btrfs_work_func_tDavid Sterba1-4/+0
2022-07-25btrfs: do not allocate a btrfs_bio for low-level biosChristoph Hellwig1-1/+0
2022-05-24Merge tag 'folio-5.19' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-1/+1
2022-05-16btrfs: zoned: properly finish block group on metadata writeNaohiro Aota1-1/+0
2022-05-16btrfs: rename bio_flags in parameters and switch typeDavid Sterba1-1/+1
2022-05-16btrfs: rename io_failure_record::bio_flags to compress_typeDavid Sterba1-1/+2
2022-05-16btrfs: open code extent_set_compress_type helpersDavid Sterba1-11/+0
2022-05-16btrfs: simplify handling of bio_ctrl::bio_flagsDavid Sterba1-9/+2
2022-05-16btrfs: do not return errors from submit_bio_hook_t instancesChristoph Hellwig1-1/+1
2022-05-16btrfs: move btrfs_readpage to extent_io.cChristoph Hellwig1-15/+1
2022-05-16btrfs: avoid double clean up when submit_one_bio() failedQu Wenruo1-2/+1
2022-05-16btrfs: pass a block_device to btrfs_bio_cloneChristoph Hellwig1-1/+1
2022-05-16btrfs: factor out allocating an array of pagesSweet Tea Dorminy1-0/+2
2022-03-23btrfs: fix qgroup reserve overflow the qgroup limitEthan Lien1-1/+1
2021-10-26btrfs: cleanup for extent_write_locked_range()Qu Wenruo1-2/+1
2021-10-26btrfs: rename struct btrfs_io_bio to btrfs_bioQu Wenruo1-1/+1
2021-10-26btrfs: remove btrfs_bio_alloc() helperQu Wenruo1-1/+0
2021-10-26btrfs: unexport repair_io_failure()Qu Wenruo1-3/+0
2021-10-26btrfs: zoned: finish fully written block groupNaohiro Aota1-0/+1
2021-08-23btrfs: fix argument type of btrfs_bio_clone_partial()Chaitanya Kulkarni1-1/+1
2021-06-21btrfs: rename PagePrivate2 to PageOrdered inside btrfsQu Wenruo1-1/+1
2021-06-21btrfs: refactor submit_extent_page() to make bio and its flag tracing easierQu Wenruo1-1/+12
2021-06-21btrfs: remove io_failure_record::in_validationQu Wenruo1-2/+1
2021-06-21btrfs: submit read time repair only for each corrupted sectorQu Wenruo1-6/+5
2021-04-19btrfs: move forward declarations to the beginning of extent_io.hWan Jiabing1-3/+1
2021-02-09btrfs: zoned: redirty released extent buffersNaohiro Aota1-0/+2
2021-02-08btrfs: introduce btrfs_subpage for data inodesQu Wenruo1-1/+2
2021-02-08btrfs: merge PAGE_CLEAR_DIRTY and PAGE_SET_WRITEBACK to PAGE_START_WRITEBACKQu Wenruo1-6/+6
2020-12-09btrfs: update num_extent_pages to support subpage sized extent bufferQu Wenruo1-2/+8
2020-12-09btrfs: calculate inline extent buffer page size based on page sizeQu Wenruo1-2/+2
2020-12-09btrfs: pass bio_offset to check_data_csum() directlyQu Wenruo1-1/+1
2020-12-09btrfs: rename bio_offset of extent_submit_bio_start_t to dio_file_offsetQu Wenruo1-1/+1
2020-12-08btrfs: use fixed width int type for extent_state::stateQu Wenruo1-2/+1
2020-12-08btrfs: remove extent_buffer::recursedJosef Bacik1-1/+0
2020-12-08btrfs: pass the owner_root and level to alloc_extent_bufferJosef Bacik1-2/+2
2020-12-08btrfs: cleanup extent buffer readaheadJosef Bacik1-0/+3
2020-12-08btrfs: reorder extent buffer members for better packingDavid Sterba1-3/+3
2020-12-08btrfs: replace fs_info and private_data with inode in btrfs_wq_submit_bioQu Wenruo1-1/+1
2020-12-08btrfs: switch extent buffer tree lock to rw_semaphoreJosef Bacik1-19/+2
2020-10-07btrfs: remove struct extent_io_opsNikolay Borisov1-9/+0
2020-10-07btrfs: remove extent_io_ops::readpage_end_io_hookNikolay Borisov1-4/+1
2020-10-07btrfs: open code extent_read_full_page to its sole callerNikolay Borisov1-2/+3
2020-10-07btrfs: sink read_flags argument into extent_read_full_pageNikolay Borisov1-1/+1
2020-10-07btrfs: sink mirror_num argument in extent_read_full_pageNikolay Borisov1-1/+1
2020-10-07btrfs: promote extent_read_full_page to btrfs_readpageNikolay Borisov1-1/+4
2020-10-07btrfs: remove mirror_num argument from extent_read_full_pageNikolay Borisov1-1/+1
2020-10-07btrfs: remove btrfs_get_extent indirection from __do_readpageNikolay Borisov1-2/+1
2020-10-07btrfs: make extent_fiemap take btrfs_inodeNikolay Borisov1-1/+1
2020-10-07btrfs: rename extent_buffer::lock_nested to extent_buffer::lock_recursedJosef Bacik1-1/+1
2020-08-27btrfs: fix potential deadlock in the search ioctlJosef Bacik1-3/+3
2020-07-27btrfs: don't use UAPI types for fiemap callbackDavid Sterba1-1/+1
2020-07-27btrfs: make extent_clear_unlock_delalloc take btrfs_inodeNikolay Borisov1-1/+1
2020-06-05Merge tag 'ext4_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/t...Linus Torvalds1-0/+1
2020-06-03fs: move the fiemap definitions out of fs.hChristoph Hellwig1-0/+1
2020-06-02Merge tag 'for-5.8-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-32/+35
2020-06-02btrfs: convert from readpages to readaheadMatthew Wilcox (Oracle)1-2/+1
2020-05-25btrfs: constify extent_buffer in the API functionsDavid Sterba1-20/+24
2020-05-25btrfs: remove unused map_private_extent_bufferDavid Sterba1-4/+0
2020-05-25btrfs: unify buffered and direct I/O read repairOmar Sandoval1-6/+11
2020-05-25btrfs: make btrfs_check_repairable() staticOmar Sandoval1-3/+0
2020-05-25btrfs: look at full bi_io_vec for repair decisionOmar Sandoval1-2/+3
2020-03-23btrfs: make the extent buffer leak check per fs infoJosef Bacik1-0/+7
2020-03-23btrfs: sink argument tree to extent_read_full_pageDavid Sterba1-2/+2
2020-01-20btrfs: drop create parameter to btrfs_get_extent()Omar Sandoval1-4/+2
2019-11-18btrfs: opencode extent_buffer_getDavid Sterba1-5/+0
2019-11-18btrfs: move the failrec tree stuff into extent-io-tree.hJosef Bacik1-11/+0
2019-11-18btrfs: move extent_io_tree defs to their own headerJosef Bacik1-216/+1
2019-11-18btrfs: separate out the extent io init functionJosef Bacik1-0/+2
2019-09-09btrfs: Remove delalloc_end argument from extent_clear_unlock_delallocNikolay Borisov1-3/+3
2019-07-04btrfs: Evaluate io_tree in find_lock_delalloc_range()Goldwyn Rodrigues1-1/+1
2019-07-02btrfs: lift bio_set_dev from bio allocation helpersDavid Sterba1-1/+1
2019-07-02btrfs: switch extent_buffer write_locks from atomic to intDavid Sterba1-1/+1
2019-07-02btrfs: switch extent_buffer spinning_writers from atomic to intDavid Sterba1-1/+1
2019-07-02btrfs: switch extent_buffer blocking_writers from atomic to intDavid Sterba1-1/+1
2019-04-29btrfs: Remove bio_offset argument from submit_bio_hookNikolay Borisov1-2/+1
2019-04-29btrfs: Remove 'tree' argument from read_extent_buffer_pagesNikolay Borisov1-2/+1
2019-04-29btrfs: Change submit_bio_hook to taking an inode directlyNikolay Borisov1-1/+1
2019-04-29btrfs: Define submit_bio_hook's type directlyNikolay Borisov1-4/+3
2019-04-29btrfs: Implement find_first_clear_extent_bitNikolay Borisov1-0/+2
2019-04-29btrfs: Optimize unallocated chunks discardNikolay Borisov1-1/+7
2019-04-29btrfs: Implement set_extent_bits_nowaitNikolay Borisov1-0/+2
2019-04-29btrfs: Introduce new bits for device allocation treeNikolay Borisov1-0/+3
2019-04-29btrfs: Rename and export clear_btree_io_treeNikolay Borisov1-0/+1
2019-04-29btrfs: get fs_info from eb in repair_eb_io_failureDavid Sterba1-2/+1
2019-04-29btrfs: switch extent_buffer::lock_nested to boolDavid Sterba1-1/+1
2019-04-29btrfs: use assertion helpers for extent buffer write lock countersDavid Sterba1-2/+1
2019-04-29btrfs: use assertion helpers for extent buffer read lock countersDavid Sterba1-1/+1
2019-04-29btrfs: use assertion helpers for spinning readersDavid Sterba1-1/+1
2019-04-29btrfs: use assertion helpers for spinning writersDavid Sterba1-1/+1
2019-04-29btrfs: Remove EXTENT_IOBITSNikolay Borisov1-1/+0
2019-04-29btrfs: Remove EXTENT_WRITEBACKNikolay Borisov1-16/+15
2019-04-29btrfs: Introduce extent_io_tree::owner to distinguish different io_treesQu Wenruo1-1/+17
2019-04-29btrfs: switch extent_io_tree::track_uptodate to boolDavid Sterba1-1/+1
2019-04-29btrfs: Introduce fs_info to extent_io_treeQu Wenruo1-1/+3
2019-02-25btrfs: Remove EXTENT_FIRST_DELALLOC bitNikolay Borisov1-8/+7
2018-12-17btrfs: Fix typos in comments and stringsAndrea Gelmini1-1/+1
2018-12-17btrfs: remove always true if branch in find_delalloc_rangeLu Fengqi1-1/+1
2018-12-17btrfs: switch EXTENT_BUFFER_* to enumsDavid Sterba1-12/+16
2018-12-17btrfs: Remove extent_io_ops::readpage_io_failed_hookNikolay Borisov1-1/+0
2018-12-17Btrfs: allow clear_extent_dirty() to receive a cached extent state recordFilipe Manana1-2/+2
2018-12-17btrfs: use EXPORT_FOR_TESTS for conditionally exported functionsJohannes Thumshirn1-4/+3
2018-12-17btrfs: Sink find_lock_delalloc_range's 'max_bytes' argumentNikolay Borisov1-1/+1
2018-12-17btrfs: Remove extent_io_ops::split_extent_hook callbackNikolay Borisov1-6/+0
2018-12-17btrfs: Remove extent_io_ops::merge_extent_hook callbackNikolay Borisov1-3/+0
2018-12-17btrfs: Remove extent_io_ops::clear_bit_hook callbackNikolay Borisov1-3/+0
2018-12-17btrfs: Remove extent_io_ops::set_bit_hook extent_io callbackNikolay Borisov1-2/+0
2018-12-17btrfs: Remove extent_io_ops::check_extent_io_range callbackNikolay Borisov1-2/+0
2018-12-17btrfs: Remove extent_io_ops::writepage_end_io_hookNikolay Borisov1-2/+0
2018-12-17btrfs: Remove extent_io_ops::writepage_start_hookNikolay Borisov1-1/+0
2018-12-17btrfs: Remove extent_io_ops::fill_delallocNikolay Borisov1-5/+0
2018-10-15btrfs: tests: add separate stub for find_lock_delalloc_rangeDavid Sterba1-1/+1
2018-10-15Btrfs: skip set_page_dirty if eb pages are already dirtyLiu Bo1-1/+1
2018-08-06btrfs: drop extent_io_ops::set_range_writeback callbackDavid Sterba1-1/+0
2018-08-06btrfs: drop extent_io_ops::merge_bio_hook callbackDavid Sterba1-3/+0
2018-08-06btrfs: drop extent_io_ops::tree_fs_info callbackDavid Sterba1-1/+0
2018-08-06btrfs: unify end_io callbacks of async_submit_bioDavid Sterba1-3/+0
2018-08-06btrfs: Rename EXTENT_BUFFER_DUMMY to EXTENT_BUFFER_UNMAPPEDNikolay Borisov1-1/+1
2018-08-06btrfs: switch types to int when counting eb pagesDavid Sterba1-1/+1
2018-08-06btrfs: use round_up wrapper in num_extent_pagesDavid Sterba1-2/+2
2018-08-06btrfs: pass only eb to num_extent_pagesDavid Sterba1-3/+3
2018-05-28btrfs: Remove tree argument from extent_writepagesNikolay Borisov1-2/+1