aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/inode.c
AgeCommit message (Expand)AuthorFilesLines
8 daysMerge tag 'for-6.19-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-76/+116
10 daysMerge tag 'vfs-6.19-rc1.fs_header' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-0/+1
10 daysMerge tag 'vfs-6.19-rc1.folio' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+6
10 daysMerge tag 'vfs-6.19-rc1.writeback' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-32/+14
10 daysMerge tag 'vfs-6.19-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-5/+5
10 daysMerge tag 'vfs-6.19-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-3/+13
2025-11-26btrfs: fix the comment on btrfs_update_timeChristoph Hellwig1-2/+2
2025-11-25btrfs: remaining BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-2/+1
2025-11-25btrfs: reduce arguments to btrfs_del_inode_ref_in_log()Filipe Manana1-1/+1
2025-11-25btrfs: remove root argument from btrfs_del_dir_entries_in_log()Filipe Manana1-1/+1
2025-11-25btrfs: disable various operations on encrypted inodesOmar Sandoval1-0/+4
2025-11-24btrfs: use booleans for delalloc arguments and struct find_free_extent_ctlFilipe Manana1-4/+4
2025-11-24btrfs: use bool type for btrfs_path members used as booleansFilipe Manana1-2/+2
2025-11-24btrfs: make read verification handle bs > ps cases without large foliosQu Wenruo1-8/+10
2025-11-24btrfs: make btrfs_csum_one_bio() handle bs > ps without large foliosQu Wenruo1-20/+51
2025-11-24btrfs: move and rename CSUM_FMT definitionDavid Sterba1-12/+12
2025-11-24btrfs: relax btrfs_inode::ordered_tree_lock IRQ locking contextQu Wenruo1-2/+2
2025-11-24btrfs: remove btrfs_bio::fs_info by extracting it from btrfs_bio::inodeQu Wenruo1-5/+2
2025-11-24btrfs: headers cleanup to remove unnecessary local includesQu Wenruo1-0/+1
2025-11-24btrfs: declare free_ipath() via DEFINE_FREE()Miquel Sabaté Solà1-3/+1
2025-11-24btrfs: use the key format macros when printing keysFilipe Manana1-2/+2
2025-11-24btrfs: avoid multiple i_size rounding in btrfs_truncate()Filipe Manana1-10/+8
2025-11-24btrfs: consistently round up or down i_size in btrfs_truncate()Filipe Manana1-4/+4
2025-11-24btrfs: introduce a new shutdown stateQu Wenruo1-2/+14
2025-11-24btrfs: fix trivial -Wshadow warningsDavid Sterba1-2/+0
2025-11-12btrfs: utilize IOP_FASTPERM_MAY_EXECMateusz Guzik1-1/+11
2025-11-11Merge tag 'for-6.18-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+3
2025-11-05fs: inline current_umask() and move it to fs_struct.hMateusz Guzik1-0/+1
2025-11-05btrfs: release root after error in data_reloc_print_warning_inode()Zilin Guan1-1/+3
2025-11-04Merge tag 'for-6.18-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-1/+0
2025-10-31btrfs: Use folio_next_pos()Matthew Wilcox (Oracle)1-5/+6
2025-10-30btrfs: set inode flag BTRFS_INODE_COPY_EVERYTHING when logging new nameFilipe Manana1-1/+0
2025-10-29mm,btrfs: add a filemap_flush_nr helperChristoph Hellwig1-11/+2
2025-10-29btrfs: push struct writeback_control into start_delalloc_inodesChristoph Hellwig1-30/+21
2025-10-29btrfs: use the local tmp_inode variable in start_delalloc_inodesChristoph Hellwig1-3/+3
2025-10-20btrfs: use the new ->i_state accessorsMateusz Guzik1-5/+5
2025-10-02Merge tag 'mm-stable-2025-10-01-19-00' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-2/+2
2025-09-30Merge tag 'for-6.18-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-241/+267
2025-09-29Merge tag 'vfs-6.18-rc1.inode' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-1/+4
2025-09-29Merge tag 'vfs-6.18-rc1.misc' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-1/+1
2025-09-23btrfs: add unlikely annotations to branches leading to transaction abortDavid Sterba1-49/+49
2025-09-23btrfs: add unlikely annotations to branches leading to EIODavid Sterba1-6/+6
2025-09-23btrfs: add unlikely annotations to branches leading to EUCLEANDavid Sterba1-5/+5
2025-09-23btrfs: fix symbolic link reading when bs > psQu Wenruo1-1/+1
2025-09-23btrfs: prepare compression folio alloc/free for bs > ps casesQu Wenruo1-7/+9
2025-09-23btrfs: introduce btrfs_bio_for_each_block() helperQu Wenruo1-11/+15
2025-09-23btrfs: concentrate highmem handling for data verificationQu Wenruo1-14/+33
2025-09-23btrfs: fix typos in comments and stringsDavid Sterba1-5/+5
2025-09-23btrfs: keep folios locked inside run_delalloc_nocow()Qu Wenruo1-51/+22
2025-09-23btrfs: make nocow_one_range() to do cleanup on errorQu Wenruo1-21/+39
2025-09-23btrfs: enhance error messages for delalloc range failureQu Wenruo1-11/+18
2025-09-22btrfs: rework error handling of run_delalloc_nocow()Qu Wenruo1-59/+61
2025-09-22btrfs: convert several int parameters to boolDavid Sterba1-1/+1
2025-09-22btrfs: pass btrfs_inode pointer directly into btrfs_compress_folios()Qu Wenruo1-1/+1
2025-09-22btrfs: zoned: return error from btrfs_zone_finish_endio()Johannes Thumshirn1-3/+4
2025-09-22btrfs: replace double boolean parameters of cow_file_range()Qu Wenruo1-15/+17
2025-09-15fs: rename generic_delete_inode() and generic_drop_inode()Mateusz Guzik1-1/+1
2025-09-15btrfs: initialize inode::file_extent_tree after i_mode has been setaustinchang1-6/+5
2025-09-13treewide: remove MIGRATEPAGE_SUCCESSDavid Hildenbrand1-2/+2
2025-09-02btrfs: fix subvolume deletion lockup caused by inodes xarray raceOmar Sandoval1-1/+11
2025-09-01fs: add an icount_read helperJosef Bacik1-1/+1
2025-08-22btrfs: fix race between setting last_dir_index_offset and inode loggingFilipe Manana1-0/+1
2025-08-22btrfs: simplify error handling logic for btrfs_link()Filipe Manana1-26/+19
2025-08-22btrfs: fix inode leak on failure to add link to inodeFilipe Manana1-0/+2
2025-08-22btrfs: abort transaction on failure to add link to inodeFilipe Manana1-2/+6
2025-08-21btrfs: move verity info pointer to fs-specific part of inodeEric Biggers1-0/+3
2025-08-13btrfs: do not set mtime/ctime to current time when unlinking for log replayFilipe Manana1-10/+19
2025-08-07btrfs: fix wrong length parameter for btrfs_cleanup_ordered_extents()Qu Wenruo1-1/+1
2025-08-07btrfs: make btrfs_cleanup_ordered_extents() support large foliosQu Wenruo1-2/+4
2025-07-22btrfs: defrag: add flag to force no-compressionDavid Sterba1-4/+7
2025-07-22btrfs: remove btrfs_clear_extent_bits()Filipe Manana1-2/+2
2025-07-22btrfs: use cached state when falling back from NOCoW write to CoW writeFilipe Manana1-1/+2
2025-07-22btrfs: set EXTENT_NORESERVE before range unlock in btrfs_truncate_block()Filipe Manana1-2/+3
2025-07-22btrfs: assert we can NOCOW the range in btrfs_truncate_block()Filipe Manana1-2/+5
2025-07-22btrfs: don't use token set/get accessors in inode.c:fill_inode_item()David Sterba1-35/+25
2025-07-21btrfs: use pgoff_t for page index variablesDavid Sterba1-5/+4
2025-07-21btrfs: use btrfs inodes in btrfs_rmdir() to avoid so much usage of BTRFS_I()Filipe Manana1-15/+16
2025-07-21btrfs: use inode already stored in local variable at btrfs_rmdir()Filipe Manana1-2/+1
2025-07-21btrfs: use folio_end() where appropriateDavid Sterba1-6/+4
2025-07-21btrfs: simplify range end calculations in truncate_block_zero_beyond_eof()David Sterba1-2/+2
2025-07-21btrfs: use btrfs_root_id() where not done yetDavid Sterba1-2/+2
2025-07-21btrfs: use btrfs_is_data_reloc_root() where not done yetDavid Sterba1-1/+1
2025-07-21btrfs: use on-stack variable for block reserve in btrfs_truncate()David Sterba1-12/+10
2025-07-21btrfs: use on-stack variable for block reserve in btrfs_evict_inode()David Sterba1-13/+12
2025-07-21btrfs: enable large data folio support under CONFIG_BTRFS_EXPERIMENTALQu Wenruo1-0/+2
2025-07-21btrfs: make btrfs_readdir_delayed_dir_index() return a bool insteadFilipe Manana1-2/+1
2025-07-21btrfs: pass NULL index to btrfs_del_inode_ref() where not neededFilipe Manana1-2/+1
2025-07-21btrfs: free path sooner at __btrfs_unlink_inode()Filipe Manana1-17/+14
2025-07-21btrfs: rename err to ret in btrfs_create_common()David Sterba1-8/+8
2025-07-21btrfs: rename err to ret in btrfs_symlink()David Sterba1-15/+14
2025-07-21btrfs: rename err to ret in btrfs_link()David Sterba1-13/+13
2025-07-21btrfs: rename err to ret in btrfs_setattr()David Sterba1-11/+11
2025-07-21btrfs: rename err to ret in btrfs_init_inode_security()David Sterba1-7/+7
2025-07-21btrfs: rename err to ret2 in btrfs_add_link()David Sterba1-11/+10
2025-07-21btrfs: rename err to ret2 in btrfs_setsize()David Sterba1-4/+4
2025-07-21btrfs: rename btrfs_subpage structureQu Wenruo1-4/+4
2025-07-21btrfs: unfold transaction aborts at btrfs_create_new_inode()Filipe Manana1-4/+8
2025-06-27btrfs: use btrfs_record_snapshot_destroy() during rmdirFilipe Manana1-1/+1
2025-06-27btrfs: propagate last_unlink_trans earlier when doing a rmdirFilipe Manana1-18/+18
2025-06-19btrfs: fix a race between renames and directory loggingFilipe Manana1-17/+64
2025-06-19btrfs: include root in error message when unlinking inodeFilipe Manana1-3/+3
2025-05-15btrfs: return real error from __filemap_get_folio() callsFilipe Manana1-1/+1
2025-05-15btrfs: fix invalid data space release when truncating block in NOCOW modeFilipe Manana1-2/+5
2025-05-15btrfs: use boolean for delalloc argument to btrfs_free_reserved_extent()Filipe Manana1-5/+5
2025-05-15btrfs: handle aligned EOF truncation correctly for subpage casesQu Wenruo1-1/+54
2025-05-15btrfs: handle unaligned EOF truncation correctly for subpage casesQu Wenruo1-27/+80
2025-05-15btrfs: pass struct btrfs_inode to btrfs_free_reserved_data_space_noquota()Naohiro Aota1-2/+2
2025-05-15btrfs: reformat comments in acls_after_inode_item()David Sterba1-14/+23
2025-05-15btrfs: trivial conversion to return bool instead of intDavid Sterba1-7/+7
2025-05-15btrfs: use unsigned types for constants defined as bit shiftsDavid Sterba1-6/+6
2025-05-15btrfs: use list_first_entry() everywhereDavid Sterba1-3/+3
2025-05-15btrfs: convert WARN_ON(IS_ENABLED(CONFIG_BTRFS_DEBUG)) to DEBUG_WARNDavid Sterba1-4/+2
2025-05-15btrfs: move kmapping out of btrfs_check_sector_csum()Christoph Hellwig1-10/+10
2025-05-15btrfs: rename remaining exported extent map functionsFilipe Manana1-6/+6
2025-05-15btrfs: rename functions to allocate and free extent mapsFilipe Manana1-24/+24
2025-05-15btrfs: rename extent map functions to get block start, end and check if in treeFilipe Manana1-7/+7
2025-05-15btrfs: rename exported extent map compression functionsFilipe Manana1-3/+3
2025-05-15btrfs: rename the functions to count, test and get bit ranges in io treesFilipe Manana1-6/+7
2025-05-15btrfs: rename the functions to init and release an extent io treeFilipe Manana1-2/+3
2025-05-15btrfs: rename set_extent_bit() to include a btrfs prefixFilipe Manana1-7/+7
2025-05-15btrfs: rename the functions to clear bits for an extent rangeFilipe Manana1-21/+22
2025-05-15btrfs: rename __lock_extent() and __try_lock_extent()Filipe Manana1-3/+3
2025-05-15btrfs: add btrfs prefix to main lock, try lock and unlock extent functionsFilipe Manana1-42/+42
2025-05-15btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_encoded_read_inline()David Sterba1-18/+13
2025-05-15btrfs: use BTRFS_PATH_AUTO_FREE in can_nocow_extent()David Sterba1-22/+15
2025-05-15btrfs: use BTRFS_PATH_AUTO_FREE in btrfs_set_inode_index_count()David Sterba1-9/+7
2025-05-15btrfs: use BTRFS_PATH_AUTO_FREE in may_destroy_subvol()David Sterba1-7/+5
2025-05-15btrfs: do more trivial BTRFS_PATH_AUTO_FREE conversionsDavid Sterba1-18/+9
2025-05-15btrfs: use clear_extent_bits() instead of clear_extent_bit() where possibleFilipe Manana1-2/+1
2025-05-15btrfs: allow folios to be released while ordered extent is finishingFilipe Manana1-2/+4
2025-05-15btrfs: remove leftover EXTENT_UPTODATE clear from an inode's io_treeFilipe Manana1-12/+10
2025-05-15btrfs: move block perfect compression out of experimental featuresQu Wenruo1-15/+0
2025-05-14Merge tag 'for-6.15-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+7
2025-05-12btrfs: fix folio leak in submit_one_async_extent()Boris Burkov1-0/+7
2025-04-30Merge tag 'for-6.15-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-5/+8
2025-04-23btrfs: fix the inode leak in btrfs_iget()Penglei Jiang1-1/+3
2025-04-23btrfs: fix COW handling in run_delalloc_nocow()Dave Chen1-4/+5
2025-03-27Merge tag 'for-6.15-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-273/+316
2025-03-24Merge tag 'vfs-6.15-rc1.async.dir' of git://git.kernel.org/pub/scm/linux/kern...Linus Torvalds1-4/+4
2025-03-18btrfs: prepare btrfs_launcher_folio() for large folios supportQu Wenruo1-1/+1
2025-03-18btrfs: subpage: make btrfs_is_subpage() check against a folioQu Wenruo1-1/+1
2025-03-18btrfs: add extra warning if delayed iput is added when it's not allowedQu Wenruo1-0/+1
2025-03-18btrfs: make btrfs_iget_path() return a btrfs inode insteadFilipe Manana1-4/+4
2025-03-18btrfs: make btrfs_iget() return a btrfs inode insteadFilipe Manana1-28/+28
2025-03-18btrfs: defrag: extend ioctl to accept compression levelsDaniel Vacek1-3/+6
2025-03-18btrfs: reject out-of-band dirty folios during writebackQu Wenruo1-0/+15
2025-03-18btrfs: unify inode variable namingDavid Sterba1-15/+13
2025-03-18btrfs: pass struct btrfs_inode to btrfs_sync_inode_flags_to_i_flags()David Sterba1-2/+2
2025-03-18btrfs: properly limit inline data extent according to block sizeQu Wenruo1-1/+10
2025-03-18btrfs: allow inline data extents creation if block size < page sizeQu Wenruo1-13/+0
2025-03-18btrfs: fix the qgroup data free range for inline data extentsQu Wenruo1-1/+1
2025-03-18btrfs: prevent inline data extents read from touching blocks beyond its rangeQu Wenruo1-6/+8
2025-03-18btrfs: pass struct btrfs_inode to btrfs_inode_inherit_props()David Sterba1-2/+4
2025-03-18btrfs: pass struct btrfs_inode to btrfs_load_inode_props()David Sterba1-1/+1
2025-03-18btrfs: pass struct btrfs_inode to btrfs_fill_inode()David Sterba1-1/+1
2025-03-18btrfs: pass struct btrfs_inode to btrfs_inode_type()David Sterba1-5/+5
2025-03-18btrfs: pass struct btrfs_inode to new_simple_dir()David Sterba1-24/+31
2025-03-18btrfs: pass struct btrfs_inode to btrfs_iget_locked()David Sterba1-14/+16
2025-03-18btrfs: pass struct btrfs_inode to btrfs_read_locked_inode()David Sterba1-61/+58
2025-03-18btrfs: pass struct btrfs_inode to extent_range_clear_dirty_for_io()David Sterba1-4/+4
2025-03-18btrfs: pass struct btrfs_inode to can_nocow_extent()David Sterba1-9/+9
2025-03-18btrfs: unify ordering of btrfs_key initializationsDavid Sterba1-4/+4
2025-03-18btrfs: zstd: enable negative compression levels mount optionDaniel Vacek1-1/+1
2025-03-18btrfs: move ordered extent cleanup to where they are allocatedQu Wenruo1-32/+43
2025-03-18btrfs: factor out nocow ordered extent and extent map generation into a helperQu Wenruo1-61/+61
2025-03-18btrfs: expose per-inode stable writes flagQu Wenruo1-0/+2
2025-03-17btrfs: update some folio related commentsMatthew Wilcox (Oracle)1-1/+1
2025-03-17btrfs: keep private struct on stack for sync reads in btrfs_encoded_read_regu...Daniel Vacek1-16/+23
2025-03-07Merge tag 'for-6.14-rc5-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-2/+7
2025-02-27Change inode_operations.mkdir to return struct dentry *NeilBrown1-4/+4
2025-02-26btrfs: zoned: fix extent range end unlock in cow_file_range()Naohiro Aota1-2/+7
2025-01-26Merge tag 'mm-stable-2025-01-26-14-59' of git://git.kernel.org/pub/scm/linux/...Linus Torvalds1-1/+0
2025-01-25mm, swap: clean up device availability checkKairui Song1-1/+0
2025-01-13btrfs: remove the unused locked_folio parameter from btrfs_cleanup_ordered_ex...Qu Wenruo1-40/+2
2025-01-13btrfs: add extra error messages for delalloc range related errorsQu Wenruo1-0/+12
2025-01-13btrfs: do proper folio cleanup when run_delalloc_nocow() failedQu Wenruo1-6/+89
2025-01-13btrfs: do proper folio cleanup when cow_file_range() failedQu Wenruo1-33/+30
2025-01-13btrfs: fix error handling of submit_uncompressed_range()Qu Wenruo1-13/+4
2025-01-13btrfs: fix double accounting race when btrfs_run_delalloc_range() failedQu Wenruo1-2/+1
2025-01-13btrfs: inode: remove unnecessary calls to btrfs_mark_buffer_dirty()Filipe Manana1-5/+0
2025-01-13btrfs: uncollapse transaction aborts during renamesFilipe Manana1-22/+52
2025-01-13btrfs: simplify arguments for btrfs_cross_ref_exist()Filipe Manana1-2/+1
2025-01-13btrfs: remove no longer needed strict argument from can_nocow_extent()Filipe Manana1-8/+3
2025-01-13btrfs: drop fs_info argument from btrfs_update_space_info_*()Naohiro Aota1-1/+1
2024-12-29Merge tag 'for-6.13-rc4-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-44/+110
2024-12-23btrfs: avoid monopolizing a core when activating a swap fileFilipe Manana1-0/+2
2024-12-23btrfs: allow swap activation to be interruptibleFilipe Manana1-0/+5
2024-12-23btrfs: fix swap file activation failure due to extents that used to be sharedFilipe Manana1-27/+69
2024-12-23btrfs: fix race with memory mapped writes when activating swap fileFilipe Manana1-7/+24
2024-12-23btrfs: fix use-after-free waiting for encoded read endiosJohannes Thumshirn1-11/+11
2024-12-10Merge tag 'for-6.13-rc2-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2024-12-03btrfs: fix missing snapshot drew unlock when root is dead during swap activationFilipe Manana1-0/+1
2024-12-03Merge tag 'for-6.13-rc1-tag' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-4/+14
2024-11-28btrfs: fix deadlock between transaction commits and extent locksFilipe Manana1-3/+13
2024-11-28btrfs: fix use-after-free in btrfs_encoded_read_endio()Johannes Thumshirn1-1/+1
2024-11-18Merge tag 'for-6.13-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kda...Linus Torvalds1-241/+254
2024-11-18Merge tag 'vfs-6.13.pagecache' of git://git.kernel.org/pub/scm/linux/kernel/g...Linus Torvalds1-4/+4
2024-11-18Merge tag 'vfs-6.13.misc' of git://git.kernel.org/pub/scm/linux/kernel/git/vf...Linus Torvalds1-1/+1
2024-11-11btrfs: avoid superfluous calls to free_extent_map() in btrfs_encoded_read()Mark Harmstone1-2/+2
2024-11-11btrfs: simplify range tracking in cow_file_range()Haisu Wang1-18/+14