aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/file-item.c
AgeCommit message (Expand)AuthorFilesLines
11 daysbtrfs: add orig_logical to btrfs_bio for encryptionJosef Bacik1-1/+1
11 daysbtrfs: use bool type for btrfs_path members used as booleansFilipe Manana1-6/+6
11 daysbtrfs: make btrfs_csum_one_bio() handle bs > ps without large foliosQu Wenruo1-3/+12
11 daysbtrfs: use kvcalloc for btrfs_bio::csum allocationQu Wenruo1-2/+2
11 daysbtrfs: introduce btrfs_bio::async_csumQu Wenruo1-17/+43
2025-09-23btrfs: add unlikely annotations to branches leading to transaction abortDavid Sterba1-1/+1
2025-09-23btrfs: introduce btrfs_bio_for_each_block() helperQu Wenruo1-20/+6
2025-09-22btrfs: try to search for data csums in commit rootBoris Burkov1-0/+32
2025-07-21btrfs: use btrfs_is_data_reloc_root() where not done yetDavid Sterba1-1/+1
2025-05-15btrfs: change return type of btrfs_alloc_dummy_sum() to intDavid Sterba1-2/+2
2025-05-15btrfs: change return type of btrfs_csum_one_bio() to intDavid Sterba1-2/+2
2025-05-15btrfs: change return type of btrfs_lookup_bio_sums() to intDavid Sterba1-6/+6
2025-05-15btrfs: rename exported extent map compression functionsFilipe Manana1-2/+2
2025-05-15btrfs: make btrfs_find_contiguous_extent_bit() return bool instead of intFilipe Manana1-4/+4
2025-05-15btrfs: rename the functions to search for bits in extent rangesFilipe Manana1-2/+2
2025-05-15btrfs: rename set_extent_bit() to include a btrfs prefixFilipe Manana1-5/+5
2025-05-15btrfs: rename the functions to clear bits for an extent rangeFilipe Manana1-2/+2
2025-05-15btrfs: do more trivial BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-2/+1
2025-03-18btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_lookup_bio_sums()David Sterba1-5/+2
2025-03-18btrfs: do trivial BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-6/+4
2025-03-18btrfs: unify ordering of btrfs_key initializationsDavid Sterba1-6/+7
2025-01-13btrfs: file-item: remove unnecessary calls to btrfs_mark_buffer_dirty()Filipe Manana1-3/+0
2024-09-10btrfs: constify more pointer parametersDavid Sterba1-2/+2
2024-07-11btrfs: introduce new "rescue=ignoremetacsums" mount optionQu Wenruo1-1/+1
2024-07-11btrfs: ignore incorrect btrfs_file_extent_item::ram_bytesQu Wenruo1-0/+7
2024-07-11btrfs: cleanup the bytenr usage inside btrfs_extent_item_to_extent_map()Qu Wenruo1-5/+4
2024-07-11btrfs: remove extent_map::block_start memberQu Wenruo1-4/+0
2024-07-11btrfs: remove extent_map::block_len memberQu Wenruo1-7/+0
2024-07-11btrfs: remove extent_map::orig_start memberQu Wenruo1-4/+1
2024-07-11btrfs: introduce new members for extent_mapQu Wenruo1-1/+8
2024-07-11btrfs: rename extent_map::orig_block_len to disk_num_bytesQu Wenruo1-2/+2
2024-07-11btrfs: don't allocate file extent tree for non regular filesFilipe Manana1-6/+7
2024-05-07btrfs: simplify the inline extent map creationQu Wenruo1-10/+10
2024-05-07btrfs: change root->root_key.objectid to btrfs_root_id()Josef Bacik1-6/+5
2024-05-07btrfs: make NOCOW checks for existence of checksums in a range more efficientFilipe Manana1-7/+18
2024-05-07btrfs: simplify error path for btrfs_lookup_csums_list()Filipe Manana1-8/+9
2024-05-07btrfs: remove use of a temporary list at btrfs_lookup_csums_list()Filipe Manana1-5/+3
2024-05-07btrfs: remove search_commit parameter from btrfs_lookup_csums_list()Filipe Manana1-9/+1
2024-05-07btrfs: add function comment to btrfs_lookup_csums_list()Filipe Manana1-0/+13
2024-03-04btrfs: unify handling of return values of btrfs_insert_empty_items()David Sterba1-3/+0
2024-03-04btrfs: remove unused included headersDavid Sterba1-3/+0
2023-12-15btrfs: use the flags of an extent map to identify the compression typeFilipe Manana1-6/+3
2023-12-15btrfs: allocate btrfs_inode::file_extent_tree only without NO_HOLESDavid Sterba1-3/+3
2023-10-12btrfs: abort transaction on generation mismatch when marking eb as dirtyFilipe Manana1-8/+9
2023-08-21btrfs: scrub: avoid unnecessary csum tree search preparing stripesQu Wenruo1-12/+22
2023-06-19btrfs: use bbio->ordered in btrfs_csum_one_bioChristoph Hellwig1-20/+1
2023-06-19btrfs: add an ordered_extent pointer to struct btrfs_bioChristoph Hellwig1-8/+1
2023-06-19btrfs: limit write bios to a single ordered extentChristoph Hellwig1-38/+0
2023-06-19btrfs: optimize the logical to physical mapping for zoned writesChristoph Hellwig1-0/+30
2023-06-19btrfs: rename the bytenr field in struct btrfs_ordered_sum to logicalChristoph Hellwig1-4/+4
2023-06-19btrfs: mark the len field in struct btrfs_ordered_sum as unsignedChristoph Hellwig1-1/+1
2023-06-19btrfs: drop gfp from parameter extent state helpersDavid Sterba1-2/+2
2023-06-19btrfs: open code set_extent_bitsDavid Sterba1-5/+5
2023-06-19btrfs: use SECTOR_SHIFT to convert LBA to physical offsetAnand Jain1-2/+2
2023-05-17btrfs: handle memory allocation failure in btrfs_csum_one_bioJohannes Thumshirn1-1/+3
2023-05-02btrfs: fix encoded write i_size corruption with no-holesBoris Burkov1-2/+3
2023-04-17btrfs: scrub: introduce helper to find and fill sector info for a scrub_stripeQu Wenruo1-1/+8
2023-04-17btrfs: cleanup the main loop in btrfs_lookup_bio_sumsChristoph Hellwig1-24/+9
2023-04-17btrfs: remove search_file_offset_in_bioChristoph Hellwig1-49/+3
2023-04-17btrfs: switch search_file_offset_in_bio to return boolAnand Jain1-4/+4
2023-04-17btrfs: avoid reusing return variable in nested block in btrfs_lookup_bio_sumsAnand Jain1-5/+4
2023-02-15btrfs: simplify the btrfs_csum_one_bio calling conventionChristoph Hellwig1-15/+5
2023-02-15btrfs: simplify parameters of btrfs_lookup_bio_sumsChristoph Hellwig1-32/+20
2022-12-05btrfs: split the bio submission path into a separate fileChristoph Hellwig1-1/+1
2022-12-05btrfs: introduce a bitmap based csum range search functionQu Wenruo1-3/+124
2022-12-05btrfs: refactor checksum calculations in btrfs_lookup_csums_range()Qu Wenruo1-21/+47
2022-12-05btrfs: remove new_inline argument from btrfs_extent_item_to_extent_map()Qu Wenruo1-4/+2
2022-12-05btrfs: move super_block specific helpers into super.hJosef Bacik1-0/+1
2022-12-05btrfs: move file-item prototypes into their own headerJosef Bacik1-0/+1
2022-12-05btrfs: update function commentsDavid Sterba1-25/+25
2022-12-05btrfs: move accessor helpers into accessors.hJosef Bacik1-0/+1
2022-12-05btrfs: move the printk helpers out of ctree.hJosef Bacik1-0/+1
2022-12-05btrfs: move fs wide helpers out of ctree.hJosef Bacik1-0/+1
2022-09-29btrfs: make can_nocow_extent nowait compatibleJosef Bacik1-1/+3
2022-09-26btrfs: move btrfs_ordered_sum_size into file-item.cJosef Bacik1-0/+11
2022-09-26btrfs: replace delete argument with EXTENT_CLEAR_ALL_BITSJosef Bacik1-1/+1
2022-09-26btrfs: remove the wake argument from clear_extent_bitsJosef Bacik1-1/+1
2022-09-26btrfs: rename btrfs_insert_file_extent() to btrfs_insert_hole_extent()Omar Sandoval1-12/+9
2022-03-14btrfs: handle csum lookup errors properly on readsJosef Bacik1-14/+22
2022-03-14btrfs: make search_csum_tree return 0 if we get -EFBIGJosef Bacik1-1/+1
2022-03-14btrfs: don't advance offset for compressed bios in btrfs_csum_one_bio()Omar Sandoval1-20/+17
2022-03-14btrfs: populate extent_map::generation when reading from diskQu Wenruo1-0/+1
2022-01-03btrfs: stop accessing ->csum_root directlyJosef Bacik1-1/+3
2022-01-03btrfs: set BTRFS_FS_STATE_NO_CSUMS if we fail to load the csum rootJosef Bacik1-1/+2
2022-01-03btrfs: fix csum assert to check objectid of the rootJosef Bacik1-1/+1
2022-01-03btrfs: drop the _nr from the item helpersJosef Bacik1-12/+12
2021-10-26btrfs: use bvec_kmap_local in btrfs_csum_one_bioChristoph Hellwig1-4/+4
2021-10-26btrfs: rename struct btrfs_io_bio to btrfs_bioQu Wenruo1-7/+6
2021-09-17btrfs: replace BUG_ON() in btrfs_csum_one_bio() with proper error handlingQu Wenruo1-1/+12
2021-08-23btrfs: remove unneeded return variable in btrfs_lookup_file_extentMarcos Paulo de Souza1-3/+2
2021-06-22btrfs: fix typos in commentsDavid Sterba1-1/+1
2021-05-27btrfs: fix fsync failure and transaction abort after writes to prealloc extentsFilipe Manana1-22/+76
2021-05-27btrfs: fix error handling in btrfs_del_csumsJosef Bacik1-5/+5
2021-04-19btrfs: remove duplicated in_range() macroJohannes Thumshirn1-0/+1
2021-02-08btrfs: fix function description formats in file-item.cNikolay Borisov1-8/+14
2020-12-18btrfs: correctly calculate item size used when item key collision happensethanwu1-0/+2
2020-12-09btrfs: refactor btrfs_lookup_bio_sums to handle out-of-order bvecsQu Wenruo1-84/+166
2020-12-09btrfs: remove btrfs_find_ordered_sum call from btrfs_lookup_bio_sumsQu Wenruo1-5/+11
2020-12-09btrfs: drop casts of bio bi_sectorDavid Sterba1-3/+3
2020-12-08btrfs: use nodesize to determine if we need readahead in btrfs_lookup_bio_sumsQu Wenruo1-1/+5
2020-12-08btrfs: make btrfs_inode_safe_disk_i_size_write take btrfs_inodeNikolay Borisov1-9/+9
2020-12-08btrfs: locking: rip out path->leave_spinningJosef Bacik1-4/+0
2020-12-08btrfs: remove unnecessary local variables for checksum sizeDavid Sterba1-2/+1
2020-12-08btrfs: switch cached fs_info::csum_size from u16 to u32David Sterba1-7/+7
2020-12-08btrfs: use cached value of fs_info::csum_size everywhereDavid Sterba1-7/+7
2020-12-08btrfs: replace s_blocksize_bits with fs_info::sectorsize_bitsDavid Sterba1-19/+15
2020-12-08btrfs: use precalculated sectorsize_bits from fs_infoDavid Sterba1-1/+1
2020-12-08btrfs: introduce mount option rescue=ignorebadrootsJosef Bacik1-1/+1
2020-12-08btrfs: push the NODATASUM check into btrfs_lookup_bio_sumsJosef Bacik1-0/+3
2020-10-07btrfs: make btrfs_find_ordered_sum take btrfs_inodeNikolay Borisov1-2/+2
2020-07-27btrfs: make btrfs_csum_one_bio takae btrfs_inodeNikolay Borisov1-2/+1
2020-07-27btrfs: make btrfs_lookup_ordered_extent take btrfs_inodeNikolay Borisov1-2/+3
2020-05-25btrfs: remove useless 'fail_unlock' label from btrfs_csum_file_blocks()Filipe Manana1-7/+4
2020-05-25btrfs: do not ignore error from btrfs_next_leaf() when inserting checksumsFilipe Manana1-2/+4
2020-05-25btrfs: make checksum item extension more efficientFilipe Manana1-10/+17
2020-05-25btrfs: use crypto_shash_digest() instead of open codingEric Biggers1-4/+3
2020-05-25btrfs: clarify btrfs_lookup_bio_sums documentationOmar Sandoval1-4/+7
2020-03-23btrfs: add helper to get the end offset of a file extent itemFilipe Manana1-12/+28
2020-03-23btrfs: introduce per-inode file extent treeJosef Bacik1-0/+91
2020-01-20btrfs: safely advance counter when looking up bio csumsDavid Sterba1-1/+2
2020-01-20btrfs: make btrfs_ordered_extent naming consistent with btrfs_file_extent_itemOmar Sandoval1-2/+2
2020-01-20btrfs: get rid of at_offset parameter to btrfs_lookup_bio_sums()Omar Sandoval1-6/+5
2020-01-20btrfs: get rid of trivial __btrfs_lookup_bio_sums() wrappersOmar Sandoval1-18/+17
2019-12-13Btrfs: fix missing data checksums after replaying a log treeFilipe Manana1-2/+5
2019-11-18btrfs: remove extent_map::bdevDavid Sterba1-1/+0
2019-07-01btrfs: directly call into crypto framework for checksummingJohannes Thumshirn1-9/+9
2019-07-01btrfs: don't assume compressed_bio sums to be 4 bytesJohannes Thumshirn1-1/+1
2019-07-01btrfs: don't assume ordered sums to be 4 bytesJohannes Thumshirn1-14/+21
2019-04-29btrfs: Document btrfs_csum_one_bioNikolay Borisov1-0/+10
2019-04-29btrfs: remove unused parameter fs_info from btrfs_extend_itemDavid Sterba1-1/+1
2019-04-29btrfs: remove unused parameter fs_info from btrfs_truncate_itemDavid Sterba1-2/+2
2019-04-29btrfs: Remove redundant inode argument from btrfs_add_ordered_sumNikolay Borisov1-2/+2
2019-04-29btrfs: get fs_info from eb in btrfs_leaf_free_spaceDavid Sterba1-2/+2
2019-04-29btrfs: reduce kmap_atomic time for checksummingJohannes Thumshirn1-6/+2
2019-04-25btrfs: Switch memory allocations in async csum calculation path to kvmallocNikolay Borisov1-4/+11
2018-12-17btrfs: replace btrfs_io_bio::end_io with a simple helperDavid Sterba1-9/+0
2018-12-17btrfs: remove redundant csum buffer in btrfs_io_bioDavid Sterba1-5/+7
2018-08-06btrfs: simplify pointer chasing of local fs_info variablesDavid Sterba1-1/+1
2018-08-06btrfs: Get rid of the confusing btrfs_file_extent_inline_lenQu Wenruo1-1/+1
2018-04-12btrfs: replace GPL boilerplate by SPDX -- sourcesDavid Sterba1-14/+1
2017-07-05Merge branch 'for-4.13-part1' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-16/+15
2017-06-19Btrfs: change how we iterate bios in endioLiu Bo1-16/+15
2017-06-09block: switch bios to blk_status_tChristoph Hellwig1-7/+7
2017-02-28Merge branch 'for-chris-4.11-part2' of git://git.kernel.org/pub/scm/linux/ker...Chris Mason1-6/+6
2017-02-28btrfs: Make btrfs_extent_item_to_extent_map take btrfs_inodeNikolay Borisov1-5/+5
2017-02-28btrfs: make btrfs_is_free_space_inode take btrfs_inodeNikolay Borisov1-1/+1
2017-02-24Btrfs: bulk delete checksum items in the same leafFilipe Manana1-1/+27
2017-02-14btrfs: Make btrfs_ino take a struct btrfs_inodeNikolay Borisov1-2/+2
2017-02-14Btrfs: code cleanup min/max -> min_t/max_tSeraphime Kirkovski1-2/+2
2016-12-06btrfs: take an fs_info directly when the root is not used otherwiseJeff Mahoney1-18/+14
2016-12-06btrfs: root->fs_info cleanup, add fs_info convenience variablesJeff Mahoney1-54/+60
2016-12-06btrfs: pull node/sector/stripe sizes out of root and into fs_infoJeff Mahoney1-28/+31
2016-12-06btrfs: call functions that overwrite their root parameter with fs_infoJeff Mahoney1-3/+2
2016-11-30btrfs: refactor __btrfs_lookup_bio_sums to use bio_for_each_segment_allChristoph Hellwig1-21/+11
2016-11-30btrfs: don't access the bio directly in btrfs_csum_one_bioChristoph Hellwig1-11/+10
2016-11-30btrfs: remove constant parameter to memset_extent_buffer and rename itDavid Sterba1-1/+1
2016-08-03Btrfs: fix __MAX_CSUM_ITEMSChris Mason1-2/+3
2016-07-26btrfs: btrfs_abort_transaction, drop root parameterJeff Mahoney1-1/+1
2016-07-26btrfs: introduce BTRFS_MAX_ITEM_SIZEJeff Mahoney1-3/+2
2016-07-26btrfs: Ratelimit "no csum found" info messageNikolay Borisov1-1/+1
2016-04-29btrfs: sink gfp parameter to set_extent_bitsDavid Sterba1-1/+1
2016-04-04mm, fs: get rid of PAGE_CACHE_* and page_cache_{get,release} macrosKirill A. Shutemov1-2/+2
2016-03-21btrfs: make sure we stay inside the bvec during __btrfs_lookup_bio_sumsChris Mason1-0/+10
2016-03-11btrfs: move btrfs_compression_type to compression.hAnand Jain1-0/+1
2016-02-01Btrfs: Compute and look up csums based on sectorsized blocksChandan Rajendra1-33/+59
2016-01-07btrfs: cleanup, use enum values for btrfs_path readaDavid Sterba1-2/+2
2015-03-25Merge branch 'cleanups-post-3.19' of git://git.kernel.org/pub/scm/linux/kerne...Chris Mason1-1/+1
2015-03-03btrfs: cleanup, use kmalloc_array/kcalloc array helpersDavid Sterba1-2/+2
2015-02-16Btrfs: ctree: reduce args where only fs_info usedDaniel Dressler1-1/+1
2014-11-04Btrfs: fix kfree on list_head in btrfs_lookup_csums_range error cleanupChris Mason1-1/+1
2014-09-17Btrfs: load checksum data once when submitting a direct read ioMiao Xie1-12/+2
2014-09-17btrfs: use IS_ALIGNED() for assertion in btrfs_lookup_csums_range() for simpl...Satoru Takeuchi1-2/+2
2014-09-17btrfs: kill the key type accessor helpersDavid Sterba1-6/+6
2014-08-15Btrfs: fix csum tree corruption, duplicate and outdated checksumsFilipe Manana1-1/+1
2014-06-09Btrfs: make fsync work after cloning into a fileFilipe Manana1-0/+76
2014-06-09Btrfs: don't access non-existent key when csum tree is emptyFilipe Manana1-1/+1
2014-06-09Btrfs: do not increment on bio_index one by oneLiu Bo1-1/+1
2014-01-30Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-2/+2
2014-01-28Btrfs: convert printk to btrfs_ and fix BTRFS prefixFrank Holton1-2/+2
2013-11-23block: Abstract out bvec iteratorKent Overstreet1-9/+10
2013-11-11btrfs: Use WARN_ON()'s return value in place of WARN_ON(1)Dulshani Gunawardhana1-3/+1
2013-11-11Btrfs: add an assert to btrfs_lookup_csums_range for alignmentJosef Bacik1-0/+3
2013-09-01Btrfs: Remove superfluous casts from u64 to unsigned long longGeert Uytterhoeven1-3/+1
2013-09-01Btrfs: don't cache the csum value into the extent state treeMiao Xie1-27/+54
2013-07-02Btrfs: remove btrfs_sector_sum structureMiao Xie1-89/+55
2013-05-06btrfs: make static code static & remove dead codeEric Sandeen1-25/+5
2013-05-06Btrfs: remove unused argument of btrfs_extend_item()Tsutomu Itoh1-1/+1
2013-05-06Btrfs: cleanup of function where fixup_low_keys() is calledTsutomu Itoh1-6/+5
2013-05-06Btrfs: improve the performance of the csums lookupMiao Xie1-19/+30
2013-05-06btrfs: Cleanup some redundant codes in btrfs_lookup_csums_range()Zhi Yong Wu1-5/+2
2013-05-06Btrfs: cleanup unused arguments of btrfs_csum_dataLiu Bo1-2/+1
2013-03-28Btrfs: fix wrong return value of btrfs_lookup_csum()Miao Xie1-1/+3
2013-03-28Btrfs: fix wrong reservation of csumsMiao Xie1-2/+0
2013-02-20Btrfs: extend the checksum item as much as possibleLiu Bo1-21/+46
2013-01-24Btrfs: put csums on the right ordered extentJosef Bacik1-2/+2
2012-12-12Btrfs: fix wrong file extent lengthMiao Xie1-1/+20
2012-10-09btrfs: fix min csum item size warnings in 32bitZach Brown1-1/+2
2012-10-01Btrfs: fix gcc warnings for 32bit compilesJan Schmidt1-1/+1
2012-08-28Btrfs: don't allocate a seperate csums array for direct readsJosef Bacik1-2/+2
2012-07-23Btrfs: kill root from btrfs_is_free_space_inodeLiu Bo1-1/+1