svn commit: r361002 - head/sys/dev/sound/pci/hda

2020-05-12 Thread Andriy Gapon
Author: avg Date: Wed May 13 06:26:30 2020 New Revision: 361002 URL: https://svnweb.freebsd.org/changeset/base/361002 Log: snd_hda: fix typos related to quirks set via 'config' tunable One wrong quirk bit, one wrong variable name. MFC after:1 week Modified: head/sys/dev/sound/pc

svn commit: r361006 - head/sys/compat/linuxkpi/common/include/linux

2020-05-13 Thread Andriy Gapon
Author: avg Date: Wed May 13 07:47:56 2020 New Revision: 361006 URL: https://svnweb.freebsd.org/changeset/base/361006 Log: linuxkpi: print stack trace in WARN_ON macros Reviewed by: hselasky, kib MFC after:1 week Differential Revision: https://reviews.freebsd.org/D24779 Modified:

svn commit: r361273 - head/sys/dev/iwm

2020-05-20 Thread Andriy Gapon
Author: avg Date: Wed May 20 08:15:09 2020 New Revision: 361273 URL: https://svnweb.freebsd.org/changeset/base/361273 Log: iwm: improve rfkill handling Previously the driver handled the bit within itself, but did not expose the state change to net80211 and interface layers. This change

svn commit: r361330 - head/lib/libprocstat

2020-05-21 Thread Andriy Gapon
Author: avg Date: Thu May 21 13:46:30 2020 New Revision: 361330 URL: https://svnweb.freebsd.org/changeset/base/361330 Log: libprocstat: fix reading of file descriptor table via kvm This seems to have been broken since r247602 (from year 2013!). Can be easily tested with fstat -N /boot

svn commit: r361363 - in head/lib/libprocstat: . zfs

2020-05-22 Thread Andriy Gapon
S+= -fno-builtin -nostdlib all: ${OBJS} CLEANFILES= ${OBJS} Added: head/lib/libprocstat/zfs_defs.c == --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lib/libprocstat/zfs_defs.c Fri May 22 1

svn commit: r361364 - head/sys/net80211

2020-05-22 Thread Andriy Gapon
Author: avg Date: Fri May 22 11:25:45 2020 New Revision: 361364 URL: https://svnweb.freebsd.org/changeset/base/361364 Log: net80211: post RTM_IFINFO notification after toggling IFF_DRV_RUNNING This is useful when a wireless driver is stopped or started in response to events like an RF Kil

Re: svn commit: r361363 - in head/lib/libprocstat: . zfs

2020-05-22 Thread Andriy Gapon
#x27;s type is more likely to prompt a check of possible uses. But less likely does not equal will never happen, of course. So, I think that this is a good suggestion. > On Fri, May 22, 2020 at 4:20 AM Andriy Gapon wrote: >> >> Author: avg >> Date: Fri May 22 11:20:23 2020 &

Re: svn commit: r361363 - in head/lib/libprocstat: . zfs

2020-05-22 Thread Andriy Gapon
On 22/05/2020 18:23, Andriy Gapon wrote: > On 22/05/2020 18:15, Conrad Meyer wrote: >> Hi Andriy, >> >> Would it make sense to also export sizes of those members? Currently >> the code assumes the members may be relocated in the struct, but never >> changed in s

Re: svn commit: r361363 - in head/lib/libprocstat: . zfs

2020-05-23 Thread Andriy Gapon
On 23/05/2020 18:43, Niclas Zeising wrote: > On 2020-05-22 13:20, Andriy Gapon wrote: >> Author: avg >> Date: Fri May 22 11:20:23 2020 >> New Revision: 361363 >> URL: https://svnweb.freebsd.org/changeset/base/361363 >> >> Log: >>    libprocstat: f

svn commit: r361434 - head/lib/libprocstat

2020-05-24 Thread Andriy Gapon
Author: avg Date: Sun May 24 14:54:21 2020 New Revision: 361434 URL: https://svnweb.freebsd.org/changeset/base/361434 Log: libprocstat: try to fix fallout from r361363 The revision caused libprocstat to have two undefined symbols: - __start_set_pcpu - __stop_set_pcpu probably because

svn commit: r361620 - head/sys/kern

2020-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 07:44:02 2020 New Revision: 361620 URL: https://svnweb.freebsd.org/changeset/base/361620 Log: corefile_open_last: don't keep a locked vnode while locking other ones Consider this scenario: - kern.corefile=/var/coredumps/%N.%U.%I.core - multiple processes wit

svn commit: r361621 - head/sys/dev/pci

2020-05-29 Thread Andriy Gapon
Author: avg Date: Fri May 29 07:50:55 2020 New Revision: 361621 URL: https://svnweb.freebsd.org/changeset/base/361621 Log: do not enable pci bridge decoding on resume until I/O windows are restored PCI bus driver restores most but not all of a child PCI-PCI bridge configuration. The brid

svn commit: r361787 - head/sbin/ifconfig

2020-06-04 Thread Andriy Gapon
Author: avg Date: Thu Jun 4 13:06:49 2020 New Revision: 361787 URL: https://svnweb.freebsd.org/changeset/base/361787 Log: ifconfig.8: fix cpability and flag descriptions for list scan / sta Some capability descriptions under list scan actually described flags. Some capability description

svn commit: r361788 - head/sys/dev/superio

2020-06-04 Thread Andriy Gapon
Author: avg Date: Thu Jun 4 13:18:21 2020 New Revision: 361788 URL: https://svnweb.freebsd.org/changeset/base/361788 Log: superio: do not assume that current LDN cannot change after config exit That assumption should be true when superio(4) uses the hardware exlusively. But it turns out

Re: svn commit: r361787 - head/sbin/ifconfig

2020-06-04 Thread Andriy Gapon
On 04/06/2020 16:06, Andriy Gapon wrote: > +Channel agility. > +.It Li B > +PBCC modulation. > +.It Li C > +Poll request capability. I would like to invite anyone who can expand short descriptions like the above to do so. -- Andriy Gapon

svn commit: r362042 - head/sys/dev/iicbus

2020-06-10 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 05:34:31 2020 New Revision: 362042 URL: https://svnweb.freebsd.org/changeset/base/362042 Log: iicbb: rebuild the bit-banging algorithms using different primitives I2C_SET was quite inflexible, it used too long delays as well as some unnecessary delays. The ne

svn commit: r362047 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2020-06-11 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 10:41:31 2020 New Revision: 362047 URL: https://svnweb.freebsd.org/changeset/base/362047 Log: rework how ZVOLs are updated in response to DSL operations With this change all ZVOL updates are initiated from the SPA sync context instead of a mix of the sync and

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

2020-06-11 Thread Andriy Gapon
Author: avg Date: Thu Jun 11 11:35:30 2020 New Revision: 362048 URL: https://svnweb.freebsd.org/changeset/base/362048 Log: fix up r362047: a call to zvol_*_minors() was not hidden from userland Reported by: CI/FreeBSD-head-powerpc64-build MFC after:5 weeks X-MFC with: r362047 Mo

Re: svn commit: r324196 - in head: cddl/contrib/opensolaris/cmd/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2017-10-02 Thread Andriy Gapon
On 02/10/2017 14:23, Andriy Gapon wrote: > -.Dd September 28, 2017 > +.Dd October 02, 2016 This was a typo, fixed in the next commit. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-h

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

2017-10-04 Thread Andriy Gapon
On 04/10/2017 23:08, Ed Maste wrote: > On 1 October 2017 at 22:12, Andriy Gapon wrote: >> >> Author: avg >> Date: Sun Oct 1 20:12:30 2017 >> New Revision: 324178 >> URL: https://svnweb.freebsd.org/changeset/base/324178 >> >> Log: >> unbreak

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

2017-10-04 Thread Andriy Gapon
On 04/10/2017 23:29, Andriy Gapon wrote: > On 04/10/2017 23:08, Ed Maste wrote: >> On 1 October 2017 at 22:12, Andriy Gapon wrote: >>> >>> Author: avg >>> Date: Sun Oct 1 20:12:30 2017 >>> New Revision: 324178 >>> URL: https://svnweb.freebs

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

2017-10-04 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 06:39:57 2017 New Revision: 324292 URL: https://svnweb.freebsd.org/changeset/base/324292 Log: really unbreak kernel builds on sparc64 and powerpc64 after r324163, ZFS Channel Programs This commit also reverts r324178 that did not fix the problem on powerpc64

svn commit: r324309 - head/sys/cddl/compat/opensolaris/kern

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 12:25:18 2017 New Revision: 324309 URL: https://svnweb.freebsd.org/changeset/base/324309 Log: remove heuristic error detection from ddi_strto*() Zero, _MIN and _MAX values can result from valid conversions. They don't necessarily imply any error. Since we do

svn commit: r324311 - in head/sys: kern sys

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 12:32:14 2017 New Revision: 324311 URL: https://svnweb.freebsd.org/changeset/base/324311 Log: sysctl-s in a module should be accessible only when the module is initialized A sysctl can have a custom handler that may access data that is initialized via SYSINIT(

svn commit: r324312 - head/etc/devd

2017-10-05 Thread Andriy Gapon
Author: avg Date: Thu Oct 5 12:38:26 2017 New Revision: 324312 URL: https://svnweb.freebsd.org/changeset/base/324312 Log: fix the misleading log facility used in devd/zfs.conf In general, the "kern" facility is reserved for the kernel use only. If a program specifies that facility, then

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 07:52:25 2017 New Revision: 324343 URL: https://svnweb.freebsd.org/changeset/base/324343 Log: MFV r316862: 6410 teach zdb to perform object lookups by path illumos/illumos-gate@ed61ec1da9132e570b0853386d0f78a32f852cd2 https://github.com/illumos/illumos-gate/c

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:09:20 2017 New Revision: 324344 URL: https://svnweb.freebsd.org/changeset/base/324344 Log: MFV r316864: 6392 zdb: introduce -V for verbatim import illumos/illumos-gate@dfd5965f7e43b6a630e5ac86708ae76b4f02cc40 https://github.com/illumos/illumos-gate/commit/

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:10:54 2017 New Revision: 324345 URL: https://svnweb.freebsd.org/changeset/base/324345 Log: MFV r316877: 7571 non-present readonly numeric ZFS props do not have default value illumos/illumos-gate@ad2760acbd9c3b479bf632f05c6f03d89830799d https://github.com/

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:12:13 2017 New Revision: 324346 URL: https://svnweb.freebsd.org/changeset/base/324346 Log: MFV r316931: 6268 zfs diff confused by moving a file to another directory illumos/illumos-gate@aab04418a72c0a29040a5da7eec08efe19dbef04 https://github.com/illumos/il

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:15:37 2017 New Revision: 324347 URL: https://svnweb.freebsd.org/changeset/base/324347 Log: MFV r316933: 5142 libzfs support raidz root pool (loader project) illumos/illumos-gate@d5f26ad8122c3762fb16413a17bfb497db86a782 https://github.com/illumos/illumos-ga

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:17:12 2017 New Revision: 324348 URL: https://svnweb.freebsd.org/changeset/base/324348 Log: MFV r316934: 7340 receive manual origin should override automatic origin illumos/illumos-gate@ed4e7a6a5cbc5e8986dc649ad54435210487b102 https://github.com/illumos/ill

svn commit: r324349 - in head: cddl/contrib/opensolaris/cmd/zdb sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:21:06 2017 New Revision: 324349 URL: https://svnweb.freebsd.org/changeset/base/324349 Log: MFV r322235: 8067 zdb should be able to dump literal embedded block pointer illumos/illumos-gate@4923c69fddc0887da5604a262585af3efd82ee20 https://github.com/illumos/

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

2017-10-06 Thread Andriy Gapon
Author: avg Date: Fri Oct 6 08:28:35 2017 New Revision: 324350 URL: https://svnweb.freebsd.org/changeset/base/324350 Log: zdb.8: replace with the slighly modified upstream version The upstream has converted their manual page to the same format as we have, so we can use the upstream versi

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

2017-10-09 Thread Andriy Gapon
Author: avg Date: Mon Oct 9 07:44:09 2017 New Revision: 324425 URL: https://svnweb.freebsd.org/changeset/base/324425 Log: illumos mutex_init: use SX_NEW instead of bzero There should be no functional change, but SX_NEW seems to be more idiomatic to the use-case. MFC after:2 week

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
} > + if (error == 0) { > + ++num_found; > + printf("%02x ", i); > + } > + } > + /* > + * If we found nothing, maybe START is not supported and returns a > + * generic error code such as EIO or ENXIO, so try again using reads. > + */ > + if (num_found == 0) { > + if (!use_read_xfer) { > + use_read_xfer = 1; > + goto start_over; > + } > + printf(""); > } > printf("\n"); > > -- Andriy Gapon ___ 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"

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
. Also, I own a system right now where scanning the bus results in something like what you mentioned, but a little bit worse, the hanging bus that can be brought back only by a power cycle (not even a warm reset). -- Andriy Gapon ___ svn-src-head@freebsd

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 10/10/2017 19:12, Ian Lepore wrote: > On Tue, 2017-10-10 at 17:45 +0300, Andriy Gapon wrote: >> On 12/09/2017 00:49, Ian Lepore wrote: >>> >>> Author: ian >>> Date: Mon Sep 11 21:49:38 2017 >>> New Revision: 323465 >>> URL: https:

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
On 10/10/2017 19:42, Ian Lepore wrote: > On Tue, 2017-10-10 at 19:20 +0300, Andriy Gapon wrote: >> On 10/10/2017 19:12, Ian Lepore wrote: >>> >>> i2c -s is not a thing that's done routinely in a production system or >>> normal system operations... i

Re: svn commit: r323465 - head/usr.sbin/i2c

2017-10-10 Thread Andriy Gapon
o program a new frequency. The slave even ignored the R/W bit and intermediate start-stop bits. It simply treated the next 8 x N bits as the data. I think that it was this chip or something like it: http://pdf1.alldatasheet.com/datasheet-pdf/view/58355/CYPRESS/W48S111-14.html -- Andriy Gapon ___

svn commit: r324590 - head/usr.sbin/i2c

2017-10-13 Thread Andriy Gapon
Author: avg Date: Fri Oct 13 09:21:41 2017 New Revision: 324590 URL: https://svnweb.freebsd.org/changeset/base/324590 Log: i2c(8): clean up and clarify read operation The code went to a lot of trouble to issue either a start+stop condition or a repeated start condition only to follow it w

svn commit: r324591 - head/sys/kern

2017-10-13 Thread Andriy Gapon
Author: avg Date: Fri Oct 13 09:42:05 2017 New Revision: 324591 URL: https://svnweb.freebsd.org/changeset/base/324591 Log: remove process and jail directory machinations from dounmount The manipulations done by mountcheckdirs() are not that useful during the unmount, they can bring about

svn commit: r324689 - head/sys/dev/iscsi

2017-10-17 Thread Andriy Gapon
Author: avg Date: Tue Oct 17 15:39:38 2017 New Revision: 324689 URL: https://svnweb.freebsd.org/changeset/base/324689 Log: iscsi: do not hold the global lock while tearing down a session It should be sufficient to hold the lock just for removing the session from the session list. Everyth

svn commit: r324694 - head/sys/dev/iscsi

2017-10-17 Thread Andriy Gapon
Author: avg Date: Tue Oct 17 16:03:59 2017 New Revision: 324694 URL: https://svnweb.freebsd.org/changeset/base/324694 Log: never retry oustanding requests when terminating iscsi session CAM_REQ_ABORTED sounds natural for aborting outstanding requests when tearing down a session, but that

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

2017-10-19 Thread Andriy Gapon
Author: avg Date: Thu Oct 19 16:36:07 2017 New Revision: 324757 URL: https://svnweb.freebsd.org/changeset/base/324757 Log: remove spa_sync_on assert from spa_async_thread_vd Unlike spa_async_thread that can get started only from spa_sync() spa_async_thread_vd can get started from other co

svn commit: r324957 - head/sys/dev/iscsi

2017-10-24 Thread Andriy Gapon
Author: avg Date: Tue Oct 24 14:59:31 2017 New Revision: 324957 URL: https://svnweb.freebsd.org/changeset/base/324957 Log: iscsi_shutdown_post: do nothing if panic-ing There is nothing that that routine should or could really do in that context. Reported by: Ben RUBSON MFC after:

Re: svn commit: r324957 - head/sys/dev/iscsi

2017-10-24 Thread Andriy Gapon
On 24/10/2017 17:59, Andriy Gapon wrote: > Author: avg > Date: Tue Oct 24 14:59:31 2017 > New Revision: 324957 > URL: https://svnweb.freebsd.org/changeset/base/324957 > > Log: > iscsi_shutdown_post: do nothing if panic-ing By the way, this change raised a question i

svn commit: r325035 - in head/cddl: contrib/opensolaris/cmd/zdb contrib/opensolaris/cmd/ztest contrib/opensolaris/lib/libcmdutils contrib/opensolaris/lib/libzfs/common contrib/opensolaris/lib/libzp...

2017-10-27 Thread Andriy Gapon
Author: avg Date: Fri Oct 27 12:37:22 2017 New Revision: 325035 URL: https://svnweb.freebsd.org/changeset/base/325035 Log: MFV r325013,r325034: 640 number_to_scaled_string is duplicated in several commands illumos/illumos-gate@0a0551200ecbcd4f1b17560acaeeb7b6c8b0090e https://github.com/

svn commit: r325227 - head/sys/geom

2017-10-31 Thread Andriy Gapon
Author: avg Date: Tue Oct 31 10:10:13 2017 New Revision: 325227 URL: https://svnweb.freebsd.org/changeset/base/325227 Log: geom_slice: do not destroy softc until providers are gone At present, g_slice_orphan and g_slice_spoiled destroy the softc (struct g_slicer) even before calling g_wit

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

2017-10-31 Thread Andriy Gapon
Author: avg Date: Tue Oct 31 10:15:03 2017 New Revision: 325228 URL: https://svnweb.freebsd.org/changeset/base/325228 Log: vdev_geom_close: close errored consumer even if vdev_reopening is set If vdev_geom_close doesn't close the consumer, then the subsequent call to vdev_geom_open() woul

svn commit: r325272 - head/sys/geom

2017-11-01 Thread Andriy Gapon
Author: avg Date: Wed Nov 1 10:53:10 2017 New Revision: 325272 URL: https://svnweb.freebsd.org/changeset/base/325272 Log: geom_slice: fix r325227, protect against multiple calls to g_slice_free This geom does not immediately detach its consumer relying on the wither-washer to do that. S

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

2017-11-02 Thread Andriy Gapon
Author: avg Date: Thu Nov 2 13:49:08 2017 New Revision: 325320 URL: https://svnweb.freebsd.org/changeset/base/325320 Log: Disable posix_fallocate(2) for ZFS The generic (naive) implementation of posix_fallocate cannot provide the standard mandated guarantee that overwrites would never fa

svn commit: r325338 - head/sys/boot/i386/loader

2017-11-02 Thread Andriy Gapon
Author: avg Date: Thu Nov 2 19:45:51 2017 New Revision: 325338 URL: https://svnweb.freebsd.org/changeset/base/325338 Log: loader: fix BOOTSRC -> BOOTOBJ in a library path Modified: head/sys/boot/i386/loader/Makefile Modified: head/sys/boot/i386/loader/Makefile ==

Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate]

2017-11-04 Thread Andriy Gapon
ns/posix_fallocate.html -- Andriy Gapon ___ 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"

Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate]

2017-11-04 Thread Andriy Gapon
On 04/11/2017 13:41, Andriy Gapon wrote: > On 04/11/2017 12:32, Mark Millard wrote: >> if (int Err = ::posix_fallocate(FD, 0, Size)) { >> if (Err != EOPNOTSUPP) >> return std::error_code(Err, std::generic_category()); >> } > > The commit message

Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate]

2017-11-04 Thread Andriy Gapon
On 04/11/2017 13:58, Ed Maste wrote: > I have no idea how they decided EINVAL was a reasonable errno for this case. I completely agree. That's a weird choice that I have not seen for any other API. -- Andriy Gapon ___ svn-src-head@fre

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

2017-11-05 Thread Andriy Gapon
ASSERT, then I most > likely agree with it, since the error catched is not due to the on-disk > metadata corruption. > I guess (only guess) that Conrad is saying that it would be useful to have a macro like KASSERT but which would be always active regardless of INVARIANTS. E.g. in i

svn commit: r325486 - head

2017-11-06 Thread Andriy Gapon
Author: avg Date: Mon Nov 6 15:29:33 2017 New Revision: 325486 URL: https://svnweb.freebsd.org/changeset/base/325486 Log: Add an UPDATING entry for the posix_fallocate/ZFS change, r325320 Modified: head/UPDATING Modified: head/UPDATING ===

svn commit: r325606 - head/sys/cddl/contrib/opensolaris/common/zfs

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:12:21 2017 New Revision: 325606 URL: https://svnweb.freebsd.org/changeset/base/325606 Log: MFV r325605: 8713 Buffer overflow in dsl_dataset_name() illumos/illumos-gate@f37ae9a714b97eca91c74c680c20c750c7cf5c02 https://github.com/illumos/illumos-gate/commit/

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

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:14:42 2017 New Revision: 325608 URL: https://svnweb.freebsd.org/changeset/base/325608 Log: MFV r325607: 8607 zfs: variable set but not used illumos/illumos-gate@b852c2f54326f8ac1daa372a88bfe951dd7e20ed https://github.com/illumos/illumos-gate/commit/b852c2f

svn commit: r325610 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2017-11-09 Thread Andriy Gapon
Author: avg Date: Thu Nov 9 18:22:42 2017 New Revision: 325610 URL: https://svnweb.freebsd.org/changeset/base/325610 Log: MFV r325609: 7531 Assign correct flags to prefetched buffers illumos/illumos-gate@272952165423c254ad7708f1b3fe2ff0a6ce408b https://github.com/illumos/illumos-gate/co

Re: svn commit: r324619 - in head/usr.bin/procstat: . tests

2017-11-12 Thread Andriy Gapon
https://reviews.freebsd.org/D10916 What's the new way of doing procstat -kk -a ? procstat -kk -a now crashes because cmd is NULL when 'k' option is processed. procstat kstack and procstat kstack -v just produce the usage message without telling any specific usage error. pro

Re: svn commit: r324619 - in head/usr.bin/procstat: . tests

2017-11-12 Thread Andriy Gapon
On 13/11/2017 04:00, Brooks Davis wrote: > On Sun, Nov 12, 2017 at 12:15:35PM +0200, Andriy Gapon wrote: >> On 14/10/2017 21:38, Brooks Davis wrote: >>> Author: brooks >>> Date: Sat Oct 14 18:38:36 2017 >>> New Revision: 324619 >>> URL: https://svnweb.

svn commit: r325906 - head/usr.bin/procstat

2017-11-16 Thread Andriy Gapon
Author: avg Date: Thu Nov 16 22:14:49 2017 New Revision: 325906 URL: https://svnweb.freebsd.org/changeset/base/325906 Log: procstat: fix a crash with -k -a options The traditional / legacy usage should still be supported. This fixes a regression in r324619 that introduced a nicer, verb ba

svn commit: r326067 - head/sys/cddl/compat/opensolaris/kern

2017-11-21 Thread Andriy Gapon
Author: avg Date: Tue Nov 21 18:01:43 2017 New Revision: 326067 URL: https://svnweb.freebsd.org/changeset/base/326067 Log: make illumos uiocopy use vn_io_fault_uiomove uiocopy() is currently unused, its purpose is copy data from a uio without modifying the uio. It was in use before the v

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

2017-11-21 Thread Andriy Gapon
Author: avg Date: Tue Nov 21 18:28:14 2017 New Revision: 326070 URL: https://svnweb.freebsd.org/changeset/base/326070 Log: zfs_write: fix problem with writes appearing to succeed when over quota The problem happens when the writes have offsets and sizes aligned with a filesystem's records

svn commit: r326140 - head/share/examples/bhyve

2017-11-23 Thread Andriy Gapon
Author: avg Date: Thu Nov 23 22:10:12 2017 New Revision: 326140 URL: https://svnweb.freebsd.org/changeset/base/326140 Log: vmrun.sh: add -A option for AHCI emulation of disk devices AHCI emulation is useful for testing scenarios closer to the real hardware. For example, it allows to exer

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

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 10:45:33 2017 New Revision: 326150 URL: https://svnweb.freebsd.org/changeset/base/326150 Log: zdb: use a heap allocation instead of a huge array on stack SPA_MAXBLOCKSIZE is 16 MB and having such a large object on the stack is not nice in general and it could

svn commit: r326151 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:10:36 2017 New Revision: 326151 URL: https://svnweb.freebsd.org/changeset/base/326151 Log: vmm/amd: improve iteration over IVHD (type 10h) entries in IVRS table Many 8-byte entries have zero at byte 4, so the second 4-byte part is skipped as a 4-byte paddin

svn commit: r326152 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:20:10 2017 New Revision: 326152 URL: https://svnweb.freebsd.org/changeset/base/326152 Log: amd-vi: fix and extend definition of Command and Event Status Register (0x2020) The defined bits are the lower bits, not the higher ones. Also, the specification

svn commit: r326153 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:25:06 2017 New Revision: 326153 URL: https://svnweb.freebsd.org/changeset/base/326153 Log: amd-vi: fix up r326152, the new width requires a wider type This is my brain-o from extending the width at the last moment. Modified: head/sys/amd64/vmm/amd/amdvi_pr

svn commit: r326155 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:34:46 2017 New Revision: 326155 URL: https://svnweb.freebsd.org/changeset/base/326155 Log: amd-vi: print some additional details for INVALID_DEVICE_REQUEST event Namely, the type of the hardware event and whether the transaction was a translation request.

svn commit: r326156 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:35:43 2017 New Revision: 326156 URL: https://svnweb.freebsd.org/changeset/base/326156 Log: amd-vi: small improvements to event printing Ensure that an opening bracket always has a matching closing one. Ensure that there is always a new-line at the end of a

svn commit: r326157 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:36:35 2017 New Revision: 326157 URL: https://svnweb.freebsd.org/changeset/base/326157 Log: amd-vi: use correct type for pci_rid, start_dev_rid, end_dev_rid sysctls Previously, the values could look confusing because of unrelated bits from adjacent memory.

svn commit: r326158 - head/sys/amd64/vmm/amd

2017-11-24 Thread Andriy Gapon
Author: avg Date: Fri Nov 24 11:37:41 2017 New Revision: 326158 URL: https://svnweb.freebsd.org/changeset/base/326158 Log: amd-vi: a small whitespace cleanup Reviewed by: anish Modified: head/sys/amd64/vmm/amd/ivrs_drv.c Modified: head/sys/amd64/vmm/amd/ivrs_drv.c =

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

2017-11-25 Thread Andriy Gapon
Author: avg Date: Sat Nov 25 09:47:31 2017 New Revision: 326187 URL: https://svnweb.freebsd.org/changeset/base/326187 Log: zdb: follow-up to r326150, check if malloc succeeded Reported by: rpokala MFC after:1 week X-MFC with: r326150 Modified: head/cddl/contrib/opensolaris/cmd

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

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:12:43 2020 New Revision: 358380 URL: https://svnweb.freebsd.org/changeset/base/358380 Log: dsl_dataset_promote_sync: populate 'oldname' before using it It's very unlikely that zfsvfs_update_fromname() and zvol_rename_minors() ever did anything during the pr

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

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:21:01 2020 New Revision: 358381 URL: https://svnweb.freebsd.org/changeset/base/358381 Log: use ZFS_MAX_DATASET_NAME_LEN instead of MAXPATHLEN for dataset names The change affects only FreeBSD specific code as the common code already mostly uses the more idi

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

2020-02-27 Thread Andriy Gapon
Author: avg Date: Thu Feb 27 14:27:42 2020 New Revision: 358382 URL: https://svnweb.freebsd.org/changeset/base/358382 Log: remove stray space symbol in r358380 MFC after:1 week X-MFC with: r358380 Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c Modifi

Re: svn commit: r358733 - head/sys/sys

2020-03-12 Thread Andriy Gapon
mentation of a release store. For people like me who are new to these things here is a good explanation (perhaps a bad title, though): https://preshing.com/20131125/acquire-and-release-fences-dont-work-the-way-youd-expect/ -- Andriy Gapon ___ svn-src-h

svn commit: r219525 - head/sys/amd64/conf

2011-03-11 Thread Andriy Gapon
Author: avg Date: Fri Mar 11 19:21:42 2011 New Revision: 219525 URL: http://svn.freebsd.org/changeset/base/219525 Log: amd64/NOTES: use a greater number in KSTACK_PAGES example This is a minor cosmetic change - the users are more likely to want to increase (rather than decrease) default k

svn commit: r219559 - in head/sys: amd64/linux32 compat/freebsd32 i386/linux kern

2011-03-12 Thread Andriy Gapon
Author: avg Date: Sat Mar 12 08:51:43 2011 New Revision: 219559 URL: http://svn.freebsd.org/changeset/base/219559 Log: add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls This commits makes necessary changes in syscall/sysent generation infrastructure. PR:

svn commit: r219560 - in head/sys: amd64/linux32 compat/freebsd32 i386/linux

2011-03-12 Thread Andriy Gapon
Author: avg Date: Sat Mar 12 08:58:19 2011 New Revision: 219560 URL: http://svn.freebsd.org/changeset/base/219560 Log: add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls Regenerate system call and systrace support files. PR: kern/152822 Submitted by: Ar

svn commit: r219561 - in head/sys: cddl/dev/systrace modules/dtrace modules/dtrace/dtraceall modules/dtrace/systrace_freebsd32 modules/dtrace/systrace_linux32

2011-03-12 Thread Andriy Gapon
Author: avg Date: Sat Mar 12 09:09:25 2011 New Revision: 219561 URL: http://svn.freebsd.org/changeset/base/219561 Log: add DTrace systrace support for linux32 and freebsd32 on amd64 syscalls Add systrace_linux32 and systrace_freebsd32 modules which provide support for tracing compat syste

Re: svn commit: r219561 - in head/sys: cddl/dev/systrace modules/dtrace modules/dtrace/dtraceall modules/dtrace/systrace_freebsd32 modules/dtrace/systrace_linux32

2011-03-12 Thread Andriy Gapon
BTW, in my opinion, it might not make a lot of sense. That is, we can have native and compat FreeBSD system calls, but Linux system calls are always compat and never native, whether the emulation is for the same arch or not. Explicit suffix makes things clearer. But th

svn commit: r220004 - head/libexec/rtld-elf

2011-03-25 Thread Andriy Gapon
Author: avg Date: Fri Mar 25 18:23:10 2011 New Revision: 220004 URL: http://svn.freebsd.org/changeset/base/220004 Log: rtld: eliminate double call to close(2) that may occur in load_object The second close(2) call resulted in heisenbugs in some multi-threaded applications where e.g. dlope

svn commit: r220028 - in head/sys: amd64/linux32 i386/linux

2011-03-26 Thread Andriy Gapon
Author: avg Date: Sat Mar 26 10:51:56 2011 New Revision: 220028 URL: http://svn.freebsd.org/changeset/base/220028 Log: linux compat: add non-dummy capget and capset system calls PR: kern/149168 Submitted by: John Wehle Reviewed by: netchild MFC after:2 weeks Modified:

svn commit: r220030 - in head/sys: amd64/linux32 i386/linux

2011-03-26 Thread Andriy Gapon
Author: avg Date: Sat Mar 26 10:59:24 2011 New Revision: 220030 URL: http://svn.freebsd.org/changeset/base/220030 Log: linux compat: add non-dummy capget and capset system calls, regenerate And drop dummy definitions for those system calls. This may transiently break the build. PR:

svn commit: r220031 - head/sys/compat/linux

2011-03-26 Thread Andriy Gapon
Author: avg Date: Sat Mar 26 11:05:53 2011 New Revision: 220031 URL: http://svn.freebsd.org/changeset/base/220031 Log: linux compat: improve and fix sendmsg/recvmsg compatibility - implement baseic stubs for capget, capset, prctl PR_GET_KEEPCAPS and prctl PR_SET_KEEPCAPS. - add SCM_CR

svn commit: r220032 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-03-26 Thread Andriy Gapon
Author: avg Date: Sat Mar 26 11:25:36 2011 New Revision: 220032 URL: http://svn.freebsd.org/changeset/base/220032 Log: linux compat: add SO_PASSCRED option with basic handling This seems to have been a part of a bigger patch by dchagin that either haven't been committed or committed parti

Re: svn commit: r220032 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-03-26 Thread Andriy Gapon
on 26/03/2011 13:25 Andriy Gapon said the following: > Author: avg > Date: Sat Mar 26 11:25:36 2011 > New Revision: 220032 > URL: http://svn.freebsd.org/changeset/base/220032 > > Log: > linux compat: add SO_PASSCRED option with basic handling > > This seems to h

svn commit: r220186 - in head/sys: amd64/linux32 compat/linux i386/linux

2011-03-31 Thread Andriy Gapon
Author: avg Date: Thu Mar 31 08:14:51 2011 New Revision: 220186 URL: http://svn.freebsd.org/changeset/base/220186 Log: Revert r220032:linux compat: add SO_PASSCRED option with basic handling I have not properly thought through the commit. After r220031 (linux compat: improve and fix send

svn commit r220401- in head: lib/libc/gen sys/kern sys/sys

2011-04-01 Thread Andriy Gapon
Author: avg Date: Fri Apr 1 07:28:21 2011 New Revision: 220401 URL: http://svn.freebsd.org/changeset/base/220401 Log: errno: add a new error code EDAVE This error code should be used when a system, having a superior knowledge of its state and environment, has to deny a user action. Intro

Re: svn commit r220401- in head: lib/libc/gen sys/kern sys/sys

2011-04-01 Thread Andriy Gapon
on 01/04/2011 13:27 Warner Losh said the following: > Great commit. Just one nit. See below... > > > On Apr 1, 2011, at 4:19 AM, Andriy Gapon wrote: >> --- sys/sys/errno.h (revision 220181) >> +++ sys/sys/errno.h (working copy) >> @@ -175,13 +175,17 @@ __END_DEC

svn commit: r220335 - head/sys/sys

2011-04-04 Thread Andriy Gapon
Author: avg Date: Mon Apr 4 17:39:30 2011 New Revision: 220335 URL: http://svn.freebsd.org/changeset/base/220335 Log: errno.h: fix couple of whitespace nits Submitted by: bde (a half of the changes) MFC after:1 week Modified: head/sys/sys/errno.h Modified: head/sys/sys/errno.h ==

Re: svn commit: r220430 - head/sys/amd64/amd64

2011-04-08 Thread Andriy Gapon
rsp),%r9/* user stack pointer */ > + movq %r9,%rsp /* original %rsp */ > + swapgs > + sysretq > +3: /* Requested full context restore, use doreti for that. */ > MEXITCOUNT > jmp doreti > -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

svn commit: r221388 - head/sys/dev/sound/pcm

2011-05-03 Thread Andriy Gapon
Author: avg Date: Tue May 3 15:50:22 2011 New Revision: 221388 URL: http://svn.freebsd.org/changeset/base/221388 Log: SNDCTL_DSP_GETIPTR: set pointer to sndbuf_getfreeptr() Rationale: - unlike current behavior this seems to be compliant with OSS specification: http://manuals.open

svn commit: r221527 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include

2011-05-06 Thread Andriy Gapon
Author: avg Date: Fri May 6 13:51:54 2011 New Revision: 221527 URL: http://svn.freebsd.org/changeset/base/221527 Log: prepare code that does topology detection for amd cpus for bulldozer This also introduces a new detection path for family 10h and newer pre-bulldozer cpus, pre-10h hardwa

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

2011-05-07 Thread Andriy Gapon
Author: avg Date: Sat May 7 10:06:43 2011 New Revision: 221585 URL: http://svn.freebsd.org/changeset/base/221585 Log: scsi_cd: silence READ_TOC errors in CDIOREADTOCHEADER ioctl An optical disk may not have a TOC (e.g. for blank media) and userland software may legitimately try to use CD

svn commit: r221593 - head/sys/boot/common

2011-05-07 Thread Andriy Gapon
Author: avg Date: Sat May 7 10:40:57 2011 New Revision: 221593 URL: http://svn.freebsd.org/changeset/base/221593 Log: a whitespace nit MFC after:4 days Modified: head/sys/boot/common/interp.c Modified: head/sys/boot/common/interp.c ==

svn commit: r221601 - head/sys/boot/common

2011-05-07 Thread Andriy Gapon
Author: avg Date: Sat May 7 13:57:30 2011 New Revision: 221601 URL: http://svn.freebsd.org/changeset/base/221601 Log: a whitespace nit Reminder from:kib MFC after:4 days Modified: head/sys/boot/common/interp.c Modified: head/sys/boot/common/interp.c ==

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