freebsd-dev/sbin/fsck_ffs
Kirk McKusick e4a905d1e0 Add the ability to adjust directory depths to background fsck_ffs(8).
Commit fe5e6e2 improved FFS directory placement when creating new
directories. It is done by keeping track of the depth of directories
in the filesystem and placing those lower in the tree closer together
while spreading out those higher in the tree.

Fsck_ffs(8) checks these depths and if incorrect adjusts them to
their correct value. When running in background fsck_ffs(8) needs
to be able to make an adjustment to the depth. This commit adds
the sysctl to make such an adjustment and adds the code to fsck_ffs(8)
to use the new sysctl.

MFC after:    1 week
Sponsored by: The FreeBSD Foundation
2023-05-25 19:27:04 -07:00
..
dir.c Add the ability to adjust directory depths to background fsck_ffs(8). 2023-05-25 19:27:04 -07:00
ea.c spdx: The BSD-3-Clause-FreeBSD identifier never was, drop -FreeBSD 2023-05-12 10:44:04 -06:00
fsck_ffs.8 Correct the location of the first backup superblock in fsck_ffs.8. 2019-08-07 16:56:00 +00:00
fsck.h Add the ability to adjust directory depths to background fsck_ffs(8). 2023-05-25 19:27:04 -07:00
fsutil.c Fix size differences between architectures of the UFS/FFS CGSIZE macro value. 2023-05-15 12:57:15 -07:00
gjournal.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
globs.c Add the ability to adjust directory depths to background fsck_ffs(8). 2023-05-25 19:27:04 -07:00
inode.c Fix off-by-one error in fsck_ffs(8) chkrange() block-number check. 2023-05-09 13:08:10 -07:00
main.c When running fsck_ffs(8) in background ensure that a superblock has been read. 2023-05-25 18:59:16 -07:00
Makefile pkgbase: Put ufs related tools and lib in their own package 2022-10-26 19:46:34 +02:00
Makefile.depend Update/fix Makefile.depend for userland 2023-04-18 17:14:23 -07:00
pass1.c fsck_ffs: fix the previous change that skipped pass 5 in some cases 2023-05-03 13:31:32 -07:00
pass1b.c Flush and close getnextino cache when done using it in Pass 1b. 2022-09-03 14:15:50 -07:00
pass2.c Improvement in UFS/FFS directory placement when doing mkdir(2). 2023-03-29 21:13:27 -07:00
pass3.c Improvement in UFS/FFS directory placement when doing mkdir(2). 2023-03-29 21:13:27 -07:00
pass4.c Rewrite the disk I/O management system in fsck_ffs(8). Other than 2021-01-07 15:03:15 -08:00
pass5.c Fix size differences between architectures of the UFS/FFS CGSIZE macro value. 2023-05-15 12:57:15 -07:00
setup.c When running fsck_ffs(8) in background ensure that a superblock has been read. 2023-05-25 18:59:16 -07:00
suj.c spdx: The BSD-2-Clause-FreeBSD identifier is obsolete, drop -FreeBSD 2023-05-12 10:44:03 -06:00
utilities.c Remove unused includes. 2019-12-22 05:44:29 +00:00