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: 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: 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: 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
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: 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 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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: 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: 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
Author: mckusick
Date: Wed Jul 17 22:07:43 2019
New Revision: 350096
URL: https://svnweb.freebsd.org/changeset/base/350096
Log:
The error reported in FS-14-UFS-3 can only happen on UFS/FFS
filesystems that have block pointers that are out-of-range for their
filesystem. These out-of-range blo
Author: mckusick
Date: Tue Jul 16 23:39:39 2019
New Revision: 350071
URL: https://svnweb.freebsd.org/changeset/base/350071
Log:
Style.
No change intended.
Modified:
head/sys/ufs/ufs/ufsmount.h
Modified: head/sys/ufs/ufs/ufsmount.h
===
Author: mckusick
Date: Tue Jul 16 23:12:27 2019
New Revision: 350070
URL: https://svnweb.freebsd.org/changeset/base/350070
Log:
When a process attempts to allocate space on a full filesystem, a
filesystem full message is sent to the offending process or the
kernel log if the offending proces
Author: mckusick
Date: Mon Jul 1 23:22:26 2019
New Revision: 349589
URL: https://svnweb.freebsd.org/changeset/base/349589
Log:
Add a new "untrusted" option to the mount command. Its purpose
is to notify the kernel that the file system is untrusted and it
should use more extensive checks on
Author: mckusick
Date: Fri Jun 14 06:10:15 2019
New Revision: 349032
URL: https://svnweb.freebsd.org/changeset/base/349032
Log:
Clarify that the -r and -R options can be used only to create level 0 dumps.
Suggested by: phk
MFC after:3 days
Modified:
head/sbin/dump/dump.8
Modified:
Author: mckusick
Date: Tue May 28 17:31:35 2019
New Revision: 348330
URL: https://svnweb.freebsd.org/changeset/base/348330
Log:
Add a missing bresle() in seldom-used error return.
Modified:
head/sys/ufs/ffs/ffs_softdep.c
Modified: head/sys/ufs/ffs/ffs_softdep.c
==
> Date: Mon, 27 May 2019 16:15:00 -0400
> From: Mark Johnston
> To: Kirk McKusick
> Cc: src-committ...@freebsd.org, svn-src-...@freebsd.org,
> svn-src-head@freebsd.org
> Subject: Re: svn commit: r348300 - head/sys/ufs/ffs
>
> On Mon, May 27, 2019 at 06:22:44AM +0
Author: mckusick
Date: Tue May 28 16:32:04 2019
New Revision: 348329
URL: https://svnweb.freebsd.org/changeset/base/348329
Log:
Convert use of UFS-specific #ifdef DEBUG to DIAGNOSTIC or INVARIANTS
as appropriate. No functional change intended.
Suggested-by: markj
Modified:
head/sys/ufs
Author: mckusick
Date: Mon May 27 06:22:43 2019
New Revision: 348300
URL: https://svnweb.freebsd.org/changeset/base/348300
Log:
Add function name and line number debugging information to softupdates
worklist structures to help track their movement between work lists.
No functional change to
Author: mckusick
Date: Sat May 25 00:07:49 2019
New Revision: 348259
URL: https://svnweb.freebsd.org/changeset/base/348259
Log:
When using the destroy option to shut down a nop GEOM module, I/O
operations already in its queue were not being properly drained.
The GEOM framework does the queue
Author: mckusick
Date: Tue May 21 22:24:38 2019
New Revision: 348074
URL: https://svnweb.freebsd.org/changeset/base/348074
Log:
This revision began as a simple change to eliminate an uninitialized warning
found by Coverity. However, upon closer inspection the implementation of
fsck_ffs's fsc
Author: mckusick
Date: Sat May 4 18:00:57 2019
New Revision: 347130
URL: https://svnweb.freebsd.org/changeset/base/347130
Log:
Zero out the file directory entry metadata to reduce disk
scavenging disclosure.
Submitted by: David G. Lawrence
MFC after:1 week
Modified:
head/sys/uf
Author: mckusick
Date: Fri May 3 21:54:14 2019
New Revision: 347066
URL: https://svnweb.freebsd.org/changeset/base/347066
Log:
This update eliminates a kernel stack disclosure bug in UFS/FFS
directory entries that is caused by uninitialized directory entry
padding written to the disk. It ca
Author: mckusick
Date: Fri May 3 21:46:25 2019
New Revision: 347064
URL: https://svnweb.freebsd.org/changeset/base/347064
Log:
Simplify calculation of DIRECTSIZ. No functional change intended.
Suggested by: kib
MFC after:1 week
Modified:
head/sys/ufs/ufs/dir.h
Modified: head/sys/
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: 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: Wed Mar 20 23:11:05 2019
New Revision: 345352
URL: https://svnweb.freebsd.org/changeset/base/345352
Log:
This is an additional and hopefully final fix for bug report 230962.
This bug was introduced with the change to use softdep_bp_to_mp()
in January 2018 changes -r327
Author: mckusick
Date: Tue Mar 12 19:08:41 2019
New Revision: 345077
URL: https://svnweb.freebsd.org/changeset/base/345077
Log:
This is an additional fix for bug report 230962. When using
extended attributes, the kernel can panic with either "ffs_truncate3"
or with "softdep_deallocate_depend
Author: mckusick
Date: Tue Mar 12 00:10:31 2019
New Revision: 345044
URL: https://svnweb.freebsd.org/changeset/base/345044
Log:
Add KASSERT to the softdep_disk_write_complete() function in the
soft dependency code to ensure that it will be able to avoid a
dangling dependency.
Sponsored
Author: mckusick
Date: Mon Mar 11 23:53:56 2019
New Revision: 345043
URL: https://svnweb.freebsd.org/changeset/base/345043
Log:
Give more complete information in INVARIANTS panic messages at end of
the ffs_truncate() function.
Sponsored by: Netflix
Modified:
head/sys/ufs/ffs/ffs_inode.
Author: mckusick
Date: Mon Mar 11 22:42:33 2019
New Revision: 345037
URL: https://svnweb.freebsd.org/changeset/base/345037
Log:
Update the main loop in the flushbuflist() routine to properly select
buffers for flushing when requested to flush both normal and extended
attributes buffers.
Author: mckusick
Date: Mon Mar 11 22:05:34 2019
New Revision: 345032
URL: https://svnweb.freebsd.org/changeset/base/345032
Log:
Augment the UFS filesystem specific print function (called by the
kernel vn_printf() routine when printing out vnodes associated with
a UFS filesystem) to also incl
Author: mckusick
Date: Mon Mar 11 21:49:44 2019
New Revision: 345029
URL: https://svnweb.freebsd.org/changeset/base/345029
Log:
Augment DDB "show buffer" command to print the buffer's referenced
vnode pointer (b_vp). The value of b_vp can be used by "show vnode"
to print the vnode and "show
Author: mckusick
Date: Sat Mar 2 21:30:01 2019
New Revision: 344732
URL: https://svnweb.freebsd.org/changeset/base/344732
Log:
Properly calculate the last used logical block of a file when checking
inodes that reference directories. While here tighten the check for
comparing the last logica
Author: mckusick
Date: Sat Mar 2 21:22:56 2019
New Revision: 344731
URL: https://svnweb.freebsd.org/changeset/base/344731
Log:
The size of the UFS soft-updates journal must be a multiple of the
filesystem block size. When a size is specified with the -S flag
to tunefs(8), round it up to the
Author: mckusick
Date: Mon Feb 25 21:58:19 2019
New Revision: 344552
URL: https://svnweb.freebsd.org/changeset/base/344552
Log:
After a crash, a file that extends into indirect blocks may end up
shorter than its size resulting in a hole as its final block (which
is a violation of the invarie
Author: mckusick
Date: Tue Feb 19 20:12:12 2019
New Revision: 344302
URL: https://svnweb.freebsd.org/changeset/base/344302
Log:
Ensure that inode updates are properly flushed out during the first
pass of fsck_ffs. Some changes, such as check-hash corrections were
being lost.
Reported by
Author: mckusick
Date: Mon Jan 28 21:36:45 2019
New Revision: 343536
URL: https://svnweb.freebsd.org/changeset/base/343536
Log:
This bug was introduced with the change to use softdep_bp_to_mp() in
January 2018 changes -r327723 and -r327821. The softdep_bp_to_mp()
function failed to include V
Author: mckusick
Date: Sat Jan 26 22:27:12 2019
New Revision: 343483
URL: https://svnweb.freebsd.org/changeset/base/343483
Log:
Update tunefs and newfs error messages for the -L (volume label) option
to note that underscores are valid.
PR: 235182
Reported by: Rodney W. Grimes
Author: mckusick
Date: Sat Jan 26 05:35:24 2019
New Revision: 343462
URL: https://svnweb.freebsd.org/changeset/base/343462
Log:
Expand DDB's set of printable soft dependency data structures. The
set of known soft dependency data structures now includes: sd_worklist,
sd_inodedep, sd_allocdire
Author: mckusick
Date: Fri Jan 25 21:24:09 2019
New Revision: 343457
URL: https://svnweb.freebsd.org/changeset/base/343457
Log:
Add printing of b_ioflags to DDB `show buffer' command.
Sponsored by: Netflix
Modified:
head/sys/kern/vfs_bio.c
head/sys/sys/bio.h
Modified: head/sys/kern/vf
Author: mckusick
Date: Fri Jan 25 20:07:18 2019
New Revision: 343449
URL: https://svnweb.freebsd.org/changeset/base/343449
Log:
Allow tunefs to include '_' as a legal character in label names
to make it consistent with newfs. Document the legality of '_'
in label names in both tunefs(8) and
> From:Andriy Gapon
> Date:Thu, 17 Jan 2019 19:05:20 +0200
> To: Kirk McKusick , src-committ...@freebsd.org,
>svn-src-...@freebsd.org, svn-src-head@freebsd.org
> Subject: Re: svn commit: r343113 - head/contrib/libc++/include
>
> On 17/01/2019 17:35
Author: mckusick
Date: Thu Jan 17 16:26:59 2019
New Revision: 343115
URL: https://svnweb.freebsd.org/changeset/base/343115
Log:
Truely fix #if defined broken in -r343111
Pointy-hat-to: mckusick
Modified:
head/contrib/libc++/include/errno.h
Modified: head/contrib/libc++/include/errno.h
=
Per my previous email, it is fixed in -r343114 not -r343113.
Kirk McKusick
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Thanks for your analysis. Now fixed in -r343113.
Kirk McKusick
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Thanks for your pointer to the problem. Now fixed in -r343113.
Kirk McKusick
___
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"
Author: mckusick
Date: Thu Jan 17 15:42:10 2019
New Revision: 343114
URL: https://svnweb.freebsd.org/changeset/base/343114
Log:
Proper definition of elast3.
Reported by: Oliver Pinter
Modified:
head/contrib/libc++/include/errno.h
Modified: head/contrib/libc++/include/errno.h
==
Author: mckusick
Date: Thu Jan 17 15:35:04 2019
New Revision: 343113
URL: https://svnweb.freebsd.org/changeset/base/343113
Log:
Fix #if defined broken in -r343111
Pointy-hat-to: mckusick
Modified:
head/contrib/libc++/include/errno.h
Modified: head/contrib/libc++/include/errno.h
Author: mckusick
Date: Thu Jan 17 06:35:45 2019
New Revision: 343111
URL: https://svnweb.freebsd.org/changeset/base/343111
Log:
Create new EINTEGRITY error with message "Integrity check failed".
An integrity check such as a check-hash or a cross-correlation failed.
The integrity error fal
Author: mckusick
Date: Sun Dec 30 06:03:20 2018
New Revision: 342610
URL: https://svnweb.freebsd.org/changeset/base/342610
Log:
Move ASSERT_VOP_LOCKED to top of ufs_vinit() as it should be true
when the function is entered.
Suggested by: kib
Modified:
head/sys/ufs/ufs/ufs_vnops.c
Modi
Author: mckusick
Date: Sun Dec 30 05:03:41 2018
New Revision: 342609
URL: https://svnweb.freebsd.org/changeset/base/342609
Log:
For consistency with FFS2's fifoops2 and both versions of FFS's
vnodeops make FFS1's fifoops1 use ffs_lock. Also delete ffs_reallocblks
from fifoops1 which is neede
Author: mckusick
Date: Thu Dec 27 07:18:53 2018
New Revision: 342548
URL: https://svnweb.freebsd.org/changeset/base/342548
Log:
When loading an inode from disk, verify that its mode is valid.
If invalid, return EINVAL. Note that inode check-hashes greatly
reduce the chance that these errors
1 - 100 of 334 matches
Mail list logo