aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/disk-io.c
AgeCommit message (Expand)AuthorFilesLines
13 daysbtrfs: count super block write errors in device instead of tracking folio err...Matthew Wilcox (Oracle)1-27/+19
13 daysbtrfs: use the folio iterator in btrfs_end_super_write()Matthew Wilcox (Oracle)1-13/+6
13 daysbtrfs: convert super block writes to folio in write_dev_supers()Matthew Wilcox (Oracle)1-10/+13
13 daysbtrfs: convert super block writes to folio in wait_dev_supers()Matthew Wilcox (Oracle)1-11/+12
13 daysbtrfs: use btrfs_is_testing() everywhereDavid Sterba1-2/+2
13 daysbtrfs: initialize delayed inodes xarray without GFP_ATOMICFilipe Manana1-2/+1
13 daysbtrfs: add a global per cpu counter to track number of used extent mapsFilipe Manana1-0/+9
13 daysbtrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-18/+18
13 daysbtrfs: remove list_empty() check at warn_about_uncommitted_trans()Filipe Manana1-3/+0
13 daysbtrfs: free PERTRANS at the end of cleanup_transaction()Boris Burkov1-4/+1
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
2023-06-19btrfs: use a separate end_io handler for read_extent_bufferChristoph Hellwig1-103/+2
2023-06-19btrfs: merge verify_parent_transid and btrfs_buffer_uptodateChristoph Hellwig1-31/+14
2023-06-19btrfs: move setting the buffer uptodate out of validate_extent_bufferChristoph Hellwig1-3/+3
2023-06-19btrfs: don't hold an extra reference for redirtied buffersChristoph Hellwig1-2/+0
2023-06-19btrfs: fix dirty_metadata_bytes for redirtied buffersChristoph Hellwig1-6/+1
2023-06-19btrfs: move btrfs_verify_level_key into tree-checker.cJosef Bacik1-58/+0
2023-06-19btrfs: simplify btrfs_check_leaf_* helpers into a single helperJosef Bacik1-7/+5
2023-06-19btrfs: remove hipri_workers workqueueChristoph Hellwig1-5/+1
2023-06-13btrfs: do not ASSERT() on duplicated global rootsQu Wenruo1-2/+8
2023-06-05btrfs: subpage: fix a crash in metadata repair pathQu Wenruo1-4/+5
2023-05-26btrfs: fix csum_tree_block page iteration to avoid tripping on -Werror=array-...pengfuyuan1-1/+1
2023-05-17btrfs: use nofs when cleaning up aborted transactionsJosef Bacik1-0/+9
2023-05-10btrfs: make clear_cache mount option to rebuild FST without disabling itQu Wenruo1-7/+18
2023-04-17btrfs: use test_and_clear_bit() in wait_dev_flush()Anand Jain1-2/+1
2023-04-17btrfs: change wait_dev_flush() return type to boolAnand Jain1-6/+6
2023-04-17btrfs: open code check_barrier_error()Anand Jain1-15/+7
2023-04-17btrfs: move last_flush_error to write_dev_flush and wait_dev_flushAnand Jain1-6/+8
2023-04-17btrfs: remove obsolete delayed ref throttling logic when truncating itemsFilipe Manana1-1/+0
2023-04-17btrfs: locking: use atomic for DREW lock writersDavid Sterba1-11/+1
2023-04-17btrfs: remove redundant clearing of NODISCARDAnand Jain1-1/+0
2023-04-17btrfs: open_ctree() error handling cleanupQu Wenruo1-34/+31
2023-04-17btrfs: move all btree inode initialization into btrfs_init_btree_inodeChristoph Hellwig1-7/+14
2023-04-17btrfs: drop root refs properly when orphan cleanup failsJosef Bacik1-2/+2
2023-04-06btrfs: fix fast csum implementation detectionChristoph Hellwig1-0/+14
2023-02-15btrfs: combine btrfs_clear_buffer_dirty and clear_extent_buffer_dirtyJosef Bacik1-16/+0
2023-02-15btrfs: rename btrfs_clean_tree_block to btrfs_clear_buffer_dirtyJosef Bacik1-3/+3
2023-02-15btrfs: replace clearing extent buffer dirty bit with btrfs_clean_blockJosef Bacik1-4/+5
2023-02-15btrfs: add trans argument to btrfs_clean_tree_blockJosef Bacik1-3/+3
2023-02-15btrfs: remove now spurious bio submission helpersChristoph Hellwig1-6/+0
2023-02-15btrfs: remove the fs_info argument to btrfs_submit_bioChristoph Hellwig1-1/+1
2023-02-15btrfs: support cloned bios in btree_csum_one_bioChristoph Hellwig1-8/+6
2023-02-15btrfs: handle checksum generation in the storage layerChristoph Hellwig1-153/+2
2023-02-15btrfs: simplify the btrfs_csum_one_bio calling conventionChristoph Hellwig1-4/+1
2023-02-15btrfs: open code the submit_bio_start helpersChristoph Hellwig1-31/+23
2023-02-15btrfs: remove struct btrfs_bio::is_metadata flagChristoph Hellwig1-1/+0
2023-02-15btrfs: fix spelling mistakes found using codespellColin Ian King1-2/+2
2023-02-13btrfs: sysfs: update fs features directory asynchronouslyQu Wenruo1-0/+3
2023-02-13btrfs: fix uninitialized variable warning in run_one_async_startJosef Bacik1-0/+4
2023-01-12btrfs: do not abort transaction on failure to write log tree when syncing logFilipe Manana1-1/+8
2023-01-03btrfs: fix compat_ro checks against remountQu Wenruo1-3/+5
2023-01-03btrfs: add error message for metadata level mismatchQu Wenruo1-0/+3
2022-12-05btrfs: move repair_io_failure to bio.cChristoph Hellwig1-0/+24
2022-12-05btrfs: split the bio submission path into a separate fileChristoph Hellwig1-1/+1
2022-12-05btrfs: use btrfs_dev_name() helper to handle missing devices betterQu Wenruo1-1/+1
2022-12-05btrfs: move tree block parentness check into validate_extent_buffer()Qu Wenruo1-19/+54
2022-12-05btrfs: concentrate all tree block parentness check parameters into one structureQu Wenruo1-27/+36
2022-12-05btrfs: drop private_data parameter from extent_io_tree_initDavid Sterba1-4/+4
2022-12-05btrfs: pass btrfs_inode to btrfs_submit_metadata_bioDavid Sterba1-4/+4
2022-12-05btrfs: pass btrfs_inode to btrfs_wq_submit_bioDavid Sterba1-4/+4
2022-12-05btrfs: pass btrfs_inode to btrfs_submit_bio_start_direct_ioDavid Sterba1-1/+1
2022-12-05btrfs: pass btrfs_inode to btrfs_submit_bio_startDavid Sterba1-1/+1
2022-12-05btrfs: switch async_submit_bio::inode to btrfs_inodeDavid Sterba1-7/+7
2022-12-05btrfs: simplify btree_submit_bio_start and btrfs_submit_bio_start parametersDavid Sterba1-8/+3
2022-12-05btrfs: change how submit bio callback is passed to btrfs_wq_submit_bioDavid Sterba1-10/+23
2022-12-05btrfs: remove the unused endio_raid56_workers and btrfs_raid_bio::end_io_workQu Wenruo1-5/+1
2022-12-05btrfs: move super prototypes into super.hJosef Bacik1-0/+1
2022-12-05btrfs: move scrub prototypes into scrub.hJosef Bacik1-0/+1
2022-12-05btrfs: move relocation prototypes into relocation.hJosef Bacik1-0/+1
2022-12-05btrfs: move uuid tree prototypes to uuid-tree.hJosef Bacik1-0/+1
2022-12-05btrfs: move defrag related prototypes to their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move root tree prototypes to their own headerJosef Bacik1-0/+1
2022-12-05btrfs: move extent-tree helpers into their own header fileJosef Bacik1-0/+1
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: remove fs_info::pending_changes and related codeJosef Bacik1-6/+0
2022-12-05btrfs: move fs wide helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: auto enable discard=async when possibleDavid Sterba1-0/+14
2022-12-05btrfs: move btrfs_get_block_group helper out of disk-io.hJosef Bacik1-0/+7
2022-12-05btrfs: simplify cleanup after error in btrfs_create_treePeng Hao1-4/+1
2022-11-07btrfs: zoned: initialize device's zone info for seedingJohannes Thumshirn1-1/+3
2022-10-24btrfs: make thaw time super block check to also verify checksumQu Wenruo1-6/+4
2022-09-26btrfs: relax block-group-tree feature dependency checksQu Wenruo1-63/+109
2022-09-26btrfs: open code and remove btrfs_insert_inode_hash helperJosef Bacik1-1/+3
2022-09-26btrfs: don't init io tree with private data for non-inodesJosef Bacik1-1/+1
2022-09-26btrfs: remove extent_io_tree::track_uptodateJosef Bacik1-1/+0
2022-09-26btrfs: unify the lock/unlock extent variantsJosef Bacik1-4/+3
2022-09-26btrfs: skip subtree scan if it's too high to avoid low stall in btrfs_commit_...Qu Wenruo1-0/+1
2022-09-26btrfs: separate BLOCK_GROUP_TREE compat RO flag from EXTENT_TREE_V2Qu Wenruo1-12/+14
2022-09-26btrfs: don't save block group root into super blockQu Wenruo1-20/+20
2022-09-26btrfs: check superblock to ensure the fs was not modified at thaw timeQu Wenruo1-6/+19
2022-09-26btrfs: give struct btrfs_bio a real end_io handlerChristoph Hellwig1-9/+7
2022-09-26btrfs: add lockdep annotations for the ordered extents wait eventIoannis Angelakopoulos1-0/+1
2022-09-26btrfs: add lockdep annotations for pending_ordered wait eventIoannis Angelakopoulos1-0/+1
2022-09-26btrfs: add lockdep annotations for transaction states wait eventsIoannis Angelakopoulos1-0/+8
2022-09-26btrfs: add lockdep annotations for num_extwriters wait eventIoannis Angelakopoulos1-0/+1
2022-09-26btrfs: add lockdep annotations for num_writers wait eventIoannis Angelakopoulos1-0/+2
2022-09-20Merge tag 'for-6.0-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-6/+36
2022-09-13btrfs: fix hang during unmount when stopping a space reclaim workerFilipe Manana1-0/+25
2022-09-13btrfs: fix hang during unmount when stopping block group reclaim workerFilipe Manana1-6/+11
2022-09-09Merge tag 'for-6.0-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+0
2022-09-05btrfs: zoned: fix API misuse of zone finish waitingNaohiro Aota1-1/+0
2022-08-19Merge tag 'for-6.0-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-82/+0
2022-08-17btrfs: move lockdep class helpers to locking.cJosef Bacik1-82/+0
2022-08-03Merge tag 'for-5.20-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-180/+88
2022-08-03Merge tag 'folio-6.0' of git://git.infradead.org/users/willy/pagecacheLinus Torvalds1-12/+10
2022-08-02mm/migrate: Convert migrate_page() to migrate_folio()Matthew Wilcox (Oracle)1-1/+1
2022-08-02btrfs: Convert btree_migratepage to migrate_folioMatthew Wilcox (Oracle)1-12/+10
2022-07-25btrfs: zoned: wait until zone is finished when allocation didn't progressNaohiro Aota1-0/+1
2022-07-25btrfs: replace BTRFS_MAX_EXTENT_SIZE with fs_info->max_extent_sizeNaohiro Aota1-0/+2
2022-07-25btrfs: set the objectid of the btree inode's location keyFilipe Manana1-1/+3
2022-07-25btrfs: handle allocation failure in btrfs_wq_submit_bio gracefullyChristoph Hellwig1-19/+24
2022-07-25btrfs: do not return errors from btrfs_map_bioChristoph Hellwig1-11/+10
2022-07-25btrfs: don't print 'has skinny extents' anymore on mountNikolay Borisov1-3/+0
2022-07-25btrfs: don't print 'flagging with big metadata' anymore on mountNikolay Borisov1-5/+1
2022-07-25btrfs: properly flag filesystem with BTRFS_FEATURE_INCOMPAT_BIG_METADATANikolay Borisov1-10/+11
2022-07-25btrfs: print checksum type and implementation at mount timeDavid Sterba1-0/+3
2022-07-25btrfs: output mirror number for bad metadataQu Wenruo1-12/+14
2022-07-25btrfs: reject log replay if there is unsupported RO compat flagQu Wenruo1-0/+14
2022-07-25btrfs: remove btrfs_end_io_wqChristoph Hellwig1-113/+7
2022-07-25btrfs: centralize setting REQ_METAChristoph Hellwig1-0/+2