aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/volumes.h
AgeCommit message (Expand)AuthorFilesLines
2025-11-24btrfs: replace const_ilog2() with ilog2()Andy Shevchenko1-3/+2
2025-11-24btrfs: implement remove_bdev and shutdown super operation callbacksQu Wenruo1-0/+5
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba1-2/+2
2025-07-22btrfs: don't print relocation messages from auto reclaimJohannes Thumshirn1-1/+2
2025-07-22btrfs: remove struct rcu_stringDavid Sterba1-1/+0
2025-07-22btrfs: open code RCU for device nameDavid Sterba1-2/+3
2025-07-22btrfs: delay btrfs_open_devices() until super block is createdQu Wenruo1-0/+24
2025-07-22btrfs: always open the device read-only in btrfs_scan_one_device()Christoph Hellwig1-2/+1
2025-07-21btrfs: constify more pointer parametersDavid Sterba1-1/+1
2025-05-15btrfs: add space_info parameter for block group creationNaohiro Aota1-1/+2
2025-05-15btrfs: merge btrfs_read_dev_one_super() into btrfs_read_disk_super()Qu Wenruo1-0/+2
2025-05-15btrfs: on unknown chunk allocation policy fallback to regularDavid Sterba1-0/+5
2025-05-15btrfs: remove unused btrfs_io_stripe::lengthDavid Sterba1-1/+0
2025-03-18btrfs: update include and forward declarations in headersDavid Sterba1-0/+4
2025-01-13btrfs: add read policy to set a preferred deviceAnand Jain1-0/+5
2025-01-13btrfs: introduce RAID1 round-robin read balancingAnand Jain1-0/+13
2025-01-13btrfs: add tracking of read blocks for read policyAnand Jain1-0/+2
2025-01-13btrfs: cache RAID stripe tree decision in btrfs_io_contextJohannes Thumshirn1-0/+1
2024-11-11btrfs: remove unused btrfs_is_parity_mirror()Dr. David Alan Gilbert1-2/+0
2024-11-11btrfs: tests: add selftests for raid-stripe-treeJohannes Thumshirn1-0/+5
2024-11-11btrfs: split out CONFIG_BTRFS_EXPERIMENTAL from CONFIG_BTRFS_DEBUGQu Wenruo1-2/+2
2024-10-07btrfs: split remaining space to discard in chunksLuca Stefani1-0/+6
2024-09-10btrfs: rename btrfs_io_stripe::is_scrub to rst_search_commit_rootJohannes Thumshirn1-1/+1
2024-09-10btrfs: move uuid tree related code to uuid-tree.[ch]Qu Wenruo1-2/+0
2024-07-11btrfs: constify pointer parameters where applicableDavid Sterba1-1/+1
2024-05-07btrfs: count super block write errors in device instead of tracking folio err...Matthew Wilcox (Oracle)1-0/+9
2024-05-07btrfs: remove no longer used btrfs_clone_chunk_map()Filipe Manana1-1/+0
2024-03-12Merge tag 'for-6.9-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-9/+44
2024-03-04btrfs: pass btrfs_device to btrfs_scratch_superblocks()David Sterba1-3/+1
2024-03-04btrfs: introduce offload_csum_mode to tweak checksum offloading behaviorNaohiro Aota1-0/+24
2024-03-04btrfs: add forward declarations and headers, part 3David Sterba1-6/+19
2024-02-25btrfs: port device access to fileChristian Brauner1-2/+2
2023-12-15btrfs: fix typos found by codespellDavid Sterba1-1/+1
2023-12-15btrfs: use a dedicated data structure for chunk mapsFilipe Manana1-9/+36
2023-10-30Merge tag 'for-6.7-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-10/+29
2023-10-28btrfs: Convert to bdev_open_by_path()Jan Kara1-4/+2
2023-10-12btrfs: update comment for temp-fsid, fsid, and metadata_uuidAnand Jain1-0/+4
2023-10-12btrfs: support cloned-device mount capabilityAnand Jain1-0/+2
2023-10-12btrfs: remove incomplete metadata_uuid conversion fixup logicAnand Jain1-1/+0
2023-10-12btrfs: scrub: implement raid stripe tree supportJohannes Thumshirn1-0/+1
2023-10-12btrfs: add support for inserting raid stripe extentsJohannes Thumshirn1-6/+10
2023-10-12btrfs: scan but don't register device on single device filesystemAnand Jain1-1/+2
2023-10-12btrfs: remove the need_raid_map parameter from btrfs_map_block()Qu Wenruo1-2/+1
2023-10-12btrfs: comment about fsid and metadata_uuid relationshipAnand Jain1-0/+9
2023-08-21btrfs: add a helper to read the superblock metadata_uuidAnand Jain1-0/+1
2023-08-21btrfs: make find_free_dev_extent() staticFilipe Manana1-2/+0
2023-06-26Merge tag 'for-6.5/block-2023-06-23' of git://git.kernel.dk/linuxLinus Torvalds1-6/+5
2023-06-26Merge tag 'for-6.5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-29/+28
2023-06-22btrfs: fix remaining u32 overflows when left shifting stripe_nrQu Wenruo1-0/+11
2023-06-19btrfs: open code btrfs_map_sblockChristoph Hellwig1-3/+0
2023-06-19btrfs: rename __btrfs_map_block to btrfs_map_blockChristoph Hellwig1-5/+5
2023-06-19btrfs: remove unused btrfs_map_blockChristoph Hellwig1-3/+0
2023-06-19btrfs: remove unused BTRFS_MAP_DISCARDChristoph Hellwig1-3/+0
2023-06-19btrfs: add and fix comments in btrfs_fs_devicesAnand Jain1-14/+11
2023-06-19btrfs: add comment about metadata_uuid in btrfs_fs_devicesAnand Jain1-0/+12
2023-06-19btrfs: reduce struct btrfs_fs_devices size by moving fsid_changeAnand Jain1-2/+2
2023-06-19btrfs: make btrfs_free_device() staticFilipe Manana1-1/+0
2023-06-12block: replace fmode_t with a block-specific type for block open flagsChristoph Hellwig1-2/+2
2023-06-12block: use the holder as indication for exclusive opensChristoph Hellwig1-3/+3
2023-06-12btrfs: don't pass a holder for non-exclusive blkdev_get_by_pathChristoph Hellwig1-2/+1
2023-04-17btrfs: introduce a new helper to submit write bio for repairQu Wenruo1-0/+3
2023-04-17btrfs: replace btrfs_io_context::raid_map with a fixed u64 valueQu Wenruo1-4/+15
2023-04-17btrfs: use an efficient way to represent source of duplicated stripesQu Wenruo1-12/+14
2023-04-17btrfs: reduce type width of btrfs_io_contextsQu Wenruo1-5/+49
2023-04-17btrfs: replace map_lookup->stripe_len by BTRFS_STRIPE_LENQu Wenruo1-2/+5
2023-02-15btrfs: remove struct btrfs_io_geometryChristoph Hellwig1-18/+0
2022-12-05btrfs: split the bio submission path into a separate fileChristoph Hellwig1-105/+5
2022-12-05btrfs: move struct btrfs_tree_parent_check out of disk-io.hChristoph Hellwig1-1/+1
2022-12-05btrfs: use btrfs_dev_name() helper to handle missing devices betterQu Wenruo1-0/+9
2022-12-05btrfs: move tree block parentness check into validate_extent_buffer()Qu Wenruo1-3/+22
2022-12-05btrfs: move device->name RCU allocation and assign to btrfs_alloc_device()Anand Jain1-2/+2
2022-12-05btrfs: move btrfs_chunk_item_size out of ctree.hJosef Bacik1-0/+8
2022-12-05btrfs: auto enable discard=async when possibleDavid Sterba1-0/+2
2022-11-07btrfs: zoned: initialize device's zone info for seedingJohannes Thumshirn1-1/+1
2022-10-24btrfs: reorder btrfs_bio for better packingDavid Sterba1-1/+1
2022-09-26btrfs: move btrfs_swapfile_pin into volumes.hJosef Bacik1-0/+25
2022-09-26btrfs: move btrfs_pinned_by_swapfile prototype into volumes.hJosef Bacik1-0/+2
2022-09-26btrfs: give struct btrfs_bio a real end_io handlerChristoph Hellwig1-4/+16
2022-09-26btrfs: use chained bios when cloningChristoph Hellwig1-1/+0
2022-09-26btrfs: pass the operation to btrfs_bio_allocChristoph Hellwig1-1/+1
2022-09-26btrfs: move btrfs_bio allocation to volumes.cChristoph Hellwig1-0/+6
2022-07-25btrfs: do not return errors from btrfs_map_bioChristoph Hellwig1-2/+1
2022-07-25btrfs: increase direct io read size limit to 256 sectorsChristoph Hellwig1-0/+7
2022-07-25btrfs: use btrfs_raid_array to calculate number of parity stripesQu Wenruo1-0/+1
2022-07-25btrfs: remove parameter dev_extent_len from scrub_stripe()Qu Wenruo1-0/+1
2022-07-25btrfs: split discard handling out of btrfs_map_blockChristoph Hellwig1-1/+9
2022-07-25btrfs: do not allocate a btrfs_bio for low-level biosChristoph Hellwig1-1/+6
2022-07-25btrfs: remove btrfs_end_io_wqChristoph Hellwig1-0/+3
2022-07-25btrfs: add a helper to iterate through a btrfs_bio with sector sized chunksQu Wenruo1-0/+16
2022-05-24Merge tag 'for-5.19-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-4/+38
2022-05-23Merge tag 'for-5.19/block-2022-05-22' of git://git.kernel.dk/linux-blockLinus Torvalds1-2/+2
2022-05-16btrfs: use ilog2() to replace if () branches for btrfs_bg_flags_to_raid_index()Qu Wenruo1-9/+30
2022-05-16btrfs: move definition of btrfs_raid_types to volumes.hQu Wenruo1-0/+13
2022-05-16btrfs: reduce width for stripe_len from u64 to u32Qu Wenruo1-4/+4
2022-04-19btrfs: fix direct I/O read repair for split biosChristoph Hellwig1-0/+3
2022-04-17btrfs: simplify ->flush_bio handlingChristoph Hellwig1-2/+2
2022-03-14btrfs: add device major-minor info in the struct btrfs_deviceAnand Jain1-0/+5
2022-03-14btrfs: match stale devices by dev_tAnand Jain1-1/+1
2022-01-07btrfs: remove reada infrastructureQu Wenruo1-7/+0
2022-01-07btrfs: zoned: sink zone check into btrfs_repair_one_zoneJohannes Thumshirn1-1/+1
2021-10-26btrfs: use btrfs_get_dev_args_from_path in dev removal ioctlsJosef Bacik1-1/+1
2021-10-26btrfs: add a btrfs_get_dev_args_from_path helperJosef Bacik1-0/+4
2021-10-26btrfs: handle device lookup with btrfs_dev_lookup_argsJosef Bacik1-2/+18
2021-10-26btrfs: add comments for device counts in struct btrfs_fs_devicesAnand Jain1-0/+19
2021-10-26btrfs: remove btrfs_bio::logical memberQu Wenruo1-1/+0
2021-10-26btrfs: rename struct btrfs_io_bio to btrfs_bioQu Wenruo1-15/+14
2021-10-26btrfs: rename btrfs_bio to btrfs_io_contextQu Wenruo1-11/+27
2021-10-26btrfs: convert latest_bdev type to btrfs_device and renameAnand Jain1-1/+5
2021-10-26btrfs: rename and switch to bool btrfs_chunk_readonlyAnand Jain1-1/+1
2021-10-25btrfs: rename btrfs_alloc_chunk to btrfs_create_chunkNikolay Borisov1-1/+1
2021-09-07btrfs: delay blkdev_put until after the device removeJosef Bacik1-1/+2
2021-08-23btrfs: uninline btrfs_bg_flags_to_raid_indexDavid Sterba1-26/+1
2021-08-23btrfs: make btrfs_finish_chunk_alloc private to block-group.cNikolay Borisov1-2/+0
2021-07-07btrfs: rework chunk allocation to avoid exhaustion of the system chunk arrayFilipe Manana1-1/+4
2021-06-21btrfs: remove the unused parameter @len for btrfs_bio_fits_in_stripe()Qu Wenruo1-1/+1
2021-06-21btrfs: scrub: per-device bandwidth controlDavid Sterba1-0/+3
2021-04-20btrfs: zoned: automatically reclaim zonesJohannes Thumshirn1-0/+1
2021-02-09btrfs: zoned: relocate block group to repair IO failure in zoned filesystemsNaohiro Aota1-0/+1
2021-02-09btrfs: zoned: handle REQ_OP_ZONE_APPEND as writingNaohiro Aota1-0/+1
2021-02-09btrfs: zoned: implement zoned chunk allocatorNaohiro Aota1-0/+1
2021-02-08btrfs: let callers of btrfs_get_io_geometry pass the emMichal Rostecki1-2/+3
2021-01-25btrfs: fix lockdep warning due to seqcount_mutex on 32bit archSu Yue1-5/+6
2020-12-09btrfs: get zone information of zoned block devicesNaohiro Aota1-0/+4
2020-12-08btrfs: remove unused argument seed from btrfs_find_deviceAnand Jain1-1/+1
2020-12-08btrfs: drop unused argument step from btrfs_free_extra_devidsAnand Jain1-1/+1
2020-12-08btrfs: create read policy frameworkAnand Jain1-0/+13
2020-10-27btrfs: convert data_seqcount to seqcount_mutex_tDavidlohr Bueso1-6/+5
2020-10-26btrfs: fix readahead hang and use-after-free after removing a deviceFilipe Manana1-0/+1
2020-10-07btrfs: annotate device name rcu_string with __rcuMadhuparna Bhowmik1-1/+1
2020-10-07btrfs: switch seed device to list apiNikolay Borisov1-1/+1
2020-10-07btrfs: simplify setting/clearing fs_info to btrfs_fs_devicesNikolay Borisov1-2/+0
2020-10-07btrfs: make close_fs_devices return voidNikolay Borisov1-1/+1
2020-09-25btrfs: move btrfs_scratch_superblocks into btrfs_dev_replace_finishingJosef Bacik1-0/+3
2020-07-27btrfs: record btrfs_device directly in btrfs_io_bioNikolay Borisov1-1/+1
2020-07-02btrfs: convert comments to fallthrough annotationsMarcos Paulo de Souza1-1/+1
2020-03-23btrfs: introduce chunk allocation policyNaohiro Aota1-0/+6
2020-03-23btrfs: make btrfs_check_uuid_tree private to disk-io.cNikolay Borisov1-1/+1
2020-03-23btrfs: use the page cache for super block readingJohannes Thumshirn1-3/+1
2020-03-23btrfs: reduce scope of btrfs_scratch_superblocks()Johannes Thumshirn1-1/+0
2020-03-23btrfs: Export btrfs_release_disk_superNikolay Borisov1-0/+1
2020-02-16Merge tag 'for-5.6-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-0/+1
2020-02-12btrfs: sysfs, add UUID/devinfo kobjectAnand Jain1-0/+1
2020-01-28Merge tag 'for-5.6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-5/+5
2020-01-23btrfs: sysfs, add devid/dev_state kobject and device attributesAnand Jain1-0/+4
2020-01-23btrfs: Move and unexport btrfs_rmap_blockNikolay Borisov1-2/+0
2020-01-20btrfs: remove unused member btrfs_device::workDavid Sterba1-2/+0
2020-01-20btrfs: sysfs, rename devices kobject holder to devices_kobjAnand Jain1-1/+1
2019-12-08sched/rt, btrfs: Use CONFIG_PREEMPTIONThomas Gleixner1-1/+1
2019-11-18btrfs: change btrfs_fs_devices::rotating to boolJohannes Thumshirn1-1/+1
2019-11-18btrfs: change btrfs_fs_devices::seeding to boolJohannes Thumshirn1-1/+1
2019-11-18btrfs: add support for 4-copy replication (raid1c4)David Sterba1-0/+2
2019-11-18btrfs: add support for 3-copy replication (raid1c3)David Sterba1-0/+2
2019-11-18btrfs: Remove btrfs_bio::flags memberQu Wenruo1-1/+0
2019-11-18Btrfs: delete the entire async bio submission frameworkChris Mason1-11/+0
2019-11-18Btrfs: stop using btrfs_schedule_bio()Chris Mason1-1/+1
2019-11-18btrfs: add const function attributeDavid Sterba1-1/+1
2019-09-09btrfs: reset device stat using btrfs_dev_stat_setAnand Jain1-6/+0
2019-09-09btrfs: remove unused btrfs_device::flush_bio_sentDavid Sterba1-1/+0
2019-09-09btrfs: volumes: Unexport find_free_dev_extent_start()Qu Wenruo1-2/+0
2019-07-02btrfs: Use btrfs_get_io_geometry appropriatelyNikolay Borisov1-1/+1
2019-07-02btrfs: Introduce btrfs_io_geometry infrastructureNikolay Borisov1-0/+17
2019-07-01btrfs: Add comments on locking of several device-related fieldsNikolay Borisov1-3/+8
2019-07-01btrfs: refactor helper for bg flags to name conversionDavid Sterba1-2/+1
2019-07-01btrfs: use u8 for raid_array membersDavid Sterba1-9/+9
2019-07-01btrfs: remove mapping tree structures indirectionDavid Sterba1-2/+1
2019-05-07Merge tag 'Wimplicit-fallthrough-5.2-rc1' of git://git.kernel.org/pub/scm/lin...Linus Torvalds1-0/+1
2019-04-29btrfs: get fs_info from device in btrfs_rm_dev_replace_free_srcdevDavid Sterba1-2/+1
2019-04-29btrfs: get fs_info from trans in btrfs_run_dev_statsDavid Sterba1-2/+1
2019-04-29btrfs: Remove 'trans' argument from find_free_dev_extent(_start)Nikolay Borisov1-5/+3
2019-04-29btrfs: replace pending/pinned chunks lists with io treeJeff Mahoney1-0/+2
2019-04-29btrfs: Stop using call_rcu for device freeingNikolay Borisov1-1/+0
2019-04-29btrfs: combine device update operations during transaction commitNikolay Borisov1-10/+3
2019-04-29btrfs: tree-checker: Verify dev itemQu Wenruo1-0/+9
2019-04-08fs: mark expected switch fall-throughsGustavo A. R. Silva1-0/+1
2019-02-25btrfs: introduce new ioctl to unregister a btrfs deviceAnand Jain1-0/+1
2019-02-25btrfs: merge btrfs_find_device and find_deviceAnand Jain1-1/+1
2019-02-25btrfs: refactor btrfs_find_device() take fs_devices as argumentAnand Jain1-2/+2
2018-12-17btrfs: remove btrfs_bio_end_io_tJohannes Thumshirn1-3/+0
2018-12-17btrfs: replace btrfs_io_bio::end_io with a simple helperDavid Sterba1-2/+8
2018-12-17btrfs: remove redundant csum buffer in btrfs_io_bioDavid Sterba1-1/+0
2018-12-17btrfs: add helper to describe block group flagsAnand Jain1-0/+1
2018-12-17btrfs: add members to fs_devices to track fsid changesNikolay Borisov1-0/+5
2018-12-17btrfs: Introduce support for FSID change without metadata rewriteNikolay Borisov1-0/+1
2018-12-17btrfs: introduce nparity raid_attrHans van Kranenburg1-0/+2
2018-12-17Btrfs: rename and export get_chunk_mapOmar Sandoval1-0/+2
2018-10-15btrfs: Make btrfs_find_device_by_devspec return btrfs_device directlyNikolay Borisov1-3/+3
2018-10-15btrfs: Make btrfs_find_device_missing_or_by_path return directly a deviceNikolay Borisov1-3/+0
2018-08-06btrfs: Introduce mount time chunk <-> dev extent mapping checkQu Wenruo1-0/+2
2018-08-06btrfs: Remove fs_info from btrfs_finish_chunk_allocNikolay Borisov1-4/+2
2018-08-06btrfs: Remove fs_info from btrfs_destroy_dev_replace_tgtdevNikolay Borisov1-2/+1
2018-08-06btrfs: Remove fs_info from btrfs_assign_next_active_deviceNikolay Borisov1-2/+2
2018-08-06btrfs: Remove fs_info from btrfs_rm_dev_replace_remove_srcdevNikolay Borisov1-2/+1
2018-08-06btrfs: refactor block group replication factor calculation to a helperDavid Sterba1-0/+2
2018-08-06btrfs: return device pointer from btrfs_scan_one_deviceGu Jinxiang1-2/+2
2018-08-06btrfs: Remove unused function btrfs_account_dev_extents_sizeQu Wenruo1-2/+0
2018-08-06btrfs: tree-checker: Verify block_group_itemQu Wenruo1-0/+2
2018-08-06btrfs: Remove fs_info from btrfs_alloc_chunkNikolay Borisov1-2/+1
2018-05-28btrfs: remove redundant btrfs_balance_control::fs_infoDavid Sterba1-3/+2
2018-05-28btrfs: Remove devid parameter from btrfs_rmap_blockNikolay Borisov1-3/+2
2018-05-28btrfs: move btrfs_raid_mindev_errorvalues to btrfs_raid_attr tableAnand Jain1-1/+1