Author: chs
Date: Mon Oct 5 18:17:50 2020
New Revision: 366453
URL: https://svnweb.freebsd.org/changeset/base/366453
Log:
ufs: restore uniqueness of st_dev as returned by ufs_stat()
switch ufs_stat() to use the same value for st_dev as was used by
the previous ufs_getattr() stat path.
Author: chs
Date: Sat Sep 5 00:26:03 2020
New Revision: 365351
URL: https://svnweb.freebsd.org/changeset/base/365351
Log:
vfs: avoid exposing partially constructed vnodes
If multiple threads race calling vfs_hash_insert() while creating vnodes
with the same identity, all of the vnodes wh
Author: chs
Date: Tue Sep 1 18:50:26 2020
New Revision: 365056
URL: https://svnweb.freebsd.org/changeset/base/365056
Log:
Move all of the error prints in readsb() from stderr to stdout.
The only output from fsck that should go to stderr is the usage message.
if setup() fails then exit with
Author: chs
Date: Mon Jul 20 20:36:32 2020
New Revision: 363377
URL: https://svnweb.freebsd.org/changeset/base/363377
Log:
add a few tests for sendfile.
Reviewed by: markj
Sponsored by: Netflix
Differential Revision:https://reviews.freebsd.org/D25431
Added:
head/tests/sys/ke
Author: chs
Date: Fri Jul 17 23:10:35 2020
New Revision: 363296
URL: https://svnweb.freebsd.org/changeset/base/363296
Log:
Fix vnode_pager handling of read ahead/behind pages when a disk read fails.
Rather than marking the read ahead/behind pages valid even though they were
not initialized,
Author: chs
Date: Fri Jul 17 23:09:36 2020
New Revision: 363295
URL: https://svnweb.freebsd.org/changeset/base/363295
Log:
Add a new function vm_page_free_invalid() for freeing invalid pages
that might be wired. If the page is wired then it cannot be freed now,
but the thread that eventuall
Author: chs
Date: Fri Jul 17 23:08:01 2020
New Revision: 363294
URL: https://svnweb.freebsd.org/changeset/base/363294
Log:
Revert my change from r361855 in favor of a better fix.
Reviewed by: markj, kib
Sponsored by: Netflix
Differential Revision:https://reviews.freebsd.org/D25
Author: chs
Date: Wed Jun 17 23:39:52 2020
New Revision: 362292
URL: https://svnweb.freebsd.org/changeset/base/362292
Log:
Move all of the functions in ffs_subr.c that are only used by the ufs kernel
module from that file into ffs_vfsops.c. This fixes the build for kernel
configs that don't
Author: chs
Date: Sat Jun 6 00:47:59 2020
New Revision: 361855
URL: https://svnweb.freebsd.org/changeset/base/361855
Log:
Don't mark pages as valid if reading the contents from disk fails.
Instead, just skip marking pages valid if the read fails. Future
attempts to access such pages will n
Author: chs
Date: Sat Jun 6 00:02:50 2020
New Revision: 361852
URL: https://svnweb.freebsd.org/changeset/base/361852
Log:
Fix hang due to missing unbusy in sendfile when an async data I/O fails.
r359473 removed the page unbusy logic from sendfile_iodone() because when
vm_pager_get_pages_
Author: chs
Date: Mon May 25 23:47:31 2020
New Revision: 361491
URL: https://svnweb.freebsd.org/changeset/base/361491
Log:
This commit enables a UFS filesystem to do a forcible unmount when
the underlying media fails or becomes inaccessible. For example
when a USB flash memory card hosting a
Author: chs
Date: Sat May 2 00:10:25 2020
New Revision: 360559
URL: https://svnweb.freebsd.org/changeset/base/360559
Log:
Print the fs last-mounted time too.
Reviewed by: mckusick
Approved by: mckusick (mentor)
Sponsored by: Netflix
Modified:
head/sbin/dumpfs/dumpfs.c
Modified: h
On Fri, Mar 13, 2020 at 07:48:17PM -0400, Mark Johnston wrote:
> On Wed, Mar 04, 2020 at 12:22:51AM +0000, Chuck Silvers wrote:
> > Author: chs
> > Date: Wed Mar 4 00:22:50 2020
> > New Revision: 358597
> > URL: https://svnweb.freebsd.org/changeset/base/35
Author: chs
Date: Mon Mar 9 15:55:13 2020
New Revision: 358812
URL: https://svnweb.freebsd.org/changeset/base/358812
Log:
Use the devfs vnode rather than the mntfs vnode for permissions checks.
I missed this one in r358714.
Reported by: pho
Reviewed by: mckusick
Approved by: imp (
Author: chs
Date: Fri Mar 6 18:41:37 2020
New Revision: 358714
URL: https://svnweb.freebsd.org/changeset/base/358714
Log:
Add a new "mntfs" pseudo file system which provides private device vnodes for
file systems to safely access their disk devices, and adapt FFS to use it.
Also add a new B
Author: chs
Date: Wed Mar 4 00:22:50 2020
New Revision: 358597
URL: https://svnweb.freebsd.org/changeset/base/358597
Log:
if vm_pager_get_pages_async() returns an error, release the sfio->nios
refcount that we took earlier that represents the I/O that ended up
not being started.
Review
Author: chs
Date: Tue Feb 18 00:02:20 2020
New Revision: 358058
URL: https://svnweb.freebsd.org/changeset/base/358058
Log:
amd64: keep PTE bitmasks in sync with target pmap during pv reclaim
in reclaim_pv_chunk_domain(), when we switch to a new target pmap from which
we are trying to recl
Author: chs
Date: Mon Feb 3 17:47:14 2020
New Revision: 357456
URL: https://svnweb.freebsd.org/changeset/base/357456
Log:
With INVARIANTS, track all softdep dependency structures centrally
so that we can find them in dumps.
Approved by: mckusick (mentor)
Sponsored by: Netflix
Modifie
Author: chs
Date: Thu Nov 28 00:37:43 2019
New Revision: 355150
URL: https://svnweb.freebsd.org/changeset/base/355150
Log:
As part of creating a snapshot, set fs->fs_fmod to 0 in the snapshot image
because nothing ever changes this field for read-only mounts and we want
to verify that it is
Author: chs
Date: Mon Nov 25 19:31:38 2019
New Revision: 355098
URL: https://svnweb.freebsd.org/changeset/base/355098
Log:
In ffs_freefile(), use a separate variable to hold the inode number within
the cg rather than reusuing "ino" for this purpose. This reduces the diff
for an upcoming cha
Author: chs
Date: Tue Nov 12 00:32:33 2019
New Revision: 354632
URL: https://svnweb.freebsd.org/changeset/base/354632
Log:
In ufs_dir_dd_ino(), always initialize *dd_vp since the caller expects it.
Reviewed by: kib, mckusick
Approved by: imp (mentor)
Sponsored by: Netflix
Modified:
Author: chs
Date: Wed Oct 16 21:49:39 2019
New Revision: 353667
URL: https://svnweb.freebsd.org/changeset/base/353667
Log:
Add a new gctl_get_paraml_opt() interface to extract optional parameters from
the request. It is the same as gctl_get_paraml() except that the request
is not marked wit
Author: chs
Date: Wed Oct 16 21:49:44 2019
New Revision: 353668
URL: https://svnweb.freebsd.org/changeset/base/353668
Log:
Make all the gnop parameters optional in the request from userland,
filling in the same defaults that the current userland module uses.
This allows an old geom_nop.so us
On Wed, Oct 02, 2019 at 08:11:57AM -0600, Alan Somers wrote:
> On Fri, Sep 13, 2019 at 5:04 PM Chuck Silvers wrote:
>
> > Author: chs
> > Date: Fri Sep 13 23:03:56 2019
> > New Revision: 352312
> > URL: https://svnweb.freebsd.org/changeset/base/352312
> >
&g
Author: chs
Date: Fri Sep 13 23:03:56 2019
New Revision: 352312
URL: https://svnweb.freebsd.org/changeset/base/352312
Log:
Add a "count_until_fail" option to gnop, which says to start failing
I/O requests after the given number have been allowed though.
Approved by:imp (mentor)
Revi
25 matches
Mail list logo