Author: mckusick
Date: Fri Dec 18 23:28:27 2020
New Revision: 368773
URL: https://svnweb.freebsd.org/changeset/base/368773
Log:
Rename pass4check() to freeblock() and move from pass4.c to inode.c.
The new name more accurately describes what it does and the file move
puts it with other simila
Author: mckusick
Date: Wed Dec 9 22:37:23 2020
New Revision: 368494
URL: https://svnweb.freebsd.org/changeset/base/368494
Log:
MFC of 368396 and 368425.
Document BA_CLRBUF flag.
Sponsored by: Netflix
Modified:
stable/12/sys/fs/ext2fs/ext2_extern.h
stable/12/sys/ufs/ufs/ufs_extern
Author: mckusick
Date: Tue Dec 8 00:49:31 2020
New Revision: 368425
URL: https://svnweb.freebsd.org/changeset/base/368425
Log:
In ext2fs, BA_CLRBUF is used in ext2_balloc() not UFS_BALLOC().
Noted by: kib
MFC after:3 days
Sponsored by: Netflix
Modified:
head/sys/fs/ext2fs/ex
Author: mckusick
Date: Sun Dec 6 20:50:21 2020
New Revision: 368396
URL: https://svnweb.freebsd.org/changeset/base/368396
Log:
Document the BA_CLRBUF flag used in ufs and ext2fs filesystems.
Suggested by: kib
MFC after:3 days
Sponsored by: Netflix
Modified:
head/sys/fs/ext2fs/ex
Author: mckusick
Date: Fri Nov 20 20:22:01 2020
New Revision: 367911
URL: https://svnweb.freebsd.org/changeset/base/367911
Log:
Only attempt a VOP_UNLOCK() when the vn_lock() has been successful.
No MFC as this code is not present in 12-stable.
Reported by: Peter Holm
Reviewed by:
Author: mckusick
Date: Tue Nov 17 06:04:16 2020
New Revision: 367751
URL: https://svnweb.freebsd.org/changeset/base/367751
Log:
MFC of 367045.
Avoid improper sign extension in Pass5 inumber checks.
Sponsored by: Netflix
Modified:
stable/12/sbin/fsck_ffs/pass5.c
Directory Properties:
Author: mckusick
Date: Tue Nov 17 05:59:55 2020
New Revision: 367750
URL: https://svnweb.freebsd.org/changeset/base/367750
Log:
MFC of 367035.
Require clean superblock for tunefs, growfs, and fsirand
Sponsored by: Netflix
Modified:
stable/12/sbin/fsirand/fsirand.c
stable/12/sbin/g
Author: mckusick
Date: Tue Nov 17 05:48:00 2020
New Revision: 367749
URL: https://svnweb.freebsd.org/changeset/base/367749
Log:
MFC of 340927 and 367034.
Move clear of UFS feature flags from ufs_mountfs() to ffs_sbget() to
ensure that the appropriate feature flags get cleared by filesyste
Author: mckusick
Date: Sun Oct 25 21:04:07 2020
New Revision: 367045
URL: https://svnweb.freebsd.org/changeset/base/367045
Log:
Use proper type (ino_t) for inode numbers to avoid improper sign extention
in the Pass 5 checks. The manifestation was fsck_ffs exiting with this error:
** Pha
Author: mckusick
Date: Sun Oct 25 01:36:33 2020
New Revision: 367035
URL: https://svnweb.freebsd.org/changeset/base/367035
Log:
Filesystem utilities that modify the filesystem (growfs(8), tunefs(8),
and fsirand(8)) should check the filesystem status and require that
fsck(8) be run if it is u
Author: mckusick
Date: Sun Oct 25 00:43:48 2020
New Revision: 367034
URL: https://svnweb.freebsd.org/changeset/base/367034
Log:
Various new check-hash checks have been added to the UFS filesystem
over various major releases. Superblock check hashes were added for
the 12 release and cylinder-
Author: mckusick
Date: Sat Sep 26 21:45:33 2020
New Revision: 366187
URL: https://svnweb.freebsd.org/changeset/base/366187
Log:
MFS of 366163 from stable/12 which is MFC of 365992 from head.
Update check-hash when doing large UFS filesystem expansions.
Approved by: re@ (Glen Barber)
Author: mckusick
Date: Fri Sep 25 17:14:35 2020
New Revision: 366163
URL: https://svnweb.freebsd.org/changeset/base/366163
Log:
MFC of 365992
Update check-hash when doing large filesystem expansions.
Sponsored by: Netflix
Modified:
stable/12/sbin/growfs/growfs.c
Modified: stable/12
Author: mckusick
Date: Tue Sep 22 03:57:48 2020
New Revision: 365992
URL: https://svnweb.freebsd.org/changeset/base/365992
Log:
Add missing cylinder group check-hash updates when doing large expansions
of filesystems.
Reported by: Colin Percival (cperciva@)
Tested by:Colin Percival
Author: mckusick
Date: Mon Sep 21 19:25:41 2020
New Revision: 365971
URL: https://svnweb.freebsd.org/changeset/base/365971
Log:
MFC of 365700
Switch to more appropriate libufs interfaces in newfs.
Sponsored by: Netflix
Modified:
stable/12/sbin/newfs/mkfs.c
Directory Properties:
st
ylinder group write function that is safe to use
@@ -172,3 +180,4 @@ in
.Fx 5.1 .
.Sh AUTHORS
.An Juli Mallett Aq Mt jmall...@freebsd.org
+.An Marshall Kirk McKusick Aq Mt mckus...@freebsd.org
Modified: head/lib/libufs/cgroup.c
Author: mckusick
Date: Sat Sep 19 20:06:12 2020
New Revision: 365912
URL: https://svnweb.freebsd.org/changeset/base/365912
Log:
The fsdb(8) utility uses the fsck_ffs(8) disk I/O interfaces, so
switch from using libufs's bread() to using fsck_ffs's getdatablk()
when importing tools/diag/prtbl
Author: mckusick
Date: Sun Sep 13 22:57:50 2020
New Revision: 365700
URL: https://svnweb.freebsd.org/changeset/base/365700
Log:
In the newfs(8) utility, use the more appropriate sbwrite() and cgwrite()
libufs interfaces rather than sbput() and cgput().
No functional change.
MFC after
Author: mckusick
Date: Mon Aug 31 05:25:13 2020
New Revision: 364983
URL: https://svnweb.freebsd.org/changeset/base/364983
Log:
MFC of 364895
Comment on when and why pathnames are deleted from the name cache.
Modified:
stable/12/sys/kern/vfs_lookup.c
Directory Properties:
stable/12/
Author: mckusick
Date: Thu Aug 27 22:14:58 2020
New Revision: 364895
URL: https://svnweb.freebsd.org/changeset/base/364895
Log:
Add a comment to clarify when and why cached names are deleted
during pathname lookup.
Reviewed by: kib
MFC after:3 days
Sponsored by: Netflix
Modified
Author: mckusick
Date: Sat Aug 15 21:40:36 2020
New Revision: 364262
URL: https://svnweb.freebsd.org/changeset/base/364262
Log:
Use the sbput() function to write alternate superblocks so that
they get a checkhash.
PR: 246983
Sponsored by: Netflix
Modified:
head/sbin/fsck_ff
Author: mckusick
Date: Tue Jul 21 23:23:08 2020
New Revision: 363405
URL: https://svnweb.freebsd.org/changeset/base/363405
Log:
MFC of 362369 (by Lorenzo Salvadore) and 363192
Refinement of /bin/ps rtprio output
Modified:
stable/12/bin/ps/print.c
stable/12/bin/ps/ps.1
stable/12/sys/s
Author: mckusick
Date: Tue Jul 14 18:57:31 2020
New Revision: 363192
URL: https://svnweb.freebsd.org/changeset/base/363192
Log:
Update to D25266, bin/ps: Make the rtprio option actually show
realtime priorities
The current `ps -axO rtprio' show threads running at interrupt
priority such
Author: mckusick
Date: Thu Jul 9 19:11:57 2020
New Revision: 363056
URL: https://svnweb.freebsd.org/changeset/base/363056
Log:
MFC of 362560
Correctly describe libufs library sbget() and sbput() return values.
Modified:
stable/12/lib/libufs/sbread.3
Directory Properties:
stable/12/
Author: mckusick
Date: Tue Jun 23 21:44:00 2020
New Revision: 362561
URL: https://svnweb.freebsd.org/changeset/base/362561
Log:
Optimize g_journal's superblock update by noting that the summary
information is neither read nor written so it need not be written
out when updating the superblock
Author: mckusick
Date: Tue Jun 23 21:37:12 2020
New Revision: 362560
URL: https://svnweb.freebsd.org/changeset/base/362560
Log:
Correctly describe the return values for the libufs library sbget()
and sbput() functions that respectively read and write the superblock.
PR: 247425
Author: mckusick
Date: Tue Jun 23 21:28:26 2020
New Revision: 362559
URL: https://svnweb.freebsd.org/changeset/base/362559
Log:
The libufs library needs to track and free the new fs_si structure
in addition to the fs_csp structure that it references.
PR: 247425
Sponsored by: N
Author: mckusick
Date: Tue Jun 23 21:17:13 2020
New Revision: 362558
URL: https://svnweb.freebsd.org/changeset/base/362558
Log:
Align comments in struct uufsd structure. No semantic change.
Sponsored by: Netflix
Modified:
head/lib/libufs/libufs.h
Modified: head/lib/libufs/libufs.h
=
Author: mckusick
Date: Fri Jun 19 23:32:40 2020
New Revision: 362418
URL: https://svnweb.freebsd.org/changeset/base/362418
Log:
Allocate an fs_summary_info structure when creating a UFS filesystem
needed since introduced in -r362358.
PR: 247425
Sponsored by: Netflix
Modified:
Author: mckusick
Date: Fri Jun 19 01:04:25 2020
New Revision: 362359
URL: https://svnweb.freebsd.org/changeset/base/362359
Log:
The binary representation of the superblock (the fs structure) is written
out verbatim to the disk: see ffs_sbput() in sys/ufs/ffs/ffs_subr.c.
It contains a pointer
Author: mckusick
Date: Fri Jun 19 01:02:53 2020
New Revision: 362358
URL: https://svnweb.freebsd.org/changeset/base/362358
Log:
Move the pointers stored in the superblock into a separate
fs_summary_info structure. This change was originally done
by the CheriBSD project as they need larger po
Author: mckusick
Date: Sat Jun 6 20:17:56 2020
New Revision: 361875
URL: https://svnweb.freebsd.org/changeset/base/361875
Log:
Clear the IN_SIZEMOD and IN_IBLKDATA flags only when doing a
synchronous inode update.
The IN_SIZEMOD and IN_IBLKDATA flags indicate changes to the
file size a
Author: mckusick
Date: Fri Jun 5 01:00:55 2020
New Revision: 361814
URL: https://svnweb.freebsd.org/changeset/base/361814
Log:
Further evaluation of the POSIX spec for fdatasync() shows that it
requires that new data on growing files be accessible. Thus, the
the fsyncdata() system call must
Author: mckusick
Date: Thu Jun 4 18:35:21 2020
New Revision: 361801
URL: https://svnweb.freebsd.org/changeset/base/361801
Log:
Two additional places that need to identify IN_IBLKDATA.
Reviewed by: kib
MFC with: -r361785
Differential Revision: https://reviews.freebsd.org/D25072
Modifi
Author: mckusick
Date: Sat May 9 05:04:02 2020
New Revision: 360835
URL: https://svnweb.freebsd.org/changeset/base/360835
Log:
MFC of 35
Fix the way 'factor' behaves when using OpenSSL to match the description
of how it works when not compiled with OpenSSL.
Modified:
stable/12/usr
Author: mckusick
Date: Wed Apr 15 00:18:19 2020
New Revision: 359946
URL: https://svnweb.freebsd.org/changeset/base/359946
Log:
MFC of 359627
Update dump and restore to compile with -fno-common.
Modified:
stable/12/include/protocols/dumprestore.h
stable/12/sbin/dump/dump.h
stable/12/
Author: mckusick
Date: Fri Apr 10 23:58:07 2020
New Revision: 359790
URL: https://svnweb.freebsd.org/changeset/base/359790
Log:
Inode check-hash errors were being reported after system crashes.
Trace the cause down to journalled soft updates recovery code in
fsck failing to recompute the che
Author: mckusick
Date: Fri Apr 10 23:49:34 2020
New Revision: 359789
URL: https://svnweb.freebsd.org/changeset/base/359789
Log:
Add an inode check-hash verification when running the journalled
soft update recovery code with the debugging (-d) option.
As inode check-hash was first introduc
Author: mckusick
Date: Thu Apr 9 23:51:18 2020
New Revision: 359760
URL: https://svnweb.freebsd.org/changeset/base/359760
Log:
Fixing the soft update macros in -r359612 triggered a previously
hidden bug in the file truncation code. Until that bug is tracked
down and fixed, revert to the old
Author: mckusick
Date: Thu Apr 9 23:42:13 2020
New Revision: 359759
URL: https://svnweb.freebsd.org/changeset/base/359759
Log:
When running with a kernel compiled with DEBUG_LOCKS, before
panic'ing for recusing on a non-recursive lock, print out the
kernel stack where the lock was originall
Author: mckusick
Date: Thu Apr 9 06:35:50 2020
New Revision: 359738
URL: https://svnweb.freebsd.org/changeset/base/359738
Log:
Revert MFC of 359612 due to reported problems.
Modified:
stable/11/sys/ufs/ufs/inode.h
Modified: stable/11/sys/ufs/ufs/inode.h
=
Author: mckusick
Date: Thu Apr 9 06:32:51 2020
New Revision: 359737
URL: https://svnweb.freebsd.org/changeset/base/359737
Log:
Revert MFC of 359612 due to reported problems.
Modified:
stable/12/sys/ufs/ufs/inode.h
Modified: stable/12/sys/ufs/ufs/inode.h
=
Author: mckusick
Date: Mon Apr 6 22:14:50 2020
New Revision: 359670
URL: https://svnweb.freebsd.org/changeset/base/359670
Log:
MFC of 359612
Use proper boolean expressions for soft update macros.
Sponsored by: Netflix
Modified:
stable/11/sys/ufs/ufs/inode.h
Directory Properties:
Author: mckusick
Date: Mon Apr 6 22:12:42 2020
New Revision: 359669
URL: https://svnweb.freebsd.org/changeset/base/359669
Log:
MFC of 359612
Use proper boolean expressions for soft update macros.
Sponsored by: Netflix
Modified:
stable/12/sys/ufs/ufs/inode.h
Directory Properties:
Author: mckusick
Date: Mon Apr 6 20:23:47 2020
New Revision: 359668
URL: https://svnweb.freebsd.org/changeset/base/359668
Log:
Revert -r359612 as it can cause other panics.
An updated version will be made when the issue has been resolved.
Reported by: Peter Holm
Modified:
head/sys/ufs
Author: mckusick
Date: Sat Apr 4 00:56:56 2020
New Revision: 359627
URL: https://svnweb.freebsd.org/changeset/base/359627
Log:
Clean up global variable declarations in the dump and restore
utilities so that they will compile with -fno-common.
Started by: Kyle Evans (kevans)
Reviewed b
Author: mckusick
Date: Fri Apr 3 20:43:25 2020
New Revision: 359613
URL: https://svnweb.freebsd.org/changeset/base/359613
Log:
When shrinking the size of a directory it is sometimes necessary to
sync it to disk before shrinking it. Complete the sync before getting
the buffer for the block t
Author: mckusick
Date: Fri Apr 3 20:30:45 2020
New Revision: 359612
URL: https://svnweb.freebsd.org/changeset/base/359612
Log:
Convert DOINGSOFTDEP, MOUNTEDSOFTDEP, DOINGSUJ, and MOUNTEDSUJ to being
boolean expressions so that their values are not lost when assigned to
`bool' or `int' varia
Author: mckusick
Date: Wed Mar 11 21:00:40 2020
New Revision: 358899
URL: https://svnweb.freebsd.org/changeset/base/358899
Log:
When mounting a UFS filesystem, return EINTEGRITY rather than EIO
when a superblock check-hash error is detected. This change clarifies
a mount that failed due to m
Author: mckusick
Date: Tue Feb 18 23:56:23 2020
New Revision: 358085
URL: https://svnweb.freebsd.org/changeset/base/358085
Log:
Additional KASSERTs to ensure the consistency of the soft updates
indirdep structure. No functional change.
Tested by:Peter Holm (as part of a larger patch)
Author: mckusick
Date: Thu Jan 23 06:24:11 2020
New Revision: 357034
URL: https://svnweb.freebsd.org/changeset/base/357034
Log:
MFC of 356714
Fix DIRCHG panic
Modified:
stable/11/sys/ufs/ffs/ffs_softdep.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/ufs/f
Author: mckusick
Date: Thu Jan 23 06:20:57 2020
New Revision: 357033
URL: https://svnweb.freebsd.org/changeset/base/357033
Log:
MFC of 356714
Fix DIRCHG panic
Modified:
stable/12/sys/ufs/ffs/ffs_softdep.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys/ufs/f
Author: mckusick
Date: Thu Jan 23 06:18:08 2020
New Revision: 357032
URL: https://svnweb.freebsd.org/changeset/base/357032
Log:
MFC of 356763
Remove call to VFS_SYNC() to avoid unmount livelock
Modified:
stable/11/sys/kern/vfs_mount.c
Directory Properties:
stable/11/ (props changed)
Author: mckusick
Date: Thu Jan 23 06:11:25 2020
New Revision: 357031
URL: https://svnweb.freebsd.org/changeset/base/357031
Log:
MFC of 356763
Remove call to VFS_SYNC() to avoid unmount livelock
Modified:
stable/12/sys/kern/vfs_mount.c
Directory Properties:
stable/12/ (props changed)
Author: mckusick
Date: Thu Jan 23 06:06:32 2020
New Revision: 357030
URL: https://svnweb.freebsd.org/changeset/base/357030
Log:
MFC of 356739
Optimize quota sync'ing
Modified:
stable/11/sys/ufs/ffs/ffs_vfsops.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys
Author: mckusick
Date: Thu Jan 23 06:02:52 2020
New Revision: 357029
URL: https://svnweb.freebsd.org/changeset/base/357029
Log:
MFC of 356739
Optimize quota sync'ing
Modified:
stable/12/sys/ufs/ffs/ffs_vfsops.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sys
Author: mckusick
Date: Wed Jan 22 01:31:02 2020
New Revision: 356965
URL: https://svnweb.freebsd.org/changeset/base/356965
Log:
MFC of 356627
Reset link counts after directory update failures
Modified:
stable/11/sys/ufs/ufs/ufs_lookup.c
Directory Properties:
stable/11/ (props changed
Author: mckusick
Date: Wed Jan 22 01:28:37 2020
New Revision: 356964
URL: https://svnweb.freebsd.org/changeset/base/356964
Log:
MFC of 356627
Reset link counts after directory update failures
Modified:
stable/12/sys/ufs/ufs/ufs_lookup.c
Directory Properties:
stable/12/ (props changed
Author: mckusick
Date: Wed Jan 15 18:53:32 2020
New Revision: 356763
URL: https://svnweb.freebsd.org/changeset/base/356763
Log:
Peter Holm reports that his test that does an umount(8) on an active
mount point while numerous tests are running that are writing to
files on that mount point caus
Author: mckusick
Date: Tue Jan 14 22:27:46 2020
New Revision: 356739
URL: https://svnweb.freebsd.org/changeset/base/356739
Log:
When sync'ing a mount point, the mount point's vnodes were scanned
twice. Once to update the changed inodes, and a second time to update
changed quota information.
Author: mckusick
Date: Sat Jan 11 03:18:47 2020
New Revision: 356627
URL: https://svnweb.freebsd.org/changeset/base/356627
Log:
When a read error occurs while fetching a directory block to delete
or rename an entry in it, properly reset the link count of the inode
associated with the entry t
Author: mckusick
Date: Mon Jan 6 21:23:14 2020
New Revision: 356428
URL: https://svnweb.freebsd.org/changeset/base/356428
Log:
MFC of 356063
Do not ask to use journal in fsck_ffs if journal is out of date
Modified:
stable/11/sbin/fsck_ffs/main.c
stable/11/sbin/fsck_ffs/suj.c
Directory
Author: mckusick
Date: Mon Jan 6 21:14:27 2020
New Revision: 356427
URL: https://svnweb.freebsd.org/changeset/base/356427
Log:
MFC of 356063
Do not ask to use journal in fsck_ffs if journal is out of date
Modified:
stable/12/sbin/fsck_ffs/main.c
stable/12/sbin/fsck_ffs/suj.c
Directory
Author: mckusick
Date: Wed Dec 25 05:00:50 2019
New Revision: 356067
URL: https://svnweb.freebsd.org/changeset/base/356067
Log:
MFC of 355995
Fix manual page typo.
Modified:
stable/12/sbin/hastd/hastd.8
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/sbin/hastd/
Author: mckusick
Date: Tue Dec 24 23:03:12 2019
New Revision: 356063
URL: https://svnweb.freebsd.org/changeset/base/356063
Log:
When running fsck_ffs manually, do not ask:
USE JOURNAL? [yn]
when the journal timestamp does not match the filesystem mount time
as we are just going
Author: mckusick
Date: Sun Dec 22 01:22:51 2019
New Revision: 355995
URL: https://svnweb.freebsd.org/changeset/base/355995
Log:
Fix typo in hastd.8 manual page.
Reported by: Steve Kargl
MFC after: 3 days
Modified:
head/sbin/hastd/hastd.8
Modified: head/sbin/hastd/hastd.8
==
Author: mckusick
Date: Tue Dec 3 23:07:09 2019
New Revision: 355371
URL: https://svnweb.freebsd.org/changeset/base/355371
Log:
Currently the breadn_flags() and getblkx() interfaces are passed
the vnode, logical block number, and size of data block that is
being requested. They then use the
Author: mckusick
Date: Wed Nov 20 01:14:22 2019
New Revision: 354873
URL: https://svnweb.freebsd.org/changeset/base/354873
Log:
White space cleanup. No functional change.
Sponsored by: Netflix
Modified:
head/sys/sys/buf.h
Modified: head/sys/sys/buf.h
Author: mckusick
Date: Wed Nov 20 01:10:01 2019
New Revision: 354872
URL: https://svnweb.freebsd.org/changeset/base/354872
Log:
Add some KASSERTs. Reacquire a mutex after a kernel printf rather
than holding it during the printf. White space cleanup.
Sponsored by: Netflix
Modified:
head
Author: mckusick
Date: Sun Oct 27 04:10:49 2019
New Revision: 354125
URL: https://svnweb.freebsd.org/changeset/base/354125
Log:
MFC of 354050
Ensure that ctime update is visible immediately
Modified:
stable/11/sys/ufs/ufs/ufs_lookup.c
Directory Properties:
stable/11/ (props changed)
Author: mckusick
Date: Sun Oct 27 04:09:24 2019
New Revision: 354124
URL: https://svnweb.freebsd.org/changeset/base/354124
Log:
MFC of 354050
Ensure that ctime update is visible immediately
Modified:
stable/12/sys/ufs/ufs/ufs_lookup.c
Directory Properties:
stable/12/ (props changed)
Author: mckusick
Date: Sun Oct 27 03:46:00 2019
New Revision: 354122
URL: https://svnweb.freebsd.org/changeset/base/354122
Log:
MFC of 353903
Fix uninitialized variable in SUJ recovery.
Modified:
stable/12/sbin/fsck_ffs/suj.c
Directory Properties:
stable/12/ (props changed)
Modified
Author: mckusick
Date: Sun Oct 27 03:47:16 2019
New Revision: 354123
URL: https://svnweb.freebsd.org/changeset/base/354123
Log:
MFC of 353903
Fix uninitialized variable in SUJ recovery.
Modified:
stable/11/sbin/fsck_ffs/suj.c
Directory Properties:
stable/11/ (props changed)
Modified
Author: mckusick
Date: Thu Oct 24 21:28:37 2019
New Revision: 354050
URL: https://svnweb.freebsd.org/changeset/base/354050
Log:
After the unlink() of one name of a file with multiple links, a
stat() of one of the remaining names of the file does not show an
updated ctime (inode modification
Author: mckusick
Date: Thu Oct 24 19:47:18 2019
New Revision: 354036
URL: https://svnweb.freebsd.org/changeset/base/354036
Log:
Soft updates needs to keep an on-disk linked list of inodes that
have been unlinked, but are still referenced by open file descriptors.
These inodes cannot be freed
Author: mckusick
Date: Tue Oct 22 22:23:59 2019
New Revision: 353903
URL: https://svnweb.freebsd.org/changeset/base/353903
Log:
Replace an uninitialized variable with the correct element from the
superblock when doing recovery with journalled soft updates.
Reported by: Chuck Silvers
MF
Author: mckusick
Date: Fri Oct 4 05:28:36 2019
New Revision: 353099
URL: https://svnweb.freebsd.org/changeset/base/353099
Log:
Update ffs_getcg() function to accept a flags parameter to be passed
to breadn_flags() in preparation for later need when doing forcible
unmount when disk dies or i
Author: mckusick
Date: Tue Oct 1 23:28:22 2019
New Revision: 352947
URL: https://svnweb.freebsd.org/changeset/base/352947
Log:
MFC of 352453
Check bread_gb() return value in cluster_collectbufs() code.
Modified:
stable/11/sys/kern/vfs_cluster.c
Directory Properties:
stable/11/ (prop
Author: mckusick
Date: Tue Oct 1 23:26:52 2019
New Revision: 352946
URL: https://svnweb.freebsd.org/changeset/base/352946
Log:
MFC of 352453
Check bread_gb() return value in cluster_collectbufs() code.
Modified:
stable/12/sys/kern/vfs_cluster.c
Directory Properties:
stable/12/ (prop
Author: mckusick
Date: Tue Sep 17 17:44:50 2019
New Revision: 352453
URL: https://svnweb.freebsd.org/changeset/base/352453
Log:
The VFS-level clustering code collects together sequential blocks
by issuing delayed-writes (bdwrite()) until a non-sequential block
is written or the maximum clust
Author: mckusick
Date: Mon Apr 15 12:07:41 2019
New Revision: 346221
URL: https://svnweb.freebsd.org/changeset/base/346221
Log:
MFC of 345758
Properly flush outstanding I/Os when forcibly deleteing a memory disk device.
Sponsored by: Netflix
Modified:
stable/12/sys/dev/md/md.c
Direc
Author: mckusick
Date: Sat Apr 13 13:31:06 2019
New Revision: 346185
URL: https://svnweb.freebsd.org/changeset/base/346185
Log:
Followup to -r344552 in which fsck_ffs checks for a size past the
last allocated block of the file and if that is found, shortens the
file to reference the last all
Author: mckusick
Date: Mon Apr 15 12:09:58 2019
New Revision: 346222
URL: https://svnweb.freebsd.org/changeset/base/346222
Log:
MFC of 345758
Properly flush outstanding I/Os when forcibly deleteing a memory disk device.
Sponsored by: Netflix
Modified:
stable/11/sys/dev/md/md.c
Direc
Author: mckusick
Date: Sun Mar 31 21:34:58 2019
New Revision: 345758
URL: https://svnweb.freebsd.org/changeset/base/345758
Log:
When using the force option to shut down a memory-disk device,
I/O operations already in its queue were not being properly drained.
The GEOM framework does the queu
Author: mckusick
Date: Fri Mar 29 01:15:37 2019
New Revision: 345666
URL: https://svnweb.freebsd.org/changeset/base/345666
Log:
MFC of 343536, 345077, and 345352
Collectively fixing ffs_truncate3 and dangling dependencies panics
when using ACLs.
Sponsored by: Netflix
Modified:
sta
Author: mckusick
Date: Fri Mar 29 01:16:38 2019
New Revision: 345667
URL: https://svnweb.freebsd.org/changeset/base/345667
Log:
MFC of 343536, 345077, and 345352
Collectively fixing ffs_truncate3 and dangling dependencies panics
when using ACLs.
Sponsored by: Netflix
Modified:
sta
Author: mckusick
Date: Sat Aug 17 06:06:50 2019
New Revision: 351164
URL: https://svnweb.freebsd.org/changeset/base/351164
Log:
MFC of 351002
Clarify how FS_METACKHASH flag is managed.
Modified:
stable/12/sys/ufs/ffs/fs.h
Directory Properties:
stable/12/ (props changed)
Modified: st
Author: mckusick
Date: Thu Aug 15 18:46:27 2019
New Revision: 351098
URL: https://svnweb.freebsd.org/changeset/base/351098
Log:
Add missing comma in calendar.freebsd
Modified:
head/usr.bin/calendar/calendars/calendar.freebsd
Modified: head/usr.bin/calendar/calendars/calendar.freebsd
Author: mckusick
Date: Tue Aug 13 20:56:44 2019
New Revision: 351002
URL: https://svnweb.freebsd.org/changeset/base/351002
Log:
Clarify comment that describes how the FS_METACKHASH is managed.
MFC after: 3 days
Modified:
head/sys/ufs/ffs/fs.h
Modified: head/sys/ufs/ffs/fs.h
Author: mckusick
Date: Sat Aug 10 23:08:35 2019
New Revision: 350852
URL: https://svnweb.freebsd.org/changeset/base/350852
Log:
MFC of 350682
Correct first superblock backup location in fsck_ffs.8.
Modified:
stable/11/sbin/fsck_ffs/fsck_ffs.8
stable/11/sbin/newfs/newfs.8
Directory Prop
Author: mckusick
Date: Sat Aug 10 23:06:52 2019
New Revision: 350851
URL: https://svnweb.freebsd.org/changeset/base/350851
Log:
MFC of 350682
Correct first superblock backup location in fsck_ffs.8.
Modified:
stable/12/sbin/fsck_ffs/fsck_ffs.8
stable/12/sbin/newfs/newfs.8
Directory Prop
Author: mckusick
Date: Sat Aug 10 23:03:23 2019
New Revision: 350850
URL: https://svnweb.freebsd.org/changeset/base/350850
Log:
MFC of 350490
Set FORCE in chk[id]q when returning inodes and blocks.
Modified:
stable/12/sys/ufs/ffs/ffs_inode.c
stable/12/sys/ufs/ffs/ffs_softdep.c
stable
Author: mckusick
Date: Wed Aug 7 16:56:00 2019
New Revision: 350682
URL: https://svnweb.freebsd.org/changeset/base/350682
Log:
Correct the location of the first backup superblock in fsck_ffs.8.
Make a note in the newfs.8 manual page to update the first backup
superblock location when changi
Author: mckusick
Date: Tue Aug 6 18:28:44 2019
New Revision: 350653
URL: https://svnweb.freebsd.org/changeset/base/350653
Log:
Ignore UFS/FFS superblock check hash failures so as to allow a higher
level in the filesystem stack to decide what to do about them.
Reported by: Peter Holm
T
Author: mckusick
Date: Tue Aug 6 18:10:34 2019
New Revision: 350651
URL: https://svnweb.freebsd.org/changeset/base/350651
Log:
A race condition existed between the time a UFS/FFS superblock check
hash was computed and the time that the superblock was copied to a
buffer to be written to disk
Author: mckusick
Date: Wed Jul 31 22:44:58 2019
New Revision: 350490
URL: https://svnweb.freebsd.org/changeset/base/350490
Log:
When updating the user or group disk quotas for the return of inodes or
disk blocks, set the FORCE flag in the call to chkiq() or chkdq() since
the user is always a
Author: mckusick
Date: Wed Jul 31 00:16:12 2019
New Revision: 350460
URL: https://svnweb.freebsd.org/changeset/base/350460
Log:
MFC of 349589, 350070, 350071, 350096, and 350187
Make filesystem-full messages limited per filesystem rather than systemwide
Add "untrusted" option to mount com
Author: mckusick
Date: Tue Jul 30 23:50:49 2019
New Revision: 350459
URL: https://svnweb.freebsd.org/changeset/base/350459
Log:
MFC of 349032
Clarify -r and -R only usable for level 0 dumps.
Modified:
stable/11/sbin/dump/dump.8
Directory Properties:
stable/11/ (props changed)
Modifi
Author: mckusick
Date: Sat Jul 20 21:39:32 2019
New Revision: 350187
URL: https://svnweb.freebsd.org/changeset/base/350187
Log:
Treat any inode with bad content as unknown (i.e., ask if it should
be cleared).
Sponsored by: Netflix
Modified:
head/sbin/fsck_ffs/pass1.c
Modified: head/sb
Author: mckusick
Date: Sat Jul 20 21:20:40 2019
New Revision: 350186
URL: https://svnweb.freebsd.org/changeset/base/350186
Log:
When running with journaled soft updates, some updated inodes were not
having their check hashes recomputed which resulted in spurious inode
check-hash errors when
1 - 100 of 523 matches
Mail list logo