Re: svn commit: r326399 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-11-30 Thread Alan Somers
Crap. Committed the wrong file. Fix coming shortly. On Thu, Nov 30, 2017 at 8:28 AM, Alan Somers wrote: > Author: asomers > Date: Thu Nov 30 15:28:29 2017 > New Revision: 326399 > URL: https://svnweb.freebsd.org/changeset/base/326399 > > Log: > Fix assertion when ZFS

svn commit: r326399 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-11-30 Thread Alan Somers
Author: asomers Date: Thu Nov 30 15:28:29 2017 New Revision: 326399 URL: https://svnweb.freebsd.org/changeset/base/326399 Log: Fix assertion when ZFS fails to open certain devices "panic: vdev_geom_close_locked: cp->private is NULL" This panic will result if ZFS fails to open a device due

Re: svn commit: r326343 - head/etc/rc.d

2017-11-29 Thread Alan Somers
On Wed, Nov 29, 2017 at 4:40 AM, Dimitry Andric wrote: > On 28 Nov 2017, at 21:44, Alan Somers wrote: >> >> Author: asomers >> Date: Tue Nov 28 20:44:10 2017 >> New Revision: 326343 >> URL: https://svnweb.freebsd.org/changeset/base/326343 >> >> Lo

svn commit: r326343 - head/etc/rc.d

2017-11-28 Thread Alan Somers
Author: asomers Date: Tue Nov 28 20:44:10 2017 New Revision: 326343 URL: https://svnweb.freebsd.org/changeset/base/326343 Log: Fix fetching ntp leapfile after 325256 Submitted by: Ronald Klop Reviewed by: asomers MFC after:3 days X-MFC-With: 325256 Modified: head/etc/rc.d/n

Re: svn commit: r326200 - head/sys/kern

2017-11-28 Thread Alan Somers
On Sun, Nov 26, 2017 at 11:49 PM, Peter Holm wrote: > On Sun, Nov 26, 2017 at 10:11:21PM +0100, Mateusz Guzik wrote: >> On Sun, Nov 26, 2017 at 7:49 AM, Peter Holm wrote: >> >> > On Sat, Nov 25, 2017 at 08:49:27PM +, Mateusz Guzik wrote: >> > > Author: mjg >> > > Date: Sat Nov 25 20:49:27 201

svn commit: r326290 - head/usr.sbin/diskinfo

2017-11-27 Thread Alan Somers
Author: asomers Date: Mon Nov 27 21:10:50 2017 New Revision: 326290 URL: https://svnweb.freebsd.org/changeset/base/326290 Log: diskinfo(8): Delete dead code in slog test Reported by: Coverity CID: 1377556 Reviewed by: mav MFC after:3 weeks Sponsored by: Spectra Logic

svn commit: r326289 - in head: cddl/usr.bin/ctfconvert cddl/usr.bin/ctfconvert/tests etc/mtree usr.bin/fold usr.bin/fold/tests usr.bin/rs usr.bin/rs/tests

2017-11-27 Thread Alan Somers
Author: asomers Date: Mon Nov 27 20:01:58 2017 New Revision: 326289 URL: https://svnweb.freebsd.org/changeset/base/326289 Log: Add basic tests for ctfconvert(1), fold(1) and rs(1) Add basic command line parsing test coverage for these utilities. The tests were automatically generated bas

svn commit: r326101 - head/lib/libcam/tests

2017-11-22 Thread Alan Somers
Author: asomers Date: Wed Nov 22 19:58:29 2017 New Revision: 326101 URL: https://svnweb.freebsd.org/changeset/base/326101 Log: Add a test case for cam_get_device with sa(4) devices sa(4) has some unique behavior that is special-cased in cam_get_device. The existing tests don't provide cov

svn commit: r326100 - head/sys/cam

2017-11-22 Thread Alan Somers
Author: asomers Date: Wed Nov 22 19:57:34 2017 New Revision: 326100 URL: https://svnweb.freebsd.org/changeset/base/326100 Log: Always null-terminate CAM periph_name and dev_name Reported by: Coverity CID: 1010039, 1010040, 1010041, 1010043 Reviewed by: ken, imp MFC after:

Re: svn commit: r326036 - head/sys/cam/scsi

2017-11-22 Thread Alan Somers
usage or mostly in testing? > > Regards, > Ronald. > > > > On Mon, 20 Nov 2017 23:27:34 +0100, Alan Somers wrote: > >> Author: asomers >> Date: Mon Nov 20 22:27:33 2017 >> New Revision: 326036 >> URL: https://svnweb.freebsd.org/changeset/base/3

svn commit: r326065 - head/sys/cam

2017-11-21 Thread Alan Somers
Author: asomers Date: Tue Nov 21 16:38:30 2017 New Revision: 326065 URL: https://svnweb.freebsd.org/changeset/base/326065 Log: Fix uninitialized variable from 326034 Reported by: Coverity CID: 1382887 MFC after:20 days X-MFC-With: 326034 Sponsored by: Spectra Logic C

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Alan Somers
On Mon, Nov 20, 2017 at 6:48 PM, Benjamin Kaduk wrote: > On Mon, Nov 20, 2017 at 7:36 PM, Alan Somers wrote: >> >> >> Are there any automated tools that care about the "Differential >> Revision" field? If so, they should be able to tell the difference >&g

Re: svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Alan Somers
On Mon, Nov 20, 2017 at 6:32 PM, Ed Maste wrote: > On 20 November 2017 at 17:55, Alan Somers wrote: >> Author: asomers >> Date: Mon Nov 20 22:55:02 2017 >> New Revision: 326039 >> URL: https://svnweb.freebsd.org/changeset/base/326039 >> >> Log: >> A

svn commit: r326041 - head/usr.sbin/periodic

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 23:51:51 2017 New Revision: 326041 URL: https://svnweb.freebsd.org/changeset/base/326041 Log: periodic: fix exit status for nonexistent arguments When called with an absolute pathname, periodic should attempt to execute every script in that directory. If t

svn commit: r326040 - in head/sys/cam: ata scsi

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 23:45:42 2017 New Revision: 326040 URL: https://svnweb.freebsd.org/changeset/base/326040 Log: Quirk Seagate ST8000AS0003-2HH Like its predecessor ST8000AS0002, this is a drive-managed SMR drive, but doesn't declare that in its ATA identify data. MFC a

svn commit: r326039 - in head: etc/mtree usr.bin/head usr.bin/head/tests

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 22:55:02 2017 New Revision: 326039 URL: https://svnweb.freebsd.org/changeset/base/326039 Log: Add ATF tests for head(1) Submitted by: Fred Schlecter Reviewed by: asomers, jilles MFC after:3 weeks Differential Revisi

Re: svn commit: r304443 - head/sys/cam

2017-11-20 Thread Alan Somers
Can we MFC this now? Perhaps in tandem with 326034 ? On Thu, Aug 18, 2016 at 10:30 PM, Warner Losh wrote: > Author: imp > Date: Fri Aug 19 04:30:29 2016 > New Revision: 304443 > URL: https://svnweb.freebsd.org/changeset/base/304443 > > Log: > Improve the pattern matching so that internal *'s w

svn commit: r326036 - head/sys/cam/scsi

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 22:27:33 2017 New Revision: 326036 URL: https://svnweb.freebsd.org/changeset/base/326036 Log: da(4): Short-circuit unnecessary BIO_FLUSH commands sys/cam/scsi/scsi_da.c Complete BIO_FLUSH commands immediately if the da(4) device hasn't been w

svn commit: r326034 - in head: lib/libcam/tests sys/cam

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 22:01:45 2017 New Revision: 326034 URL: https://svnweb.freebsd.org/changeset/base/326034 Log: Fix multiple bugs in cam_strmatch * Wrongly matches strings that are shorter than the pattern * Fails to match negative character sets * Fails to match characte

svn commit: r326032 - head/sbin/camcontrol

2017-11-20 Thread Alan Somers
Author: asomers Date: Mon Nov 20 21:56:25 2017 New Revision: 326032 URL: https://svnweb.freebsd.org/changeset/base/326032 Log: Print ZAC device type in "camcontrol identify" output ZAC (Zoned-device ATA Command set) is the standard for addressing SMR (shingled magnetic recording) devices

svn commit: r325959 - head/sys/cam/scsi

2017-11-17 Thread Alan Somers
Author: asomers Date: Fri Nov 17 20:53:52 2017 New Revision: 325959 URL: https://svnweb.freebsd.org/changeset/base/325959 Log: Add assertion in probedone() that we're holding the device lock. Submitted by: ken Reviewed by: asomers MFC after:3 weeks Sponsored by: Spectra Logic Cor

svn commit: r325947 - head/sys/cam/scsi

2017-11-17 Thread Alan Somers
Author: asomers Date: Fri Nov 17 17:13:00 2017 New Revision: 325947 URL: https://svnweb.freebsd.org/changeset/base/325947 Log: Fix potential NULL pointer dereference of device physical path In scsi_dev_advinfo(), if the physical path is being stored and there is a malloc failure (malloc(9

svn commit: r325946 - head/share/man/man9

2017-11-17 Thread Alan Somers
Author: asomers Date: Fri Nov 17 16:04:37 2017 New Revision: 325946 URL: https://svnweb.freebsd.org/changeset/base/325946 Log: VOP_LOOKUP.9: update locking info The old description has been inaccurate since at least 243271, if not before. Submitted by: will Reviewed by: kib MFC

svn commit: r325857 - head/sys/cam

2017-11-15 Thread Alan Somers
Author: asomers Date: Wed Nov 15 15:52:06 2017 New Revision: 325857 URL: https://svnweb.freebsd.org/changeset/base/325857 Log: Remove a double free(9) in xpt_bus_register In xpt_bus_register(), remove superfluous call to free(). This was mostly benign since free(9) checks for NULL before

svn commit: r325827 - head/tests/sys/aio

2017-11-14 Thread Alan Somers
Author: asomers Date: Tue Nov 14 21:11:55 2017 New Revision: 325827 URL: https://svnweb.freebsd.org/changeset/base/325827 Log: Fix build on arm after r325817 Reported by: rpokala MFC after:3 weeks X-MFC-With: 325817 Sponsored by: Spectra Logic Corp Modified: head/tests/sys/a

Re: svn commit: r325817 - head/tests/sys/aio

2017-11-14 Thread Alan Somers
ome/rpokala/freebsd/clean/base/head/tests/sys/aio/lio_kqueue_test.c:137:22: > error: format specifies type 'long' but the argument has type 'long long' > [-We > rror,-Wformat] > time1, time2, time2-time1, result); > ^~~~

Re: svn commit: r308217 - in head/sys/dev: mpr mps

2017-11-14 Thread Alan Somers
On Thu, Nov 10, 2016 at 12:54 AM, Harry Schmalzbauer wrote: > Bezüglich Scott Long's Nachricht vom 09.11.2016 17:06 (localtime): >> >>> On Nov 4, 2016, at 3:18 AM, Harry Schmalzbauer wrote: > … >>> If it's really mps(4) who decides to store driveserial-targetID >>> numbering in the /"persitent no

svn commit: r325817 - head/tests/sys/aio

2017-11-14 Thread Alan Somers
Author: asomers Date: Tue Nov 14 17:46:37 2017 New Revision: 325817 URL: https://svnweb.freebsd.org/changeset/base/325817 Log: AIO tests: increase limits tests/sys/aio/aio_kqueue_test.c Instead of using a hard-coded queue depth, use vfs.aio.max_aio_queue_per_proc tests/

svn commit: r325812 - head/etc

2017-11-14 Thread Alan Somers
Author: asomers Date: Tue Nov 14 16:32:40 2017 New Revision: 325812 URL: https://svnweb.freebsd.org/changeset/base/325812 Log: devd.conf: add mps and mpr to the scsi controllers regex MFC after:3 weeks Sponsored by: Spectra Logic Corp Differential Revision:https://reviews.fr

Re: svn commit: r325392 - head/etc/autofs

2017-11-07 Thread Alan Somers
On Sat, Nov 4, 2017 at 8:38 AM, Edward Tomasz Napierala wrote: > Author: trasz > Date: Sat Nov 4 14:38:00 2017 > New Revision: 325392 > URL: https://svnweb.freebsd.org/changeset/base/325392 > > Log: > Add NIS automounter map, which supports rewriting of self-hosted locations > to make them nu

svn commit: r325363 - head/sys/dev/mpr

2017-11-03 Thread Alan Somers
Author: asomers Date: Fri Nov 3 15:07:36 2017 New Revision: 325363 URL: https://svnweb.freebsd.org/changeset/base/325363 Log: Fix mpr(4) panics caused by bad drive mapping tables sys/dev/mpr/mpr_mapping.c If _mapping_process_dpm_pg0 detects inconsistencies in the drive mapp

Re: svn commit: r325040 - head/sys/cam/nvme

2017-10-27 Thread Alan Somers
On Fri, Oct 27, 2017 at 8:57 AM, Warner Losh wrote: > Author: imp > Date: Fri Oct 27 14:57:38 2017 > New Revision: 325040 > URL: https://svnweb.freebsd.org/changeset/base/325040 > > Log: > nvd alias has caused some problems, revert it for the moment. > > Sponsored by: Netflix > > Modified: >

Re: svn commit: r325026 - head/sys/cam/ata

2017-10-27 Thread Alan Somers
On Thu, Oct 26, 2017 at 8:27 PM, Warner Losh wrote: > > > On Thu, Oct 26, 2017 at 5:35 PM, Warner Losh wrote: >> >> >> >> On Thu, Oct 26, 2017 at 5:04 PM, Alan Somers wrote: >>> >>> On Thu, Oct 26, 2017 at 4:53 PM, Warner Losh wrote: >

Re: svn commit: r325026 - head/sys/cam/ata

2017-10-26 Thread Alan Somers
On Thu, Oct 26, 2017 at 4:53 PM, Warner Losh wrote: > Author: imp > Date: Thu Oct 26 22:53:49 2017 > New Revision: 325026 > URL: https://svnweb.freebsd.org/changeset/base/325026 > > Log: > Always send STANDBY IMMEDIATE when shutting down > > To save SMART data and for a drive to understand tha

svn commit: r325018 - head/sys/kern

2017-10-26 Thread Alan Somers
Author: asomers Date: Thu Oct 26 19:45:15 2017 New Revision: 325018 URL: https://svnweb.freebsd.org/changeset/base/325018 Log: Fix aio_suspend in 32-bit emulation An off-by-one error has been present since the system call was first present in 185878. It additionally became a memory corru

svn commit: r325016 - head/lib/libdevdctl

2017-10-26 Thread Alan Somers
Author: asomers Date: Thu Oct 26 17:56:34 2017 New Revision: 325016 URL: https://svnweb.freebsd.org/changeset/base/325016 Log: Partially revert r325011: restore Guid's default constructor Reported by: ohartmann MFC after:3 weeks X-MFC-With: 325011 Sponsored by: Spectra Logic Co

svn commit: r325011 - in head: cddl/usr.sbin/zfsd lib/libdevdctl

2017-10-26 Thread Alan Somers
Author: asomers Date: Thu Oct 26 15:28:18 2017 New Revision: 325011 URL: https://svnweb.freebsd.org/changeset/base/325011 Log: zfsd should be able to online an L2ARC that disappears and returns Previously, this didn't work because L2ARC devices' labels don't contain pool GUIDs. Modify zf

svn commit: r324991 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-10-25 Thread Alan Somers
Author: asomers Date: Wed Oct 25 16:01:19 2017 New Revision: 324991 URL: https://svnweb.freebsd.org/changeset/base/324991 Log: Fix zpool_read_all_labels when vfs.aio.enable_unsafe=0 Previously, zpool_read_all_labels was trying to do 256KB reads, which are greater than the default MAXPHYS

svn commit: r324956 - head/lib/libc/sys

2017-10-24 Thread Alan Somers
Author: asomers Date: Tue Oct 24 14:34:25 2017 New Revision: 324956 URL: https://svnweb.freebsd.org/changeset/base/324956 Log: Bump man page revision dates for r324941 Reported by: jhb MFC after:20 days X-MFC-with: 324941 Sponsored by: Spectra Logic Corp Modified: head/lib/l

svn commit: r324941 - in head: lib/libc/sys sys/kern

2017-10-23 Thread Alan Somers
Author: asomers Date: Mon Oct 23 23:12:01 2017 New Revision: 324941 URL: https://svnweb.freebsd.org/changeset/base/324941 Log: Remove artificial restriction on lio_listio's operation count In r322258 I made p1003_1b.aio_listio_max a tunable. However, further investigation shows that there

svn commit: r324940 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-10-23 Thread Alan Somers
Author: asomers Date: Mon Oct 23 23:05:29 2017 New Revision: 324940 URL: https://svnweb.freebsd.org/changeset/base/324940 Log: Fix the error message when creating a zpool on a too-small device Don't check for SPA_MINDEVSIZE in vdev_geom_attach when opening by path. It's redundant with the

svn commit: r324806 - head/share/man/man4

2017-10-20 Thread Alan Somers
Author: asomers Date: Fri Oct 20 15:29:28 2017 New Revision: 324806 URL: https://svnweb.freebsd.org/changeset/base/324806 Log: Use the .Fx macro consistently. Sponsored by: Spectra Logic Corp Modified: head/share/man/man4/mpr.4 head/share/man/man4/usfs.4 Modified: head/share/man/man4/

svn commit: r324805 - head/share/man/man4

2017-10-20 Thread Alan Somers
Author: asomers Date: Fri Oct 20 15:24:28 2017 New Revision: 324805 URL: https://svnweb.freebsd.org/changeset/base/324805 Log: Fix the mps(4) HISTORY section. Looks like a copy/paste error from r302673. MFC after:3 weeks Sponsored by: Spectra Logic Corp Modified: head/share/ma

Re: svn commit: r324681 - in head/etc: defaults periodic/daily

2017-10-17 Thread Alan Somers
This change defeats the anticongestion mechanism. If daily_ntpd_leapfile_background is set and 480.leapfile-ntpd runs before any other periodic script that uses anticongestion (like /usr/local/etc/periodic/security/410.pkg-audit), then the anticongestion mechanism will effectively be disabled for

Re: svn commit: r324656 - head/lib/libifconfig

2017-10-16 Thread Alan Somers
On Mon, Oct 16, 2017 at 12:54 AM, Andriy Voskoboinyk wrote: > Author: avos > Date: Mon Oct 16 06:54:26 2017 > New Revision: 324656 > URL: https://svnweb.freebsd.org/changeset/base/324656 > > Log: > libifconfig: allow to get original interface name via > ifconfig_get_orig_name() > > Uses the s

Re: svn commit: r324620 - head/sys/fs/fuse

2017-10-14 Thread Alan Somers
On Sat, Oct 14, 2017 at 1:02 PM, Fedor Uporov wrote: > Author: fsu > Date: Sat Oct 14 19:02:52 2017 > New Revision: 324620 > URL: https://svnweb.freebsd.org/changeset/base/324620 > > Log: > Add extended attributes support to fuse kernel module. > > Author: kem > Reviewed by:cem,

svn commit: r324568 - head/cddl/contrib/opensolaris/lib/libzfs/common

2017-10-12 Thread Alan Somers
Author: asomers Date: Thu Oct 12 21:25:11 2017 New Revision: 324568 URL: https://svnweb.freebsd.org/changeset/base/324568 Log: Optimize zpool_read_all_labels with AIO Read all labels in parallel instead of sequentially MFC after:3 weeks X-MFC-With: 322854 Sponsored by: Spectra

svn commit: r324457 - in head/sys/dev: pccbb pci

2017-10-09 Thread Alan Somers
Author: asomers Date: Mon Oct 9 22:27:38 2017 New Revision: 324457 URL: https://svnweb.freebsd.org/changeset/base/324457 Log: Remove embedded newlines from sysctl variable descriptions PR: 112556 Submitted by: Willem Jan Withagen (earlier version) Reported by: Willem Jan Wi

svn commit: r324281 - in head: sys/geom sys/sys usr.sbin/diskinfo

2017-10-04 Thread Alan Somers
Author: asomers Date: Wed Oct 4 15:09:49 2017 New Revision: 324281 URL: https://svnweb.freebsd.org/changeset/base/324281 Log: Display rotation rate and TRIM/UNMAP support in diskinfo(8) Bump __FreeBSD_version due to the expansion of struct diocgattr_arg. Reviewed by: mav, allanjude,

svn commit: r324241 - head/usr.sbin/diskinfo

2017-10-03 Thread Alan Somers
Author: asomers Date: Tue Oct 3 17:00:01 2017 New Revision: 324241 URL: https://svnweb.freebsd.org/changeset/base/324241 Log: Fix copy/paste error in diskinfo.8 from r320555 MFC after:1 week Sponsored by: Spectra Logic Corp Modified: head/usr.sbin/diskinfo/diskinfo.8 Modified: he

svn commit: r324223 - head/cddl/contrib/opensolaris/cmd/zdb

2017-10-02 Thread Alan Somers
Author: asomers Date: Mon Oct 2 22:39:12 2017 New Revision: 324223 URL: https://svnweb.freebsd.org/changeset/base/324223 Log: MFV r319743: 8108 zdb -l fails to read labels 2 and 3 illumos/illumos-gate@22c8b9583d07895c16549075a53668d7bc988cf3 https://github.com/illumos/illumos-g

svn commit: r324222 - head/cddl/contrib/opensolaris/cmd/zdb

2017-10-02 Thread Alan Somers
Author: asomers Date: Mon Oct 2 22:35:35 2017 New Revision: 324222 URL: https://svnweb.freebsd.org/changeset/base/324222 Log: MFV r316863: 3871 fix issues introduced by 3604 illumos/illumos-gate@de05b58863498b10283637eb9ac85e92fe85150e https://github.com/illumos/illumos-gate/commit/de05

Re: svn commit: r324220 - in head/cddl/contrib/opensolaris: cmd/zdb cmd/ztest lib/libzpool/common lib/libzpool/common/sys

2017-10-02 Thread Alan Somers
On Mon, Oct 2, 2017 at 4:02 PM, Alan Somers wrote: > Author: asomers > Date: Mon Oct 2 22:02:04 2017 > New Revision: 324220 > URL: https://svnweb.freebsd.org/changeset/base/324220 > > Log: > MFC r316858 7280 Allow changing global libzpool variables in zdb > >

svn commit: r324221 - head/cddl/contrib/opensolaris/cmd/zdb

2017-10-02 Thread Alan Somers
Author: asomers Date: Mon Oct 2 22:13:20 2017 New Revision: 324221 URL: https://svnweb.freebsd.org/changeset/base/324221 Log: MFV r316861: 6866 zdb -l should return non-zero if it fails to find any label illumos/illumos-gate@64723e361134b2a2c45341334174f9d34002f8d0 https://github.com/il

svn commit: r324220 - in head/cddl/contrib/opensolaris: cmd/zdb cmd/ztest lib/libzpool/common lib/libzpool/common/sys

2017-10-02 Thread Alan Somers
Author: asomers Date: Mon Oct 2 22:02:04 2017 New Revision: 324220 URL: https://svnweb.freebsd.org/changeset/base/324220 Log: MFC r316858 7280 Allow changing global libzpool variables in zdb 7280 Allow changing global libzpool variables in zdb and ztest through command line illumos/i

svn commit: r324112 - in head/bin: chflags mkdir rcp rmdir

2017-09-29 Thread Alan Somers
Author: asomers Date: Fri Sep 29 23:47:23 2017 New Revision: 324112 URL: https://svnweb.freebsd.org/changeset/base/324112 Log: Fix Makefile entries from r323275 Reported by: Vladimir Zakharov Reviewed by: ngie MFC after:3 weeks X-MFC-With: 3232

svn commit: r323995 - head/cddl/usr.sbin/zfsd

2017-09-25 Thread Alan Somers
Author: asomers Date: Mon Sep 25 20:44:40 2017 New Revision: 323995 URL: https://svnweb.freebsd.org/changeset/base/323995 Log: Close a memory leak when using zpool_read_all_labels MFC after:3 weeks X-MFC-With: 322854 Sponsored by: Spectra Logic Corp Modified: head/cddl/usr.sbin

svn commit: r323813 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-09-20 Thread Alan Somers
Author: asomers Date: Wed Sep 20 16:31:00 2017 New Revision: 323813 URL: https://svnweb.freebsd.org/changeset/base/323813 Log: MFV r323789: 8473 scrub does not detect errors on active spares illumos/illumos-gate@554675eee75dd2d7398d960aa5c81083ceb8505a https://github.com/illumos/illumos

svn commit: r323503 - in head: . sys/cam/ctl

2017-09-12 Thread Alan Somers
Author: asomers Date: Tue Sep 12 19:36:24 2017 New Revision: 323503 URL: https://svnweb.freebsd.org/changeset/base/323503 Log: Remove spaces from CTL devices' default serial numbers It's awkward to have spaces in CAM device serial numbers. That leads to such things as device nodes named "

svn commit: r323275 - in head: bin/chflags bin/chflags/tests bin/mkdir bin/mkdir/tests bin/rcp bin/rcp/tests bin/rmdir bin/rmdir/tests etc/mtree

2017-09-07 Thread Alan Somers
Author: asomers Date: Thu Sep 7 16:54:47 2017 New Revision: 323275 URL: https://svnweb.freebsd.org/changeset/base/323275 Log: Add basic tests for chflags, mkdir, rcp, and rmdir Add basic command line parsing test coverage for these utilities. The tests were automatically generated based

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-09-06 Thread Alan Somers
: >> >> Sure, I'll check that out. Thanks for heads up. >> >> -Max >> >> On Sun, Sep 3, 2017 at 8:18 PM, Alan Somers wrote: >>> >>> On Mon, Jan 16, 2017 at 10:46 AM, Maxim Sobolev >>> wrote: >>> > Author: sobomax >

svn commit: r323194 - head/sys/cddl/compat/opensolaris/sys

2017-09-05 Thread Alan Somers
Author: asomers Date: Tue Sep 5 19:40:04 2017 New Revision: 323194 URL: https://svnweb.freebsd.org/changeset/base/323194 Log: Fix remounting ZFS filesystem with "zfs mount" "zfs mount -o" passes a list of mount options directly to nmount(2) after sanity checking them. In particular, zfs(

svn commit: r323193 - head/cddl/compat/opensolaris/misc

2017-09-05 Thread Alan Somers
Author: asomers Date: Tue Sep 5 19:28:35 2017 New Revision: 323193 URL: https://svnweb.freebsd.org/changeset/base/323193 Log: Honor all options of "zfs mount -o" The existing code in zmount incorrectly parses the comma-delimited option string. The result is that nmount only honors the la

Re: svn commit: r312296 - in head: lib/libc/sys sys/kern sys/netinet sys/netinet6 sys/sys tools/regression/sockets/udp_pingpong tools/regression/sockets/unix_cmsg

2017-09-03 Thread Alan Somers
On Mon, Jan 16, 2017 at 10:46 AM, Maxim Sobolev wrote: > Author: sobomax > Date: Mon Jan 16 17:46:38 2017 > New Revision: 312296 > URL: https://svnweb.freebsd.org/changeset/base/312296 > > Log: > Add a new socket option SO_TS_CLOCK to pick from several different clock > sources to return times

Re: svn commit: r322258 - head/sys/kern

2017-08-28 Thread Alan Somers
On Fri, Aug 25, 2017 at 9:00 PM, Bruce Evans wrote: > On Thu, 24 Aug 2017, Alan Somers wrote: > >> On Wed, Aug 9, 2017 at 1:05 AM, Bruce Evans wrote: >>> >>> On Tue, 8 Aug 2017, Alan Somers wrote: >>> ... >>> The compile-time definition of

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Alan Somers
k we > would like that to work. I don't recall whether it does or not before > this change. > > Best, > Conrad > > On Fri, Aug 25, 2017 at 10:08 AM, Alan Somers wrote: >> Nope. Do you mean negative offsets for the iseek argument? I didn't >> know you c

svn commit: r322898 - head/bin/dd

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 18:51:10 2017 New Revision: 322898 URL: https://svnweb.freebsd.org/changeset/base/322898 Log: Pacify GCC on mips32 after r322893 Though technically correct, GCC complains about usingi a "%zd" format specifier for a long. Reported by: cem MFC after:

Re: svn commit: r322893 - head/bin/dd

2017-08-25 Thread Alan Somers
> > Thanks, > Conrad > > On Fri, Aug 25, 2017 at 8:31 AM, Alan Somers wrote: >> Author: asomers >> Date: Fri Aug 25 15:31:55 2017 >> New Revision: 322893 >> URL: https://svnweb.freebsd.org/changeset/base/322893 >> >> Log: >> dd(1): I

svn commit: r322893 - head/bin/dd

2017-08-25 Thread Alan Somers
Author: asomers Date: Fri Aug 25 15:31:55 2017 New Revision: 322893 URL: https://svnweb.freebsd.org/changeset/base/322893 Log: dd(1): Incorrect casting of arguments dd(1) casts many of its numeric arguments from uintmax_t to intmax_t and back again to detect whether or not the original ar

svn commit: r322868 - head/etc/periodic/security

2017-08-24 Thread Alan Somers
Author: asomers Date: Fri Aug 25 00:28:56 2017 New Revision: 322868 URL: https://svnweb.freebsd.org/changeset/base/322868 Log: Fix 100.chksetuid and 110.neggrpperm for mountpoints with spaces Also, fix them for mountpoints with tabs. PR: 48325 Reported by: pgu...@kallisys.

svn commit: r322854 - in head/cddl: contrib/opensolaris/lib/libzfs/common usr.sbin/zfsd

2017-08-24 Thread Alan Somers
Author: asomers Date: Thu Aug 24 19:48:41 2017 New Revision: 322854 URL: https://svnweb.freebsd.org/changeset/base/322854 Log: zfsd(8): Close a race condition when onlining a disk paritition When inserting a partitioned disk, devfs and geom will announce the whole disk before they announc

Re: svn commit: r322258 - head/sys/kern

2017-08-24 Thread Alan Somers
On Wed, Aug 9, 2017 at 1:05 AM, Bruce Evans wrote: > On Tue, 8 Aug 2017, Alan Somers wrote: > >> Log: >> Make p1003_1b.aio_listio_max a tunable >> >> p1003_1b.aio_listio_max is now a tunable. Its value is reflected in the >> sysctl of the sa

svn commit: r322546 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-08-15 Thread Alan Somers
Author: asomers Date: Tue Aug 15 15:20:04 2017 New Revision: 322546 URL: https://svnweb.freebsd.org/changeset/base/322546 Log: Fix some ZFS debugging messages sys/cddl/contrib/opensolaris/uts/common/fs/zfs/vdev_geom.c Be more careful about the use of provider names vs vdev names in

svn commit: r322258 - head/sys/kern

2017-08-08 Thread Alan Somers
Author: asomers Date: Tue Aug 8 16:14:31 2017 New Revision: 322258 URL: https://svnweb.freebsd.org/changeset/base/322258 Log: Make p1003_1b.aio_listio_max a tunable p1003_1b.aio_listio_max is now a tunable. Its value is reflected in the sysctl of the same name, and the sysconf(3) variabl

Re: svn commit: r302474 - in head: cddl/lib/libdtrace tests/sys/netinet

2017-08-08 Thread Alan Somers
On Fri, Jul 8, 2016 at 5:44 PM, George V. Neville-Neil wrote: > Author: gnn > Date: Fri Jul 8 23:44:09 2016 > New Revision: 302474 > URL: https://svnweb.freebsd.org/changeset/base/302474 > > Log: > On FreeBSD there is a setsockopt option SO_USER_COOKIE which allows > setting a 32 bit value on

svn commit: r322255 - head/tests/sys/netinet

2017-08-08 Thread Alan Somers
Author: asomers Date: Tue Aug 8 15:37:21 2017 New Revision: 322255 URL: https://svnweb.freebsd.org/changeset/base/322255 Log: tests/sys/netinet/fibs_test: skip selected tests when firewalls are enabled Some tests send packets over epair(4) interfaces. Firewalls can cause spurious failure

Re: svn commit: r322214 - in head/tests: etc/rc.d sys/acl sys/file sys/geom/class/eli sys/geom/class/gate sys/geom/class/mirror sys/geom/class/nop sys/geom/class/uzip sys/kern sys/kqueue/libkqueue sys

2017-08-08 Thread Alan Somers
On Mon, Aug 7, 2017 at 10:59 PM, Ngie Cooper wrote: > Author: ngie > Date: Tue Aug 8 04:59:16 2017 > New Revision: 322214 > URL: https://svnweb.freebsd.org/changeset/base/322214 > > Log: > Make test scripts under tests/... non-executable > > Executable bits should be set at install time inste

svn commit: r321793 - head/usr.bin/calendar/calendars

2017-07-31 Thread Alan Somers
Author: asomers Date: Mon Jul 31 15:21:26 2017 New Revision: 321793 URL: https://svnweb.freebsd.org/changeset/base/321793 Log: spellcheck jhale's calendar entry Modified: head/usr.bin/calendar/calendars/calendar.freebsd Modified: head/usr.bin/calendar/calendars/calendar.freebsd =

svn commit: r321788 - head/usr.bin/calendar/calendars

2017-07-31 Thread Alan Somers
+320,7 @@ 09/18 Matthew Fleming born in Cleveland, Ohio, United States, 1975 09/20 Kevin Lo born in Taipei, Taiwan, Republic of China, 1972 09/21 Gleb Kurtsou born in Minsk, Belarus, 1984 +09/22 Alan Somers born in San Antonio, Texas, United States, 1982 09/22 Bryan Drewery born in San

Re: svn commit: r321332 - in head: lib/librt tests/sys/aio

2017-07-21 Thread Alan Somers
On Fri, Jul 21, 2017 at 10:06 AM, Ngie Cooper wrote: > >> On Jul 21, 2017, at 08:11, Alan Somers wrote: >> >> PR: 220459 >> >>> On Fri, Jul 21, 2017 at 9:09 AM, Alan Somers wrote: >>> Author: asomers >>> Date: Fri Jul 21

Re: svn commit: r321332 - in head: lib/librt tests/sys/aio

2017-07-21 Thread Alan Somers
PR: 220459 On Fri, Jul 21, 2017 at 9:09 AM, Alan Somers wrote: > Author: asomers > Date: Fri Jul 21 15:09:24 2017 > New Revision: 321332 > URL: https://svnweb.freebsd.org/changeset/base/321332 > > Log: > Implement SIGEV_THREAD notifications for lio_listio(2) >

svn commit: r321332 - in head: lib/librt tests/sys/aio

2017-07-21 Thread Alan Somers
Author: asomers Date: Fri Jul 21 15:09:24 2017 New Revision: 321332 URL: https://svnweb.freebsd.org/changeset/base/321332 Log: Implement SIGEV_THREAD notifications for lio_listio(2) Our man pages have always indicated that this was supported, but in fact the feature was never implemented

svn commit: r321295 - in head/lib: libc/sys librt

2017-07-20 Thread Alan Somers
Author: asomers Date: Thu Jul 20 16:24:29 2017 New Revision: 321295 URL: https://svnweb.freebsd.org/changeset/base/321295 Log: Remove some private symbols from librt Private functions like __aio_read and _aio_read were exposed in FBSDprivate_1.0 by r169090, even though they've never been

svn commit: r321206 - head/tests/sys/aio

2017-07-19 Thread Alan Somers
Author: asomers Date: Wed Jul 19 15:22:10 2017 New Revision: 321206 URL: https://svnweb.freebsd.org/changeset/base/321206 Log: Remove dead code that was killed by r320975 Reported by: Coverity CID: 1377977 MFC after:15 days X-MFC-With: 320975 Sponsored by: Spectra Lo

svn commit: r321082 - head/tests/sys/aio

2017-07-17 Thread Alan Somers
Author: asomers Date: Mon Jul 17 18:33:30 2017 New Revision: 321082 URL: https://svnweb.freebsd.org/changeset/base/321082 Log: Add regression tests for bugs 220459 and 220398 Bug 220398 - lio_listio(2) never sends asynchronous notification if nent==0 Bug 220459 - lio_listio(2) doesn't sup

svn commit: r321001 - head/tests/sys/aio

2017-07-14 Thread Alan Somers
Author: asomers Date: Fri Jul 14 21:50:04 2017 New Revision: 321001 URL: https://svnweb.freebsd.org/changeset/base/321001 Log: Fix the build with GCC after r320975 Reported by: pfg MFC after:20 days X-MFC-With: 320975 Sponsored by: Spectra Logic Corp Modified: head/tests/sys

svn commit: r320975 - head/tests/sys/aio

2017-07-13 Thread Alan Somers
Author: asomers Date: Thu Jul 13 22:53:13 2017 New Revision: 320975 URL: https://svnweb.freebsd.org/changeset/base/320975 Log: Add tests for aio(4) completion notification via signals and threads Reviewed by: jhb MFC after:3 weeks Sponsored by: Spectra Logic Corp Differential Rev

svn commit: r320974 - head/tests/sys/aio

2017-07-13 Thread Alan Somers
Author: asomers Date: Thu Jul 13 22:49:55 2017 New Revision: 320974 URL: https://svnweb.freebsd.org/changeset/base/320974 Log: Use ATF cleanup routines in aio_test.c Remove aio_test's legacy timeout handling and cleanup routines. Instead, use ATF's builtin capabilities. ATF automaticall

svn commit: r320914 - head/contrib/netbsd-tests/lib/libc/gen

2017-07-12 Thread Alan Somers
Author: asomers Date: Wed Jul 12 14:51:32 2017 New Revision: 320914 URL: https://svnweb.freebsd.org/changeset/base/320914 Log: Remove an extraneous strlen from t_setdomainname.c Reported by: Coverity CID: 1377568 MFC after:15 days X-MFC-With: 320737 Sponsored by: Spe

svn commit: r320807 - head/usr.bin/stdbuf

2017-07-08 Thread Alan Somers
Author: asomers Date: Sat Jul 8 17:08:42 2017 New Revision: 320807 URL: https://svnweb.freebsd.org/changeset/base/320807 Log: stdbuf(1): Add buffer definition "B" to the usage message This option has been missing from the usage message ever since the program was first imported. Subm

svn commit: r320737 - in head: contrib/netbsd-tests/lib/libc/gen lib/libc/tests/gen

2017-07-06 Thread Alan Somers
Author: asomers Date: Thu Jul 6 14:47:59 2017 New Revision: 320737 URL: https://svnweb.freebsd.org/changeset/base/320737 Log: Fix cleanup in lib/libc/gen/setdomainname_test ATF cleanup routines run in separate processes from the tests themselves, so they can't share global variables.

svn commit: r320269 - head/bin/echo/tests

2017-06-23 Thread Alan Somers
Author: asomers Date: Fri Jun 23 15:02:49 2017 New Revision: 320269 URL: https://svnweb.freebsd.org/changeset/base/320269 Log: style fixes in bin/echo/tests Submitted by: shivansh Reviewed by: asomers MFC after:2 weeks X-MFC-With: 319626 Sponsored by: Google, Inc (GSoC 2017)

svn commit: r320255 - in head: lib/libc/sys share/man/man4

2017-06-22 Thread Alan Somers
Author: asomers Date: Fri Jun 23 00:40:09 2017 New Revision: 320255 URL: https://svnweb.freebsd.org/changeset/base/320255 Log: Clarify usage of aio(4) with kqueue(2) Reviewed by: jhb MFC after:3 weeks Differential Revision:https://reviews.freebsd.org/D11299 Modified: hea

Re: svn commit: r320172 - head/bin/ln

2017-06-21 Thread Alan Somers
On Wed, Jun 21, 2017 at 7:37 AM, Alexey Dokuchaev wrote: > On Tue, Jun 20, 2017 at 08:46:08PM +, Ngie Cooper wrote: >> New Revision: 320172 >> URL: https://svnweb.freebsd.org/changeset/base/320172 >> >> Log: >> ln(1): fix -F behavior >> >> When '-F' option is used, the target directory nee

svn commit: r320167 - head/cddl/usr.sbin/zfsd

2017-06-20 Thread Alan Somers
Author: asomers Date: Tue Jun 20 19:45:02 2017 New Revision: 320167 URL: https://svnweb.freebsd.org/changeset/base/320167 Log: zfsd(8): Remove pidfile on shutdown MFC after:3 weeks Sponsored by: Spectra Logic Corp Modified: head/cddl/usr.sbin/zfsd/zfsd.cc Modified: head/cddl/usr.s

svn commit: r320166 - head/sbin/devd/tests

2017-06-20 Thread Alan Somers
Author: asomers Date: Tue Jun 20 19:34:21 2017 New Revision: 320166 URL: https://svnweb.freebsd.org/changeset/base/320166 Log: Require devd to be running for its ATF tests to run The ATF tests communicate with the system's running devd PR: 220169 Reported by: gjb MFC aft

svn commit: r320165 - head/sbin/devd

2017-06-20 Thread Alan Somers
Author: asomers Date: Tue Jun 20 19:32:39 2017 New Revision: 320165 URL: https://svnweb.freebsd.org/changeset/base/320165 Log: devd(8): Remove pidfile on shutdown MFC after:3 weeks Sponsored by: Spectra Logic Corp Modified: head/sbin/devd/devd.cc Modified: head/sbin/devd/devd.cc =

svn commit: r320163 - head/usr.sbin/makefs/tests

2017-06-20 Thread Alan Somers
Author: asomers Date: Tue Jun 20 19:00:55 2017 New Revision: 320163 URL: https://svnweb.freebsd.org/changeset/base/320163 Log: Fix usr.sbin/makefs/makefs_ffs_tests when /etc/fstab does not exist dumpfs prints a harmless warning message (via ufs_disk_fillout(3) and getfsfile(3)), when /etc

svn commit: r319900 - head/sbin/ipfw

2017-06-13 Thread Alan Somers
Author: asomers Date: Tue Jun 13 14:57:48 2017 New Revision: 319900 URL: https://svnweb.freebsd.org/changeset/base/319900 Log: sbin/ipfw: strcpy, strncpy => strlcpy Reported by: Coverity CID: 1356162, 1356166 MFC after:3 weeks Sponsored by: Spectra Logic Corp Different

svn commit: r319854 - head/bin/ln/tests

2017-06-12 Thread Alan Somers
Author: asomers Date: Mon Jun 12 14:54:59 2017 New Revision: 319854 URL: https://svnweb.freebsd.org/changeset/base/319854 Log: bin/ln: Set umask appropriately before creating files for testing These changes were missed in D11084 Submitted by: shivansh Reviewed by: asomers MFC afte

<    1   2   3   4   5   6   7   8   9   10   >