aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
AgeCommit message (Expand)AuthorFilesLines
2025-10-06Merge tag 'for-6.18-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-1/+1
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-0/+1
2025-10-01btrfs: fix PAGE_SIZE format specifier in open_ctree()Nathan Chancellor1-1/+1
2025-09-30Merge tag 'for-6.18-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-48/+49
2025-09-23btrfs: add unlikely annotations to branches leading to EIODavid Sterba1-12/+12
2025-09-23btrfs: add unlikely annotations to branches leading to EUCLEANDavid Sterba1-14/+14
2025-09-23btrfs: enable experimental bs > ps supportQu Wenruo1-2/+12
2025-09-23btrfs: annotate btrfs_is_testing() as unlikely and make it return boolFilipe Manana1-2/+1
2025-09-23btrfs: always drop log root tree reference in btrfs_replay_log()Filipe Manana1-1/+1
2025-09-23btrfs: cache max and min order inside btrfs_fs_infoQu Wenruo1-0/+2
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba1-1/+1
2025-09-23btrfs: add workspace manager initialization for zstdQu Wenruo1-0/+4
2025-09-22btrfs: convert several int parameters to boolDavid Sterba1-2/+2
2025-09-22btrfs: simplify support block size checkQu Wenruo1-15/+1
2025-09-19fs: WQ_PERCPU added to alloc_workqueue usersMarco Crivellari1-1/+1
2025-09-13btrfs: set AS_KERNEL_FILE on the btree_inodeBoris Burkov1-0/+1
2025-07-28Merge tag 'crc-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/eb...Linus Torvalds1-6/+2
2025-07-22btrfs: remove btrfs_clear_extent_bits()Filipe Manana1-1/+1
2025-07-22btrfs: index buffer_tree using node sizeDaniel Vacek1-0/+1
2025-07-22btrfs: call btrfs_close_devices() from ->kill_sbChristoph Hellwig1-2/+2
2025-07-22btrfs: qgroup: remove no longer used fs_info->qgroup_ulistFilipe Manana1-1/+0
2025-07-21btrfs: add btrfs prefix to is_fstree() and make it return boolFilipe Manana1-4/+4
2025-07-21btrfs: use our message helpers instead of pr_err/pr_warn/pr_infoDavid Sterba1-1/+1
2025-07-21btrfs: switch RCU helper versions to btrfs_warn()David Sterba1-1/+1
2025-07-21btrfs: zoned: reserve data_reloc block group on mountJohannes Thumshirn1-0/+1
2025-06-30btrfs: stop parsing crc32c driver nameEric Biggers1-6/+2
2025-06-19btrfs: handle csum tree error with rescue=ibadroots correctlyQu Wenruo1-2/+1
2025-06-19btrfs: fix race between async reclaim worker and close_ctree()Filipe Manana1-4/+18
2025-06-19btrfs: warn if leaking delayed_nodes in btrfs_put_root()Leo Martins1-0/+2
2025-05-15btrfs: log error codes during failures when writing super blocksFilipe Manana1-4/+4
2025-05-15btrfs: add block reserve for treelogNaohiro Aota1-0/+1
2025-05-15btrfs: get rid of btrfs_read_dev_super()Qu Wenruo1-29/+1
2025-05-15btrfs: merge btrfs_read_dev_one_super() into btrfs_read_disk_super()Qu Wenruo1-52/+1
2025-05-15btrfs: convert the buffer_radix to an xarrayJosef Bacik1-2/+12
2025-05-15btrfs: rename btrfs_discard workqueue to btrfs-discardDavid Sterba1-1/+1
2025-05-15btrfs: change return type of btree_csum_one_bio() to intDavid Sterba1-8/+8
2025-05-15btrfs: merge __setup_root() to btrfs_alloc_root()David Sterba1-9/+7
2025-05-15btrfs: use list_first_entry() everywhereDavid Sterba1-2/+2
2025-05-15btrfs: convert WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG)) to DEBUG_WARNDavid Sterba1-1/+1
2025-05-15btrfs: pass a physical address to btrfs_repair_io_failure()Christoph Hellwig1-3/+4
2025-05-15btrfs: rename remaining exported extent map functionsFilipe Manana1-1/+1
2025-05-15btrfs: rename free_extent_state() to include a btrfs prefixFilipe Manana1-1/+1
2025-05-15btrfs: rename the functions to init and release an extent io treeFilipe Manana1-8/+8
2025-05-15btrfs: rename the functions to search for bits in extent rangesFilipe Manana1-6/+7
2025-05-15btrfs: rename the functions to clear bits for an extent rangeFilipe Manana1-2/+2
2025-05-15btrfs: remove unused flag EXTENT_BUFFER_CORRUPTDaniel Vacek1-9/+2
2025-04-17Merge tag 'for-6.15-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+0
2025-04-01Merge tag 'mm-nonmm-stable-2025-03-30-18-23' of git://git.kernel.org/pub/scm/...Linus Torvalds1-3/+3
2025-04-01btrfs: remove folio order ASSERT()s in super block writeback pathQu Wenruo1-2/+0
2025-03-18btrfs: don't clobber ret in btrfs_validate_super()Mark Harmstone1-0/+3
2025-03-18btrfs: add extra warning if delayed iput is added when it's not allowedQu Wenruo1-0/+2
2025-03-18btrfs: run btrfs_error_commit_super() earlyQu Wenruo1-7/+8
2025-03-18btrfs: fix non-empty delayed iputs list on unmount due to async workersFilipe Manana1-0/+13
2025-03-18btrfs: fix non-empty delayed iputs list on unmount due to compressed write wo...Filipe Manana1-0/+12
2025-03-18btrfs: allow debug builds to accept 2K block sizeQu Wenruo1-3/+9
2025-03-18btrfs: remove the subpage related warning messageQu Wenruo1-5/+0
2025-03-18btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_init_root_free_objectid()David Sterba1-8/+5
2025-03-18btrfs: use BTRFS_PATH_AUTO_FREE in load_global_roots()David Sterba1-7/+6
2025-03-18btrfs: do trivial BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-2/+1
2025-03-18btrfs: use num_extent_folios() in for loop boundsDavid Sterba1-2/+1
2025-03-18btrfs: simplify parameters of metadata folio helpersDavid Sterba1-2/+1
2025-03-18btrfs: simplify returns and labels in btrfs_init_fs_root()David Sterba1-6/+5
2025-03-18btrfs: require strict data/metadata split for subpage checksQu Wenruo1-2/+2
2025-03-18btrfs: remove btrfs_fs_info::sectors_per_pageQu Wenruo1-1/+0
2025-03-16btrfs: convert timeouts to secs_to_jiffies()Easwar Hariharan1-3/+3
2025-01-13btrfs: split waiting from read_extent_buffer_pages(), drop parameter waitDavid Sterba1-1/+1
2025-01-13btrfs: add tracking of read blocks for read policyAnand Jain1-0/+5
2025-01-13btrfs: initialize fs_devices->fs_info earlier in btrfs_init_devices_late()Anand Jain1-0/+1
2025-01-13btrfs: validate system chunk array at btrfs_validate_super()Qu Wenruo1-0/+67
2024-12-06btrfs: flush delalloc workers queue before stopping cleaner kthread during un...Filipe Manana1-0/+9
2024-11-11btrfs: remove fs_info parameter from btrfs_cleanup_one_transaction()Filipe Manana1-4/+4
2024-11-11btrfs: remove fs_info parameter from btrfs_destroy_delayed_refs()Filipe Manana1-1/+1
2024-11-11btrfs: move btrfs_destroy_delayed_refs() to delayed-ref.cFilipe Manana1-80/+0
2024-11-11btrfs: remove BUG_ON() at btrfs_destroy_delayed_refs()Filipe Manana1-13/+24
2024-11-11btrfs: rename extent map shrinker members from struct btrfs_fs_infoFilipe Manana1-1/+1
2024-11-11btrfs: simplify tracking progress for the extent map shrinkerFilipe Manana1-2/+0
2024-11-11btrfs: make the extent map shrinker run asynchronously as a work queue jobFilipe Manana1-0/+2
2024-11-11btrfs: drop unused parameter transaction from alloc_log_tree()David Sterba1-4/+3
2024-11-11btrfs: drop unused parameter options from open_ctree()David Sterba1-2/+1
2024-10-24Merge tag 'for-6.12-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+1
2024-10-22btrfs: qgroup: set a more sane default value for subtree drop thresholdQu Wenruo1-1/+1
2024-10-04Merge tag 'for-6.12-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+11
2024-10-02move asm/unaligned.h to linux/unaligned.hAl Viro1-1/+1
2024-10-01btrfs: wait for fixup workers before stopping cleaner kthread during umountFilipe Manana1-0/+11
2024-09-10btrfs: convert try_release_extent_buffer() to take a folioLi Zetao1-1/+1
2024-09-10btrfs: subpage: remove btrfs_fs_info::subpage_info memberQu Wenruo1-12/+2
2024-07-17Merge tag 'for-6.11-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-67/+61
2024-07-12Merge tag 'for-6.10-rc7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+2
2024-07-11btrfs: avoid races when tracking progress for extent map shrinkingFilipe Manana1-0/+2
2024-07-11btrfs: fix data race when accessing the last_trans field of a rootFilipe Manana1-2/+2
2024-07-11btrfs: introduce new "rescue=ignoresuperflags" mount optionQu Wenruo1-4/+12
2024-07-11btrfs: introduce new "rescue=ignoremetacsums" mount optionQu Wenruo1-6/+12
2024-07-11btrfs: output the unrecognized super block flags as hexQu Wenruo1-1/+1
2024-07-11btrfs: fix typo in error message in btrfs_validate_super()Mark Harmstone1-1/+1
2024-07-11btrfs: remove all extra btrfs_check_eb_owner() callsJosef Bacik1-4/+0
2024-07-11btrfs: constify pointer parameters where applicableDavid Sterba1-9/+9
2024-07-11btrfs: rename err to ret in btrfs_cleanup_fs_roots()Anand Jain1-18/+19
2024-07-11btrfs: add and use helper to commit the current transactionFilipe Manana1-11/+1
2024-07-11btrfs: avoid create and commit empty transaction when committing superFilipe Manana1-3/+7
2024-07-11btrfs: simplify range parameters of btrfs_wait_ordered_roots()David Sterba1-1/+1
2024-07-11btrfs: move btrfs_block_group_root() to block-group.cAnand Jain1-7/+0
2024-07-11btrfs: remove objectid from struct btrfs_inode on 64 bits platformsFilipe Manana1-2/+1
2024-07-11btrfs: remove location key from struct btrfs_inodeFilipe Manana1-3/+1
2024-07-11btrfs: remove inode_lock from struct btrfs_root and use xarray locksFilipe Manana1-1/+0
2024-07-11btrfs: use an xarray to track open inodes in a rootFilipe Manana1-3/+3
2024-06-07Merge tag 'for-6.10-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-9/+1
2024-06-05btrfs: fix leak of qgroup extent records after transaction abortFilipe Manana1-9/+1
2024-05-21Merge tag 'pull-bd_inode-1' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-3/+3
2024-05-07btrfs: count super block write errors in device instead of tracking folio err...Matthew Wilcox (Oracle)1-27/+19
2024-05-07btrfs: use the folio iterator in btrfs_end_super_write()Matthew Wilcox (Oracle)1-13/+6
2024-05-07btrfs: convert super block writes to folio in write_dev_supers()Matthew Wilcox (Oracle)1-10/+13
2024-05-07btrfs: convert super block writes to folio in wait_dev_supers()Matthew Wilcox (Oracle)1-11/+12
2024-05-07btrfs: use btrfs_is_testing() everywhereDavid Sterba1-2/+2
2024-05-07btrfs: initialize delayed inodes xarray without GFP_ATOMICFilipe Manana1-2/+1
2024-05-07btrfs: add a global per cpu counter to track number of used extent mapsFilipe Manana1-0/+9
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-18/+18
2024-05-07btrfs: remove list_empty() check at warn_about_uncommitted_trans()Filipe Manana1-3/+0
2024-05-07btrfs: free PERTRANS at the end of cleanup_transaction()Boris Burkov1-4/+1
2024-05-03use ->bd_mapping instead of ->bd_inode->i_mappingAl Viro1-3/+3
2024-03-04btrfs: merge btrfs_del_delalloc_inode() helpersDavid Sterba1-1/+1
2024-03-04btrfs: stop passing root argument to __btrfs_del_delalloc_inode()Filipe Manana1-1/+1
2024-03-04btrfs: add helper to get fs_info from struct inode pointerDavid Sterba1-3/+3
2024-03-04btrfs: add helpers to get fs_info from page/folio pointersDavid Sterba1-1/+1
2024-03-04btrfs: add helpers to get inode from page/folio pointersDavid Sterba1-1/+2
2024-03-04btrfs: change BUG_ON to assertion in btrfs_read_roots()David Sterba1-1/+1
2024-03-04btrfs: handle invalid root reference found in btrfs_init_root_free_objectid()David Sterba1-1/+8
2024-03-04btrfs: remove unused included headersDavid Sterba1-1/+0
2024-03-04btrfs: replace sb::s_blocksize by fs_info::sectorsizeDavid Sterba1-0/+2
2024-03-04btrfs: WARN_ON_ONCE() in our leak detection codeJosef Bacik1-0/+1
2024-03-04btrfs: cache folio size and shift in extent_bufferQu Wenruo1-1/+1
2024-02-29btrfs: fix double free of anonymous device after snapshot creation failureFilipe Manana1-11/+11
2024-01-31btrfs: do not ASSERT() if the newly created subvolume already got readQu Wenruo1-2/+11
2023-12-15btrfs: migrate btrfs_repair_io_failure() to folio interfacesQu Wenruo1-6/+7
2023-12-15btrfs: migrate subpage code to folio interfacesQu Wenruo1-2/+2
2023-12-15btrfs: migrate get_eb_page_index() and get_eb_offset_in_page() to foliosQu Wenruo1-1/+1
2023-12-15btrfs: cleanup metadata page pointer usageQu Wenruo1-0/+6
2023-12-15btrfs: migrate extent_buffer::pages[] to folioQu Wenruo1-9/+10
2023-12-15btrfs: switch btrfs_root::delayed_nodes_tree to xarray from radix-treeDavid Sterba1-1/+2
2023-12-15btrfs: set clear_cache if we use usebackuprootJosef Bacik1-3/+0
2023-12-15btrfs: move one shot mount option clearing to super.cJosef Bacik1-15/+1
2023-12-15btrfs: move the device specific mount options to super.cJosef Bacik1-23/+0
2023-12-15btrfs: switch to the new mount APIJosef Bacik1-2/+9
2023-12-15btrfs: add a NOSPACECACHE mount option flagJosef Bacik1-0/+1
2023-12-15btrfs: do not allow free space tree rebuild on extent tree v2Josef Bacik1-1/+5
2023-12-15btrfs: move space cache settings into open_ctreeJosef Bacik1-11/+6
2023-12-15btrfs: set default compress type at btrfs_init_fs_info timeJosef Bacik1-7/+3
2023-12-15btrfs: allow extent buffer helpers to skip cross-page handlingQu Wenruo1-3/+14
2023-12-15btrfs: zoned: don't clear dirty flag of extent bufferJohannes Thumshirn1-1/+6
2023-12-15btrfs: rename EXTENT_BUFFER_NO_CHECK to EXTENT_BUFFER_ZONED_ZEROOUTJohannes Thumshirn1-1/+1
2023-12-15btrfs: use a dedicated data structure for chunk mapsFilipe Manana1-3/+4
2023-12-15btrfs: remove log_extents_lock and logged_list from struct btrfs_rootFilipe Manana1-4/+0
2023-12-06btrfs: free qgroup pertrans reserve on transaction abortBoris Burkov1-0/+28
2023-11-23btrfs: add dmesg output for first mount and last unmount of a filesystemQu Wenruo1-0/+1
2023-10-12btrfs: add and use helpers for reading and writing last_trans_committedFilipe Manana1-4/+5
2023-10-12btrfs: add and use helpers for reading and writing log_transidFilipe Manana1-2/+2
2023-10-12btrfs: add and use helpers for reading and writing last_log_commitFilipe Manana1-2/+2
2023-10-12btrfs: support cloned-device mount capabilityAnand Jain1-1/+2
2023-10-12btrfs: stop reserving excessive space for block group item updatesFilipe Manana1-1/+1
2023-10-12btrfs: reject devices with CHANGING_FSID_V2Anand Jain1-10/+0
2023-10-12btrfs: qgroup: only set QUOTA_ENABLED when done reading qgroupsBoris Burkov1-1/+0
2023-10-12btrfs: qgroup: track metadata relocation COW with simple quotaBoris Burkov1-2/+2
2023-10-12btrfs: read raid stripe tree from diskJohannes Thumshirn1-0/+18
2023-10-12btrfs: mark transaction id check as unlikely at btrfs_mark_buffer_dirty()Filipe Manana1-1/+1
2023-10-12btrfs: use btrfs_crit at btrfs_mark_buffer_dirty()Filipe Manana1-2/+3
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-4/+9
2023-10-12btrfs: stop doing excessive space reservation for csum deletionFilipe Manana1-2/+2
2023-10-12btrfs: reserve space for delayed refs on a per ref basisFilipe Manana1-0/+1
2023-10-12btrfs: check-integrity: remove CONFIG_BTRFS_FS_CHECK_INTEGRITY optionQu Wenruo1-28/+0
2023-10-12btrfs: check-integrity: remove btrfsic_unmount() functionQu Wenruo1-6/+0
2023-10-12btrfs: check-integrity: remove btrfsic_mount() functionQu Wenruo1-12/+0
2023-10-12btrfs: check-integrity: remove btrfsic_check_bio() functionQu Wenruo1-4/+0
2023-10-12btrfs: reformat remaining kdoc style commentsDavid Sterba1-5/+6
2023-10-12btrfs: sipmlify uuid parameters of alloc_fs_devices()Anand Jain1-3/+4
2023-09-08btrfs: fix a compilation error if DEBUG is defined in btree_dirty_folioQu Wenruo1-6/+8
2023-09-08btrfs: do not block starts waiting on previous transaction commitJosef Bacik1-4/+4
2023-08-21btrfs: drop redundant check to use fs_devices::metadata_uuidAnand Jain1-10/+5
2023-08-21btrfs: compare the correct fsid/metadata_uuid in btrfs_validate_superAnand Jain1-5/+3
2023-08-21btrfs: use the correct superblock to compare fsid in btrfs_validate_superAnand Jain1-3/+2
2023-08-21btrfs: use LIST_HEAD() to initialize the list_headRuan Jinjie1-9/+3
2023-08-21btrfs: zoned: reserve zones for an active metadata/system block groupNaohiro Aota1-0/+2
2023-08-21btrfs: make btrfs_cleanup_fs_roots() staticFilipe Manana1-50/+50
2023-08-21btrfs: store the error that turned the fs into error stateFilipe Manana1-1/+1
2023-08-21btrfs: make find_first_extent_bit() return a booleanFilipe Manana1-5/+5
2023-08-21btrfs: make btrfs_destroy_pinned_extent() return voidFilipe Manana1-8/+4
2023-08-21btrfs: make btrfs_destroy_marked_extents() return voidFilipe Manana1-12/+5
2023-08-10btrfs: reject invalid reloc tree root keys with stack dumpQu Wenruo1-1/+2
2023-08-10btrfs: avoid race between qgroup tree creation and relocationQu Wenruo1-0/+10
2023-07-20btrfs: zoned: do not enable async discardNaohiro Aota1-1/+6
2023-06-19btrfs: add xxhash to fast checksum implementationsDavid Sterba1-0/+3
2023-06-19btrfs: make btrfs_destroy_delayed_refs() return voidFilipe Manana1-6/+3
2023-06-19btrfs: remove unnecessary prototype declarations at disk-io.cFilipe Manana1-9/+0
2023-06-19btrfs: remove pointless in_tree field from struct btrfs_delayed_ref_nodeFilipe Manana1-1/+0
2023-06-19btrfs: use alloc_ordered_workqueue() to create ordered workqueuesTejun Heo1-3/+5
2023-06-19btrfs: remove a pointless NULL check in btrfs_lookup_fs_rootChristoph Hellwig1-2/+1
2023-06-19btrfs: convert btrfs_get_global_root to use a switch statementChristoph Hellwig1-10/+13
2023-06-19btrfs: fix the btrfs_get_global_root return valueChristoph Hellwig1-11/+5
2023-06-19btrfs: consolidate uuid comparisons in btrfs_validate_superAnand Jain1-8/+8
2023-06-19btrfs: return bool from check_tree_block_fsid instead of intAnand Jain1-4/+4
2023-06-19btrfs: stop using lock_extent in btrfs_buffer_uptodateChristoph Hellwig1-10/+2
2023-06-19btrfs: remove the extent_buffer lookup in btree block checksummingChristoph Hellwig1-96/+24