linux/fs/xfs/scrub
Darrick J. Wong ea0b3e8147 xfs: enforce one namespace per attribute
Create a standardized helper function to enforce one namespace bit per
extended attribute, and refactor all the open-coded hweight logic.  This
function is not a static inline to avoid porting hassles in userspace.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
2024-04-23 07:46:54 -07:00
..
agb_bitmap.c xfs: move the per-AG datatype bitmaps to separate files 2023-12-15 10:03:30 -08:00
agb_bitmap.h xfs: create agblock bitmap helper to count the number of set regions 2024-02-22 12:43:37 -08:00
agheader_repair.c xfs: repair AGI unlinked inode bucket lists 2024-04-15 14:58:58 -07:00
agheader.c xfs: silence sparse warning when checking version number 2024-04-22 12:51:43 +05:30
agino_bitmap.h xfs: repair AGI unlinked inode bucket lists 2024-04-15 14:58:58 -07:00
alloc_repair.c xfs: fix error bailout in xrep_abt_build_new_trees 2024-04-15 14:54:06 -07:00
alloc.c xfs: repair free space btrees 2023-12-15 10:03:32 -08:00
attr_repair.c xfs: enforce one namespace per attribute 2024-04-23 07:46:54 -07:00
attr_repair.h xfs: repair extended attributes 2024-04-15 14:58:53 -07:00
attr.c xfs: enforce one namespace per attribute 2024-04-23 07:46:54 -07:00
attr.h xfs: repair extended attributes 2024-04-15 14:58:53 -07:00
bitmap.c xfs: fix sparse warnings about unused interval tree functions 2024-04-22 12:51:43 +05:30
bitmap.h xfs: create agblock bitmap helper to count the number of set regions 2024-02-22 12:43:37 -08:00
bmap_repair.c xfs: remove xfs_bmbt_stage_cursor 2024-02-22 12:39:45 -08:00
bmap.c xfs: create a helper to decide if a file mapping targets the rt volume 2024-02-22 12:43:36 -08:00
btree.c xfs: consolidate btree block verification 2024-02-22 12:40:57 -08:00
btree.h overflow: Add struct_size_t() helper 2023-05-26 13:52:19 -07:00
common.c xfs: refactor realtime inode locking 2024-04-22 18:00:47 +05:30
common.h xfs: repair the rmapbt 2024-02-22 12:43:38 -08:00
cow_repair.c xfs: convert remaining kmem_free() to kfree() 2024-02-13 18:07:34 +05:30
dab_bitmap.h xfs: create an xattr iteration function for scrub 2024-04-15 14:58:54 -07:00
dabtree.c xfs: scrub should set preen if attr leaf has holes 2024-04-15 14:58:54 -07:00
dabtree.h xfs: flag empty xattr leaf blocks for optimization 2024-04-15 14:58:54 -07:00
dir_repair.c xfs: pin inodes that would otherwise overflow link count 2024-04-15 14:58:59 -07:00
dir.c xfs: online repair of directories 2024-04-15 14:58:55 -07:00
dqiterate.c xfs: improve dquot iteration for scrub 2023-12-15 10:03:45 -08:00
findparent.c xfs: ask the dentry cache if it knows the parent of a directory 2024-04-15 14:58:56 -07:00
findparent.h xfs: ask the dentry cache if it knows the parent of a directory 2024-04-15 14:58:56 -07:00
fsb_bitmap.h xfs: reintroduce reaping of file metadata blocks to xrep_reap_extents 2023-12-15 10:03:38 -08:00
fscounters_repair.c xfs: support RT inodes in xfs_mod_delalloc 2024-04-22 18:00:48 +05:30
fscounters.c xfs: support RT inodes in xfs_mod_delalloc 2024-04-22 18:00:48 +05:30
fscounters.h xfs: support RT inodes in xfs_mod_delalloc 2024-04-22 18:00:48 +05:30
health.c xfs: refactor the btree cursor allocation logic in xchk_ag_btcur_init 2024-02-22 12:39:48 -08:00
health.h xfs: refactor the btree cursor allocation logic in xchk_ag_btcur_init 2024-02-22 12:39:48 -08:00
ialloc_repair.c xfs: split xfs_inobt_init_cursor 2024-02-22 12:40:49 -08:00
ialloc.c xfs: remove xfs_btnum_t 2024-02-22 12:40:51 -08:00
inode_repair.c xfs: check unused nlink fields in the ondisk inode 2024-04-15 14:58:59 -07:00
inode.c xfs: ensure unlinked list state is consistent with nlink during scrub 2024-04-15 14:58:54 -07:00
iscan.c xfs: scan the filesystem to repair a directory dotdot entry 2024-04-15 14:58:56 -07:00
iscan.h xfs: scan the filesystem to repair a directory dotdot entry 2024-04-15 14:58:56 -07:00
listxattr.c xfs: create an xattr iteration function for scrub 2024-04-15 14:58:54 -07:00
listxattr.h xfs: create an xattr iteration function for scrub 2024-04-15 14:58:54 -07:00
newbt.c xfs: repair the rmapbt 2024-02-22 12:43:38 -08:00
newbt.h xfs: repair the rmapbt 2024-02-22 12:43:38 -08:00
nlinks_repair.c xfs: pin inodes that would otherwise overflow link count 2024-04-15 14:58:59 -07:00
nlinks.c xfs: pin inodes that would otherwise overflow link count 2024-04-15 14:58:59 -07:00
nlinks.h xfs: move files to orphanage instead of letting nlinks drop to zero 2024-04-15 14:58:57 -07:00
off_bitmap.h xfs: repair problems in CoW forks 2023-12-15 10:03:40 -08:00
orphanage.c xfs: ensure dentry consistency when the orphanage adopts a file 2024-04-15 14:58:57 -07:00
orphanage.h xfs: move orphan files to the orphanage 2024-04-15 14:58:56 -07:00
parent_repair.c xfs: move orphan files to the orphanage 2024-04-15 14:58:56 -07:00
parent.c xfs: online repair of parent pointers 2024-04-15 14:58:56 -07:00
quota_repair.c xfs: repair quotas 2023-12-15 10:03:45 -08:00
quota.c xfs: repair quotas 2023-12-15 10:03:45 -08:00
quota.h xfs: repair quotas 2023-12-15 10:03:45 -08:00
quotacheck_repair.c xfs: repair dquots based on live quotacheck results 2024-02-22 12:30:57 -08:00
quotacheck.c xfs: repair dquots based on live quotacheck results 2024-02-22 12:30:57 -08:00
quotacheck.h xfs: repair dquots based on live quotacheck results 2024-02-22 12:30:57 -08:00
rcbag_btree.c xfs: create refcount bag structure for btree repairs 2024-02-22 12:43:41 -08:00
rcbag_btree.h xfs: create refcount bag structure for btree repairs 2024-02-22 12:43:41 -08:00
rcbag.c xfs: create refcount bag structure for btree repairs 2024-02-22 12:43:41 -08:00
rcbag.h xfs: create refcount bag structure for btree repairs 2024-02-22 12:43:41 -08:00
readdir.c xfs: online repair of directories 2024-04-15 14:58:55 -07:00
readdir.h xfs: streamline the directory iteration code for scrub 2023-04-11 19:00:17 -07:00
reap.c xfs: add the ability to reap entire inode forks 2024-04-15 14:58:49 -07:00
reap.h xfs: add the ability to reap entire inode forks 2024-04-15 14:58:49 -07:00
refcount_repair.c xfs: port refcount repair to the new refcount bag structure 2024-02-22 12:43:42 -08:00
refcount.c xfs: port refcount repair to the new refcount bag structure 2024-02-22 12:43:42 -08:00
repair.c xfs: split xfs_mod_freecounter 2024-04-22 18:00:47 +05:30
repair.h xfs: online repair of symbolic links 2024-04-15 14:58:58 -07:00
rmap_repair.c xfs: Remove unused function is_rt_data_fork 2024-04-22 12:51:43 +05:30
rmap.c xfs: repair the rmapbt 2024-02-22 12:43:38 -08:00
rtbitmap_repair.c xfs: online repair of realtime bitmaps 2023-12-15 10:03:43 -08:00
rtbitmap.c xfs: remove conditional building of rt geometry validator functions 2024-01-30 14:04:43 +05:30
rtbitmap.h xfs: online repair of realtime bitmaps 2023-12-15 10:03:43 -08:00
rtsummary_repair.c xfs: online repair of realtime summaries 2024-04-15 14:58:49 -07:00
rtsummary.c xfs: online repair of realtime summaries 2024-04-15 14:58:49 -07:00
rtsummary.h xfs: online repair of realtime summaries 2024-04-15 14:58:49 -07:00
scrub.c xfs: create subordinate scrub contexts for xchk_metadata_inode_subtype 2024-04-15 14:59:00 -07:00
scrub.h xfs: create subordinate scrub contexts for xchk_metadata_inode_subtype 2024-04-15 14:59:00 -07:00
stats.c xfs: fix scrub stats file permissions 2024-02-26 17:58:37 +05:30
stats.h xfs: track usage statistics of online fsck 2023-08-10 07:48:07 -07:00
symlink_repair.c xfs: online repair of symbolic links 2024-04-15 14:58:58 -07:00
symlink.c xfs: online repair of symbolic links 2024-04-15 14:58:58 -07:00
tempexch.h xfs: use atomic extent swapping to fix user file fork data 2024-04-15 14:58:53 -07:00
tempfile.c xfs: unlock new repair tempfiles after creation 2024-04-15 14:59:03 -07:00
tempfile.h xfs: online repair of directories 2024-04-15 14:58:55 -07:00
trace.c xfs: move files to orphanage instead of letting nlinks drop to zero 2024-04-15 14:58:57 -07:00
trace.h xfs: repair AGI unlinked inode bucket lists 2024-04-15 14:58:58 -07:00
xfarray.c xfs: repair extended attributes 2024-04-15 14:58:53 -07:00
xfarray.h xfs: repair extended attributes 2024-04-15 14:58:53 -07:00
xfblob.c xfs: repair extended attributes 2024-04-15 14:58:53 -07:00
xfblob.h xfs: online repair of directories 2024-04-15 14:58:55 -07:00
xfile.c xfs: enable discarding of folios backing an xfile 2024-04-15 14:58:53 -07:00
xfile.h xfs: repair extended attributes 2024-04-15 14:58:53 -07:00
xfs_scrub.h xfs: update copyright years for scrub/ files 2023-04-11 18:59:57 -07:00