aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/tests
AgeCommit message (Expand)AuthorFilesLines
2026-06-08btrfs: remove op field from struct btrfs_free_space_ctlFilipe Manana2-14/+11
2026-04-15Merge tag 'mm-stable-2026-04-13-21-45' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+1
2026-04-07btrfs: replace kcalloc() calls to kzalloc_objs()Miquel Sabaté Solà1-1/+1
2026-04-07btrfs: tests: zoned: add tests cases for zoned codeNaohiro Aota3-0/+688
2026-04-05folio_batch: rename pagevec.h to folio_batch.hTal Zussman1-1/+1
2026-02-21Convert more 'alloc_obj' cases to default GFP_KERNEL argumentsLinus Torvalds1-2/+1
2026-02-21Convert 'alloc_obj' family to use the new default GFP_KERNEL argumentLinus Torvalds2-6/+6
2026-02-21treewide: Replace kmalloc with kmalloc_obj for non-scalar typesKees Cook2-11/+8
2026-02-03btrfs: tests: add cleanup functions for test specific functionsNaohiro Aota1-0/+6
2026-02-03btrfs: tests: add unit tests for pending extent walking functionsBoris Burkov3-0/+480
2026-02-03btrfs: tests: prepare extent map tests for strict alignment checksQu Wenruo1-5/+11
2026-02-03btrfs: tests: remove invalid file extent map testsQu Wenruo1-47/+49
2026-02-03btrfs: use the btrfs_extent_map_end() helper everywhereFilipe Manana1-16/+16
2026-02-03btrfs: use the btrfs_block_group_end() helper everywhereFilipe Manana1-2/+2
2026-01-09btrfs: tests: fix return 0 on rmap test failureNaohiro Aota1-0/+3
2026-01-09btrfs: tests: fix root tree leak in btrfs_test_qgroups()Zilin Guan1-3/+3
2025-12-08btrfs: tests: fix double btrfs_path free in remove_extent_ref()Dan Carpenter1-1/+0
2025-11-24btrfs: tests: do trivial BTRFS_PATH_AUTO_FREE conversionsSun YangKai1-12/+4
2025-11-24btrfs: apply the AUTO_K(V)FREE macros throughout the codeMiquel Sabaté Solà2-6/+3
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba2-3/+3
2025-07-22btrfs: remove btrfs_clear_extent_bits()Filipe Manana2-14/+14
2025-07-21btrfs: use pgoff_t for page index variablesDavid Sterba1-4/+3
2025-07-21btrfs: add btrfs prefix to free space tree exported functionsFilipe Manana1-48/+45
2025-07-21btrfs: make extent_buffer_test_bit() return a boolean insteadFilipe Manana1-7/+7
2025-07-21btrfs: tree-log: add and rename extent bits for dirty_log_pages treeDavid Sterba1-1/+2
2025-05-15btrfs: convert the buffer_radix to an xarrayJosef Bacik1-20/+8
2025-05-15btrfs: use unsigned types for constants defined as bit shiftsDavid Sterba1-3/+3
2025-05-15btrfs: rename remaining exported extent map functionsFilipe Manana1-6/+6
2025-05-15btrfs: rename functions to allocate and free extent mapsFilipe Manana2-58/+58
2025-05-15btrfs: rename extent map functions to get block start, end and check if in treeFilipe Manana2-20/+21
2025-05-15btrfs: rename exported extent map compression functionsFilipe Manana1-6/+6
2025-05-15btrfs: rename the functions to init and release an extent io treeFilipe Manana2-4/+4
2025-05-15btrfs: rename the functions to search for bits in extent rangesFilipe Manana1-12/+12
2025-05-15btrfs: rename set_extent_bit() to include a btrfs prefixFilipe Manana1-8/+8
2025-05-15btrfs: rename the functions to clear bits for an extent rangeFilipe Manana2-14/+14
2025-05-15btrfs: add btrfs prefix to main lock, try lock and unlock extent functionsFilipe Manana1-3/+3
2025-05-15btrfs: use clear_extent_bits() instead of clear_extent_bit() where possibleFilipe Manana1-12/+12
2025-05-15btrfs: remove EXTENT_UPTODATE io tree flagFilipe Manana1-1/+0
2025-05-15btrfs: remove leftover EXTENT_UPTODATE clear from an inode's io_treeFilipe Manana1-8/+4
2025-03-18btrfs: tests: fix chunk map leak after failure to add it to the treeFilipe Manana1-0/+1
2025-03-18btrfs: merge alloc_dummy_extent_buffer() helpersDavid Sterba1-3/+3
2025-03-18btrfs: don't pass nodesize to __alloc_extent_buffer()David Sterba1-3/+3
2025-02-17btrfs: selftests: fix btrfs_test_delayed_refs() leak of transactionDavid Disseldorp1-0/+1
2025-01-14btrfs: selftests: add a selftest for deleting two out of three extentsJohannes Thumshirn1-0/+144
2025-01-14btrfs: selftests: add test for punching a hole into 3 RAID stripe-extentsJohannes Thumshirn1-0/+183
2025-01-14btrfs: selftests: add selftest for punching holes into the RAID stripe extentsJohannes Thumshirn1-0/+140
2025-01-14btrfs: selftests: test RAID stripe-tree deletion spanning two itemsJohannes Thumshirn1-0/+144
2025-01-14btrfs: selftests: don't split RAID extents in halfJohannes Thumshirn1-16/+28
2025-01-14btrfs: selftests: check for correct return value of failed lookupJohannes Thumshirn1-1/+1
2025-01-14btrfs: selftests: correct RAID stripe-tree feature flag settingJohannes Thumshirn1-2/+2
2025-01-13btrfs: selftests: add delayed ref self test casesJosef Bacik3-0/+1039
2024-11-11btrfs: tests: implement case for partial RAID stripe-tree deleteJohannes Thumshirn1-0/+221
2024-11-11btrfs: tests: add selftests for raid-stripe-treeJohannes Thumshirn3-0/+323
2024-09-10btrfs: convert find_lock_delalloc_range() to use a folioJosef Bacik1-5/+5
2024-07-25btrfs: fix corrupt read due to bad offset of a compressed extent mapFilipe Manana1-0/+99
2024-07-11btrfs: remove extent_map::block_start memberQu Wenruo2-80/+66
2024-07-11btrfs: remove extent_map::block_len memberQu Wenruo1-28/+13
2024-07-11btrfs: remove extent_map::orig_start memberQu Wenruo2-57/+36
2024-07-11btrfs: introduce extra sanity checks for extent mapsQu Wenruo2-2/+56
2024-07-11btrfs: use a regular rb_root instead of cached rb_root for extent_map_treeFilipe Manana1-3/+3
2024-07-11btrfs: rename rb_root member of extent_map_tree from map to rootFilipe Manana1-3/+3
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-05-07btrfs: use btrfs_is_testing() everywhereDavid Sterba1-2/+1
2024-05-07btrfs: pass the extent map tree's inode to remove_extent_mapping()Filipe Manana1-9/+10
2024-05-07btrfs: tests: error out on unexpected extent map reference countFilipe Manana1-8/+35
2024-05-07btrfs: pass an inode to btrfs_add_extent_mapping()Filipe Manana1-88/+86
2024-04-18btrfs: fix wrong block_start calculation for btrfs_drop_extent_map_range()Qu Wenruo1-0/+5
2024-03-04btrfs: tests: allocate dummy fs_info and root in test_find_delalloc()David Sterba1-4/+24
2024-03-04btrfs: remove the pg_offset parameter from btrfs_get_extent()Qu Wenruo1-20/+20
2023-12-15btrfs: migrate extent_buffer::pages[] to folioQu Wenruo1-2/+2
2023-12-15btrfs: use the flags of an extent map to identify the compression typeFilipe Manana2-32/+32
2023-12-15btrfs: unexport add_extent_mapping()Filipe Manana1-22/+23
2023-12-15btrfs: tests: print all values as decimal in messages for extent map testsFilipe Manana1-7/+7
2023-12-15btrfs: tests: do not ignore NULL extent maps for extent maps testsFilipe Manana1-10/+30
2023-12-15btrfs: tests: fix error messages for test case 4 of extent map testsFilipe Manana1-2/+2
2023-12-15btrfs: always set extent_io_tree::inode and drop fs_infoDavid Sterba1-1/+1
2023-12-15btrfs: use a dedicated data structure for chunk mapsFilipe Manana3-31/+13
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana2-3/+15
2023-08-21btrfs: tests: test invalid splitting when skipping pinned drop extent_mapJosef Bacik1-0/+138
2023-08-21btrfs: tests: add a test for btrfs_add_extent_mappingJosef Bacik1-0/+56
2023-08-21btrfs: tests: add extent_map tests for dropping with odd layoutsJosef Bacik1-0/+218
2023-08-21btrfs: tests: add self tests for extent buffer memory operationsQu Wenruo1-0/+144
2023-08-21btrfs: tests: enhance extent buffer bitmap testsQu Wenruo1-51/+107
2023-06-19btrfs: drop gfp from parameter extent state helpersDavid Sterba1-7/+6
2023-06-19btrfs: open code set_extent_bitsDavid Sterba1-5/+6
2023-06-19btrfs: open code set_extent_delallocDavid Sterba1-3/+3
2023-04-17btrfs: replace map_lookup->stripe_len by BTRFS_STRIPE_LENQu Wenruo1-1/+0
2023-02-20Merge tag 'for-6.3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds1-1/+1
2023-02-15btrfs: remove the bdev argument to btrfs_rmap_blockChristoph Hellwig1-1/+1
2023-01-19fs: port inode_init_owner() to mnt_idmapChristian Brauner1-1/+1
2022-12-05btrfs: drop private_data parameter from extent_io_tree_initDavid Sterba2-3/+3
2022-12-05btrfs: convert btrfs_block_group::needs_free_space to runtime flagDavid Sterba1-1/+1
2022-12-05btrfs: use a structure to pass arguments to backref walking functionsFilipe Manana1-10/+40
2022-12-05btrfs: selftests: remove impossible inline extent at non-zero file offsetQu Wenruo1-38/+19
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik4-0/+4
2022-12-05btrfs: move fs_info::flags enum to fs.hJosef Bacik1-0/+1
2022-12-05btrfs: move BTRFS_FS_STATE* definitions and helpers to fs.hJosef Bacik1-0/+1
2022-11-10Merge tag 'for-6.1-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-1/+1
2022-11-07btrfs: selftests: fix wrong error check in btrfs_free_dummy_root()Zhang Xiaoxu1-1/+1
2022-11-03Merge tag 'for-6.1-rc3-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/...Linus Torvalds1-17/+19
2022-11-02btrfs: remove pointless and double ulist frees in error paths of qgroup testsFilipe Manana1-12/+4
2022-11-02btrfs: fix ulist leaks in error paths of qgroup self testsFilipe Manana1-5/+15
2022-10-10Merge tag 'mm-stable-2022-10-08' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-15/+17
2022-09-29btrfs: move btrfs_drop_extent_cache() to extent_map.cFilipe Manana1-1/+1
2022-09-26btrfs: stop tracking failed reads in the I/O treeChristoph Hellwig1-1/+0
2022-09-26btrfs: replace delete argument with EXTENT_CLEAR_ALL_BITSJosef Bacik1-4/+4
2022-09-26btrfs: unify the lock/unlock extent variantsJosef Bacik1-3/+3
2022-09-26btrfs: remove the wake argument from clear_extent_bitsJosef Bacik1-4/+4
2022-09-26btrfs: remove use btrfs_remove_free_space_cache instead of variantJosef Bacik2-12/+12
2022-09-11btrfs: convert process_page_range() to use filemap_get_folios_contig()Vishal Moola (Oracle)1-15/+17
2022-07-25btrfs: add optimized btrfs_ino() version for 64 bits systemsFilipe Manana1-0/+1
2022-07-25btrfs: clean up chained assignmentsDavid Sterba1-1/+2
2022-07-15Revert "btrfs: turn fs_info member buffer_radix into XArray"David Sterba1-3/+19
2022-07-15Revert "btrfs: turn fs_roots_radix in btrfs_fs_info into an XArray"David Sterba1-1/+1
2022-05-16btrfs: turn fs_roots_radix in btrfs_fs_info into an XArrayGabriel Niebler1-1/+1
2022-05-16btrfs: turn fs_info member buffer_radix into XArrayGabriel Niebler1-19/+3
2022-03-14btrfs: assert we have a write lock when removing and replacing extent mapsFilipe Manana1-0/+2
2022-01-07btrfs: selftests: dump extent io tree if extent-io-tree test failedQu Wenruo1-0/+52
2022-01-03btrfs: track the csum, extent, and free space trees in a rb treeJosef Bacik4-3/+13
2022-01-03btrfs: stop accessing ->free_space_root directlyJosef Bacik1-1/+1
2022-01-03btrfs: stop accessing ->extent_root directlyJosef Bacik2-2/+2
2022-01-03btrfs: add self test for bytes_index free space cacheJosef Bacik1-0/+181
2022-01-03btrfs: drop the _nr from the item helpersJosef Bacik1-5/+5
2022-01-03btrfs: use btrfs_item_size_nr/btrfs_item_offset_nr everywhereJosef Bacik1-12/+5
2021-10-26btrfs: subpage: avoid potential deadlock with compression and delallocQu Wenruo1-6/+6
2021-10-26btrfs: unexport setup_items_for_insert()Filipe Manana2-3/+3
2021-10-26btrfs: loop only once over data sizes array when inserting an item batchFilipe Manana2-3/+3
2021-08-23btrfs: remove ignore_offset argument from btrfs_find_all_roots()Filipe Manana1-20/+10
2021-07-22btrfs: fix lock inversion problem when doing qgroup extent tracingFilipe Manana1-10/+10
2021-06-22btrfs: fix typos in commentsDavid Sterba1-1/+1
2021-02-23Merge tag 'idmapped-mounts-v5.12' of git://git.kernel.org/pub/scm/linux/kerne...Linus Torvalds1-1/+1
2021-02-09btrfs: extend btrfs_rmap_block for specifying a deviceNaohiro Aota1-1/+1
2021-01-24inode: make init and permission helpers idmapped mount awareChristian Brauner1-1/+1
2020-12-18btrfs: tests: initialize test inodes locationJosef Bacik2-11/+8
2020-12-09btrfs: remove recalc_thresholds from free space opsDavid Sterba1-1/+0
2020-12-08btrfs: tests: remove invalid extent-io testQu Wenruo1-15/+11
2020-12-08btrfs: load free space cache into a temporary ctlJosef Bacik1-1/+1
2020-12-08btrfs: locking: rip out path->leave_spinningJosef Bacik1-4/+0
2020-12-08btrfs: use precalculated sectorsize_bits from fs_infoDavid Sterba1-0/+1
2020-11-13btrfs: fix missing delalloc new bit for new delalloc rangesFilipe Manana1-4/+8
2020-10-07btrfs: remove struct extent_io_opsNikolay Borisov1-1/+0
2020-10-07btrfs: sink total_data parameter in setup_items_for_insertNikolay Borisov2-3/+3
2020-10-07btrfs: eliminate total_size parameter from setup_items_for_insertNikolay Borisov2-6/+3
2020-07-27btrfs: make btrfs_set_extent_delalloc take btrfs_inodeNikolay Borisov1-7/+7
2020-07-27btrfs: tests: remove if duplicate in __check_free_space_extents()Denis Efremov1-2/+0
2020-03-23btrfs: kill the subvol_srcuJosef Bacik1-9/+0
2020-03-23btrfs: don't take an extra root ref at allocation timeJosef Bacik1-0/+2
2020-03-23btrfs: move the root freeing stuff into btrfs_put_rootJosef Bacik1-4/+1
2020-03-23btrfs: rename btrfs_put_fs_root and btrfs_grab_fs_rootJosef Bacik1-1/+1
2020-03-23btrfs: add a leak check for rootsJosef Bacik1-0/+1
2020-03-23btrfs: make the init of static elements in fs_info separateJosef Bacik1-23/+4
2020-03-23btrfs: use btrfs_put_fs_root to free roots alwaysJosef Bacik1-1/+1
2020-01-31btrfs: Correctly handle empty trees in find_first_clear_extent_bitNikolay Borisov1-0/+9
2020-01-31Btrfs: fix race between adding and putting tree mod seq elements and nodesFilipe Manana1-1/+0
2020-01-23btrfs: Add self-tests for btrfs_rmap_blockNikolay Borisov1-1/+153
2020-01-23btrfs: selftests: Add support for dummy devicesNikolay Borisov2-0/+30
2020-01-20btrfs: drop create parameter to btrfs_get_extent()Omar Sandoval1-23/+21
2019-12-13btrfs: return error pointer from alloc_test_extent_bufferDan Carpenter2-4/+4
2019-11-18btrfs: rename btrfs_block_group_cacheDavid Sterba4-26/+25
2019-11-18btrfs: add dedicated members for start and length of a block groupDavid Sterba2-46/+34
2019-09-24Btrfs: fix selftests failure due to uninitialized i_mode in test inodesFilipe Manana1-1/+7
2019-09-09btrfs: stop clearing EXTENT_DIRTY in inode I/O treeOmar Sandoval1-8/+4
2019-09-09Btrfs: make test_find_first_clear_extent_bit fail on incorrect resultsFilipe Manana1-7/+22
2019-09-09Btrfs: fix memory leaks in the test test_find_first_clear_extent_bitFilipe Manana1-0/+2
2019-09-09btrfs: move basic block_group definitions to their own headerJosef Bacik3-0/+3
2019-09-09btrfs: Remove leftover of in-band dedupeNikolay Borisov1-6/+6
2019-07-19Merge branch 'work.mount0' of git://git.kernel.org/pub/scm/linux/kernel/git/v...Linus Torvalds1-6/+9
2019-07-04btrfs: Evaluate io_tree in find_lock_delalloc_range()Goldwyn Rodrigues1-14/+16
2019-07-01btrfs: tests: add locks around add_extent_mappingDavid Sterba1-0/+22
2019-07-01btrfs: Don't trim returned range based on input value in find_first_clear_ext...Nikolay Borisov1-0/+87
2019-05-25vfs: Convert btrfs_test to use the new mount APIDavid Howells1-6/+9
2019-05-25mount_pseudo(): drop 'name' argument, switch to d_make_root()Al Viro1-1/+1
2019-05-07Merge tag 'for-5.2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdav...Linus Torvalds9-120/+249
2019-04-29btrfs: get fs_info from block group in search_free_space_infoDavid Sterba1-2/+2
2019-04-29btrfs: inode: Verify inode mode to avoid NULL pointer dereferenceQu Wenruo1-0/+1
2019-04-29btrfs: qgroup: remove obsolete fs_info membersDavid Sterba1-1/+0
2019-04-29btrfs: tests: unify messages when tests startDavid Sterba3-6/+11
2019-04-29btrfs: tests: drop messages when some tests finishDavid Sterba2-2/+0
2019-04-29btrfs: tests: fix comments about tested extent map rangesDavid Sterba1-2/+2
2019-04-29btrfs: tests: use SZ_ constants everywhereDavid Sterba1-3/+3
2019-04-29btrfs: tests: use standard error message after extent map allocation failureDavid Sterba1-4/+19
2019-04-29btrfs: tests: return error from all extent map test casesDavid Sterba1-12/+32
2019-04-29btrfs: tests: return errors from extent map test case 4David Sterba1-7/+14
2019-04-29btrfs: tests: return errors from extent map test case 3David Sterba1-5/+10
2019-04-29btrfs: tests: return errors from extent map test case 2David Sterba1-6/+14
2019-04-29btrfs: tests: return errors from extent map test case 1David Sterba1-6/+14
2019-04-29btrfs: tests: return errors from extent map testsDavid Sterba1-22/+46
2019-04-29btrfs: tests: properly initialize fs_info of extent bufferDavid Sterba1-1/+1
2019-04-29btrfs: tests: use standard error message after block group allocation failureDavid Sterba2-2/+2
2019-04-29btrfs: tests: use standard error message after inode allocation failureDavid Sterba2-4/+4
2019-04-29btrfs: tests: use standard error message after path allocation failureDavid Sterba3-6/+6
2019-04-29btrfs: tests: use standard error message after extent buffer allocation failureDavid Sterba4-6/+6
2019-04-29btrfs: tests: use standard error message after root allocation failureDavid Sterba5-8/+9
2019-04-29btrfs: tests: use standard error message after fs_info allocation failureDavid Sterba7-10/+11
2019-04-29btrfs: tests: add table of most common errorsDavid Sterba2-0/+24
2019-04-29btrfs: tests: print file:line for error messagesDavid Sterba1-1/+2
2019-04-29btrfs: tests: don't leak fs_info in extent_io bitmap testsDavid Sterba1-7/+9
2019-04-29btrfs: tests: handle fs_info allocation failure in extent_io testsDavid Sterba1-0/+4
2019-04-29btrfs: Introduce extent_io_tree::owner to distinguish different io_treesQu Wenruo2-3/+9