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

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

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

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

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

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: 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

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

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

2017-10-05 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

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

2017-10-05 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 <a...@freebsd.org> wrote: >>> >>> Author: avg >>> Date: Sun Oct 1 20:12:30 2017 >>> New Revision: 324178 >&g

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 <a...@freebsd.org> wrote: >> >> Author: avg >> Date: Sun Oct 1 20:12:30 2017 >> New Revision: 324178 >> URL: https://svnweb.freebsd.org/changeset/base/324178 >>

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-sr

svn commit: r324197 - in head: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/commo...

2017-10-02 Thread Andriy Gapon
Author: avg Date: Mon Oct 2 11:32:08 2017 New Revision: 324197 URL: https://svnweb.freebsd.org/changeset/base/324197 Log: MFV r323913: 8600 ZFS channel programs - snapshot illumos/illumos-gate@2840dce1a029098fb784afd951d5f98089f850d8

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
Author: avg Date: Mon Oct 2 11:23:31 2017 New Revision: 324196 URL: https://svnweb.freebsd.org/changeset/base/324196 Log: MFV r323912: 8592 ZFS channel programs - rollback illumos/illumos-gate@000cce6b6fad4a8b0eecef6e1251f6aca1719c55

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

2017-10-02 Thread Andriy Gapon
Author: avg Date: Mon Oct 2 11:15:32 2017 New Revision: 324195 URL: https://svnweb.freebsd.org/changeset/base/324195 Log: MFV r323795: 8604 Avoid unnecessary work search in VFS when unmounting snapshots illumos/illumos-gate@ed992b0aac4e5b70dc1273b1d055c0d471fbb4b1

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

2017-10-02 Thread Andriy Gapon
Author: avg Date: Mon Oct 2 11:07:48 2017 New Revision: 324194 URL: https://svnweb.freebsd.org/changeset/base/324194 Log: fix incorrect use of getzfsvfs_impl in r324163, ZFS Channel Programs getzfsvfs_impl() returns a referenced, not busied, filesystem, so the matching call is vfs_rel,

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

2017-10-01 Thread Andriy Gapon
On 02/10/2017 00:02, Justin Hibbits wrote: > PowerPC uses unsigned char by default. PowerPC kernel build worked for me. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscr

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

2017-10-01 Thread Andriy Gapon
_, but the build does not fail for me in this place. -- 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: r324163 - in head: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common cddl/c

2017-10-01 Thread Andriy Gapon
On 01/10/2017 20:11, Ian Lepore wrote: > On Sun, 2017-10-01 at 16:11 +0000, Andriy Gapon wrote: >> Author: avg >> Date: Sun Oct  1 16:11:07 2017 >> New Revision: 324163 >> URL: https://svnweb.freebsd.org/changeset/base/324163 >> >> Log: >>   MFV r3235

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

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 20:12:30 2017 New Revision: 324178 URL: https://svnweb.freebsd.org/changeset/base/324178 Log: unbreak kernel builds on sparc64 and powerpc after r324163, ZFS Channel Programs The custom iscntrl() in ZFS Lua code expects a signed argumnet, so remove the

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

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 16:51:05 2017 New Revision: 324170 URL: https://svnweb.freebsd.org/changeset/base/324170 Log: MFV r323794: 8605 zfs channel programs: zfs.exists undocumented and non-working illumos/illumos-gate@5f39f884e2035d671ec02148fc4d8420c670bcb4

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

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 16:41:05 2017 New Revision: 324168 URL: https://svnweb.freebsd.org/changeset/base/324168 Log: MFV r323531: 8521 nvlist memory leak in get_clones_stat() and spa_load_best() illumos/illumos-gate@7d3000f774e20097a1ee45cbd06d0e38065ddd5a

svn commit: r324167 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 16:37:54 2017 New Revision: 324167 URL: https://svnweb.freebsd.org/changeset/base/324167 Log: revert r324166, it has an unrelated change in it Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dsl_dataset.c

svn commit: r324166 - in head/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 16:34:16 2017 New Revision: 324166 URL: https://svnweb.freebsd.org/changeset/base/324166 Log: MFV r323531: 8521 nvlist memory leak in get_clones_stat() and spa_load_best() illumos/illumos-gate@7d3000f774e20097a1ee45cbd06d0e38065ddd5a

svn commit: r324164 - head/sys/conf

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 16:25:14 2017 New Revision: 324164 URL: https://svnweb.freebsd.org/changeset/base/324164 Log: fix up r324163, MFV of r323530,r323533,r323534, 7431 ZFS Channel Programs Add several new files to the files enabled by ZFS kernel option. MFC after:5 weeks

svn commit: r324163 - in head: cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common cddl/co...

2017-10-01 Thread Andriy Gapon
Author: avg Date: Sun Oct 1 16:11:07 2017 New Revision: 324163 URL: https://svnweb.freebsd.org/changeset/base/324163 Log: MFV r323530,r323533,r323534: 7431 ZFS Channel Programs, and followups 7431 ZFS Channel Programs illumos/illumos-gate@dfc115332c94a2f62058ac7f2bce7631fbd20b3d

Re: svn commit: r324109 - in head: sys/contrib/dev/acpica sys/contrib/dev/acpica/common sys/contrib/dev/acpica/compiler sys/contrib/dev/acpica/components/dispatcher sys/contrib/dev/acpica/components/h

2017-09-30 Thread Andriy Gapon
at 0x803b4e1c = bus_set_pass+0x8c/frame > 0x80dea3c0 > configure() at 0x806283a9 = configure+0x9/frame 0x80dea3d0 > mi_startup() at 0x8031f4cc = mi_startup+0x9c/frame 0x80dea3f0 > btext() at 0x80268e8c = btext+0x2c > KDB: enter: panic > [ thread pid 0 tid 10 ] > Stopped at 0x803c4d9b = kdb_enter+0x3b:movq > $0,0x80a3e260 = kdb_why -- 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"

svn commit: r324016 - in head/sys/cddl: compat/opensolaris/sys contrib/opensolaris/uts/common/fs/zfs

2017-09-26 Thread Andriy Gapon
Author: avg Date: Tue Sep 26 15:38:16 2017 New Revision: 324016 URL: https://svnweb.freebsd.org/changeset/base/324016 Log: fix r324011, MFV of r323535, 8585 improve batching done in zil_commit() I managed to commit an older version of the change. Plus, even the latest version was not

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

2017-09-26 Thread Andriy Gapon
t an older version of what I had in the review request, but I also forget that zil.c is compiled in userland mode as well. A fix is coming shortly. Apologies for the breakage. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freeb

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

2017-09-26 Thread Andriy Gapon
Author: avg Date: Tue Sep 26 11:04:08 2017 New Revision: 324011 URL: https://svnweb.freebsd.org/changeset/base/324011 Log: MFV r323535: 8585 improve batching done in zil_commit() FreeBSD notes: - this MFV reverts FreeBSD commit r314549 to make the merge easier - at present our

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

2017-09-22 Thread Andriy Gapon
n zvol_get_data(). Reviewed-by: Chunwei Chen <tux...@gmail.com> Reviewed-by: Brian Behlendorf <behlendo...@llnl.gov> Signed-off-by: loli10K <ezomori.noz...@gmail.com> Reviewed by: Igor Kozhukhov <i...@dilos.org> Reviewed by: Matt Ahrens <mahr..

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

2017-09-22 Thread Andriy Gapon
Author: avg Date: Fri Sep 22 08:21:14 2017 New Revision: 323915 URL: https://svnweb.freebsd.org/changeset/base/323915 Log: MFV r323914: 8661 remove "zil-cw2" dtrace probe illumos/illumos-gate@bd9d3f904625846bdc61af8897a1072029c7aeb7

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

2017-09-20 Thread Andriy Gapon
Author: avg Date: Wed Sep 20 08:36:31 2017 New Revision: 323797 URL: https://svnweb.freebsd.org/changeset/base/323797 Log: add vfs_zfs.abd_chunk_size tunable It is reported that the default value of 4KB results in a substantial memory use overhead (at least, on some configurations).

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

2017-09-20 Thread Andriy Gapon
Author: avg Date: Wed Sep 20 08:27:21 2017 New Revision: 323796 URL: https://svnweb.freebsd.org/changeset/base/323796 Log: fix memory leak in g_bio zone introduced in r320452, another ABD fallout I overlooked the fact that that ZIO_IOCTL_PIPELINE does not include ZIO_STAGE_VDEV_IO_DONE

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

2017-09-20 Thread Andriy Gapon
Author: avg Date: Wed Sep 20 07:26:52 2017 New Revision: 323793 URL: https://svnweb.freebsd.org/changeset/base/323793 Log: MFV r323792: 8602 remove unused "dp_early_sync_tasks" field from "dsl_pool" structure illumos/illumos-gate@2bcb5458541cc6e8bf7dc541303da29297b82e8b

svn commit: r323791 - in head/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2017-09-20 Thread Andriy Gapon
Author: avg Date: Wed Sep 20 07:23:50 2017 New Revision: 323791 URL: https://svnweb.freebsd.org/changeset/base/323791 Log: MFV r323790: 8567 Inconsistent return value in zpool_read_label illumos/illumos-gate@c861bfbd77c4ae780a0341e9cb6926d8b74341cf

svn commit: r323612 - head/sys/geom/mirror

2017-09-15 Thread Andriy Gapon
Author: avg Date: Fri Sep 15 13:57:08 2017 New Revision: 323612 URL: https://svnweb.freebsd.org/changeset/base/323612 Log: gmirror: treat ENXIO as disk disconnect, not media error In theory, all data access errors mean that a member is out of sync at most. But they were treated as more

svn commit: r323578 - in head/sys: cddl/compat/opensolaris/kern kern

2017-09-14 Thread Andriy Gapon
Author: avg Date: Thu Sep 14 08:47:06 2017 New Revision: 323578 URL: https://svnweb.freebsd.org/changeset/base/323578 Log: dounmount: do not release the mount point's reference on the covered vnode As long as mnt_ref is not zero there can be a consumer that might try to access

svn commit: r323540 - head/sys/dev/jedec_ts

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 13:03:29 2017 New Revision: 323540 URL: https://svnweb.freebsd.org/changeset/base/323540 Log: jedec_ts: add many more devices from various vendors The new IDs are taken from the hardware to which I have access and from open datasheets. Also, the hardware

svn commit: r323528 - head/cddl/contrib/opensolaris/lib/libzpool/common

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 10:34:31 2017 New Revision: 323528 URL: https://svnweb.freebsd.org/changeset/base/323528 Log: MFV r323527: 5815 libzpool's panic function doesn't set global panicstr, ::status not as useful illumos/illumos-gate@fae6347731c9d3f46b26338313b0422927f29cf6

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

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 10:23:55 2017 New Revision: 323525 URL: https://svnweb.freebsd.org/changeset/base/323525 Log: MFV r323523: 8331 zfs_unshare returns wrong error code for smb unshare failure illumos/illumos-gate@4f4378cc54b7deec3a35c529dc397dbdc325b4bb

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

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 10:22:09 2017 New Revision: 323524 URL: https://svnweb.freebsd.org/changeset/base/323524 Log: MFV r316932: 6280 libzfs: unshare_one() could fail with EZFS_SHARENFSFAILED illumos/illumos-gate@d1672efb6feac57c42788e27f739dfa3c4f3baf7

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

2017-09-13 Thread Andriy Gapon
Author: avg Date: Wed Sep 13 07:09:58 2017 New Revision: 323522 URL: https://svnweb.freebsd.org/changeset/base/323522 Log: slightly simplify zfs_vptocnp It's not necessary to look up the parent's ID to check if the node is the root node of the filesystem. MFC after:2 weeks

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

2017-09-12 Thread Andriy Gapon
Author: avg Date: Tue Sep 12 13:21:14 2017 New Revision: 323491 URL: https://svnweb.freebsd.org/changeset/base/323491 Log: fix a fallout from the ZTOV tightening, r323479 MFC after:13 days X-MFC with: r323479 Modified:

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

2017-09-12 Thread Andriy Gapon
Author: avg Date: Tue Sep 12 06:06:58 2017 New Revision: 323483 URL: https://svnweb.freebsd.org/changeset/base/323483 Log: zfsctl_snapdir_lookup should be able to handle an uncovered vnode The uncovered vnode is possible because there is no guarantee that its hold count would go to zero

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

2017-09-12 Thread Andriy Gapon
Author: avg Date: Tue Sep 12 06:05:30 2017 New Revision: 323482 URL: https://svnweb.freebsd.org/changeset/base/323482 Log: zfs_ctldir: remove obsolete / bogus ARGSUSED lint directives None of the tagged functions had unused parameters. MFC after:1 week Modified:

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

2017-09-12 Thread Andriy Gapon
Author: avg Date: Tue Sep 12 06:04:50 2017 New Revision: 323481 URL: https://svnweb.freebsd.org/changeset/base/323481 Log: zfsvfs_hold: assert that the busied filesystem can not be unmounted This is a FreeBSD specific feature. MFC after:3 weeks Sponsored by: Panzura Modified:

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

2017-09-12 Thread Andriy Gapon
Author: avg Date: Tue Sep 12 06:04:01 2017 New Revision: 323480 URL: https://svnweb.freebsd.org/changeset/base/323480 Log: zfs_get_vfs: reference a requested filesystem instead of vfs_busy-ing it The only consumer of zfs_get_vfs, zfs_unmount_snap, does not need the filesystem to be busy,

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

2017-09-12 Thread Andriy Gapon
Author: avg Date: Tue Sep 12 06:02:21 2017 New Revision: 323479 URL: https://svnweb.freebsd.org/changeset/base/323479 Log: zfs: tighten debug versions of ZTOV and VTOZ MFC after:2 weeks Sponsored by: Panzura Modified:

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

2017-09-11 Thread Andriy Gapon
rens <mahr...@delphix.com> Approved by: Robert Mustacchi <r...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/abd.c Directory Properties: head/sys/cddl/contrib/opensolaris/ (pr

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

2017-09-11 Thread Andriy Gapon
Author: avg Date: Mon Sep 11 12:08:20 2017 New Revision: 323434 URL: https://svnweb.freebsd.org/changeset/base/323434 Log: Revert r322601, Mark ZFS ABD inline functions static An alternative fix is to be merged from illumos shortly. Modified:

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

2017-09-11 Thread Andriy Gapon
Author: avg Date: Mon Sep 11 11:31:43 2017 New Revision: 323433 URL: https://svnweb.freebsd.org/changeset/base/323433 Log: MFV r323110: 8558 lwp_create() returns EAGAIN on system with more than 80K ZFS filesystems illumos/illumos-gate@216d7723a1a58124cf95c4950d51d5f99d3f4128

svn commit: r323355 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris/uts/common/f...

2017-09-09 Thread Andriy Gapon
Author: avg Date: Sat Sep 9 11:00:07 2017 New Revision: 323355 URL: https://svnweb.freebsd.org/changeset/base/323355 Log: MFV r323107: 8414 Implemented zpool scrub pause/resume illumos/illumos-gate@1702cce751c5cb7ead878d0205a6c90b027e3de8

Re: svn commit: r322872 - head/sys/dev/nvme

2017-08-25 Thread Andriy Gapon
transactions to complete the reset process, but > can't do them, per the PCIe spec, unless bus mastering is enabled. > > Submitted by: Kinjal Patel > PR: 22166 The bug number seems to be incorrect. > Modified: > head/sys/dev/nvme/nvme.c -- Andriy Gapon _

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

2017-08-18 Thread Andriy Gapon
On 17/08/2017 20:07, John Baldwin wrote: > On Thursday, August 17, 2017 10:42:51 AM Andriy Gapon wrote: >> On 17/08/2017 02:40, John Baldwin wrote: >>> Author: jhb >>> Date: Wed Aug 16 23:40:32 2017 >>> New Revision: 322601 >>> URL: https://svnweb.

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

2017-08-17 Thread Andriy Gapon
bd, size_t size) > { > abd_copy_to_buf_off(buf, abd, 0, size); > } > > -inline int > +static inline int > abd_cmp_buf(abd_t *abd, const void *buf, size_t size) > { > return (abd_cmp_buf_off(abd, buf, 0, size)); > } > > -inline void > +st

svn commit: r322247 - head/sys/cddl/contrib/opensolaris

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:28:38 2017 New Revision: 322247 URL: https://svnweb.freebsd.org/changeset/base/322247 Log: MFV r322246: 8508 Mounting a zpool on 32-bit platforms panics FreeBSD note: this is a record-only commit, the actual change originated from FreeBSD.

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

2017-08-08 Thread Andriy Gapon
rakash Surya <prakash.su...@delphix.com> Approved by: Dan McDonald <dan...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zil.c Directory Properties: head/sys/cddl/contrib/opens

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

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:21:58 2017 New Revision: 322241 URL: https://svnweb.freebsd.org/changeset/base/322241 Log: MFV r322240: 8491 uberblock on-disk padding to reserve space for smoothly merging zpool checkpoint & MMP in ZFS

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

2017-08-08 Thread Andriy Gapon
header let alone remove it from the buffer list. Reviewed by: Dan Kimmel <dan.kim...@delphix.com> Reviewed by: Prakash Surya <prakash.su...@delphix.com> Approved by: Matthew Ahrens <mahr...@delphix.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:2

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

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:14:40 2017 New Revision: 322237 URL: https://svnweb.freebsd.org/changeset/base/322237 Log: MFV r322236: 8126 ztest assertion failed in dbuf_dirty due to dn_nlevels changing illumos/illumos-gate@dcb6872c565819ac88acbc2ece999ef241c8b982

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

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 11:07:34 2017 New Revision: 322234 URL: https://svnweb.freebsd.org/changeset/base/322234 Log: zfs: no need for __DECONST after abd constification in r322233 Note that vdev_label_write_pad2() is FreeBSD specific. MFC after:2 weeks X-MFC after:

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

2017-08-08 Thread Andriy Gapon
arguments. Reviewed by: Matt Ahrens <mahr...@delphix.com> Approved by: Robert Mustacchi <r...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/abd.h Directory Propertie

svn commit: r322230 - in head: cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/cddl/contrib/opensolaris...

2017-08-08 Thread Andriy Gapon
r...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:3 weeks Modified: head/cddl/contrib/opensolaris/lib/libzfs/common/libzfs_dataset.c head/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.c head/cddl/contrib/opensolaris/lib/libzfs_core/common/

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

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:48:52 2017 New Revision: 38 URL: https://svnweb.freebsd.org/changeset/base/38 Log: MFV r37: 8377 Panic in bookmark deletion illumos/illumos-gate@42418f9e73f0d007aa87675ecc206c26fc8e073e

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

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:46:51 2017 New Revision: 36 URL: https://svnweb.freebsd.org/changeset/base/36 Log: MFV r33: 8378 crash due to bp in-memory modification of nopwrite block illumos/illumos-gate@b7edcb940884114e61382937505433c4c38c0278

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

2017-08-08 Thread Andriy Gapon
Wilson <george.wil...@delphix.com> Reviewed by: Dan Kimmel <dan.kim...@delphix.com> Approved by: Robert Mustacchi <r...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> MFC after:2 weeks Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ar

svn commit: r322220 - head/sys/cddl/contrib/opensolaris

2017-08-08 Thread Andriy Gapon
include. Reviewed by: Igor Kozhukhov <i...@dilos.org> Reviewed by: Dan Kimmel <dan.kim...@delphix.com> Reviewed by: Alek Pinchuk <pinchuk.a...@gmail.com> Approved by: Robert Mustacchi <r...@joyent.com> Author: Andriy Gapon <a...@freebsd.org> Modified: Directo

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

2017-08-08 Thread Andriy Gapon
Author: avg Date: Tue Aug 8 10:30:49 2017 New Revision: 322218 URL: https://svnweb.freebsd.org/changeset/base/322218 Log: MFV r322217: 8418 zfs_prop_get_table() call in zfs_validate_name() is a no-op illumos/illumos-gate@e09ba01dcda5e24964b8632718777b39166d86e4

svn commit: r321865 - head/tools/tools/zfsboottest

2017-08-01 Thread Andriy Gapon
Author: avg Date: Tue Aug 1 11:09:18 2017 New Revision: 321865 URL: https://svnweb.freebsd.org/changeset/base/321865 Log: zfsboottest: catch up with r316585 and provide ldi_get_size method This method is required for querying file / disk sizes which is needed at least for finding all

Re: svn commit: r321849 - in head/tools/tools: bootparttest zfsboottest

2017-08-01 Thread Andriy Gapon
On 01/08/2017 11:26, Ngie Cooper (yaneurabeya) wrote: > >> On Aug 1, 2017, at 00:13, Andriy Gapon <a...@freebsd.org> wrote: > > … > >> Thank you! >> The next problem you are going to encounter would be missing ldi_get_size(). >> I have some WIP f

Re: svn commit: r321849 - in head/tools/tools: bootparttest zfsboottest

2017-08-01 Thread Andriy Gapon
On 01/08/2017 09:51, Ngie Cooper (yaneurabeya) wrote: > >> On Jul 31, 2017, at 23:39, Andriy Gapon <a...@freebsd.org> wrote: >> >> On 01/08/2017 08:29, Ngie Cooper wrote: >>> Author: ngie >>> Date: Tue Aug 1 05:29:36 2017 >>> New Revision

Re: svn commit: r321849 - in head/tools/tools: bootparttest zfsboottest

2017-08-01 Thread Andriy Gapon
int > pager_output(const char *line) > { > > - fprintf(stderr, "%s", line); > + return (fprintf(stderr, "%s", line)); > } > > #define ZFS_TEST > -- 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"

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

2017-07-25 Thread Andriy Gapon
Author: avg Date: Tue Jul 25 13:17:06 2017 New Revision: 321471 URL: https://svnweb.freebsd.org/changeset/base/321471 Log: spa_import_rootpool should be able to handle an imported root pool That is required to support reboot -r with a new root filesystem being on an already imported

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

2017-07-18 Thread Andriy Gapon
Author: avg Date: Tue Jul 18 07:41:38 2017 New Revision: 32 URL: https://svnweb.freebsd.org/changeset/base/32 Log: fix a regression in r320452, ZFS ABD import I overlooked the fact that vdev_op_io_done hook is called even if the actual I/O is skipped, for example, in the case of

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

2017-07-17 Thread Andriy Gapon
On 12/07/2017 22:52, Peter Wemm wrote: > On Tuesday, July 11, 2017 11:55:47 PM Peter Wemm wrote: >> On Tuesday, July 11, 2017 11:08:15 PM Peter Wemm wrote: >>> On Wednesday, June 28, 2017 01:59:20 PM Andriy Gapon wrote: >>>> A side bonus of this change is tha

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

2017-06-28 Thread Andriy Gapon
Author: avg Date: Wed Jun 28 13:59:20 2017 New Revision: 320452 URL: https://svnweb.freebsd.org/changeset/base/320452 Log: fix an architectural problem introduced in r320156, ZFS ABD import The implementation of ZFS refcount_t uses the emulated illumos mutex (the sx lock) and the waiting

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

2017-06-26 Thread Andriy Gapon
Author: avg Date: Mon Jun 26 09:13:25 2017 New Revision: 320353 URL: https://svnweb.freebsd.org/changeset/base/320353 Log: linux_getdents, linux_readdir: fix mismatch between malloc and free tags MFC after:3 days Modified: head/sys/compat/linux/linux_file.c Modified:

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

2017-06-26 Thread Andriy Gapon
Author: avg Date: Mon Jun 26 09:10:09 2017 New Revision: 320352 URL: https://svnweb.freebsd.org/changeset/base/320352 Log: zfs: port vdev_file part of illumos change 3306 3306 zdb should be able to issue reads in parallel illumos/illumos-gate/31d7e8fa33fae995f558673adb22641b5aa8b6e1

svn commit: r320266 - head/sys/dev/jedec_ts

2017-06-23 Thread Andriy Gapon
Author: avg Date: Fri Jun 23 11:55:43 2017 New Revision: 320266 URL: https://svnweb.freebsd.org/changeset/base/320266 Log: jedec_ts: add support for devices manufactured by IDT Full manufacturer name is Integrated Device Technology, Inc. Supported devices include TSE2002B3C and

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

2017-06-23 Thread Andriy Gapon
Author: avg Date: Fri Jun 23 08:42:53 2017 New Revision: 320262 URL: https://svnweb.freebsd.org/changeset/base/320262 Log: fix gcc-specific fallout from r320156, MFV of r318946, ZFS ABD Reported by: jhibbits MFC after:1 week X-MFC with: r320156 Modified:

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-23 Thread Andriy Gapon
takes a non-const parameter where it should really take a const one. Thank you for the report. I'll handle this. -- Andriy Gapon ___ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send a

svn commit: r320259 - head/sys/dev/jedec_ts

2017-06-23 Thread Andriy Gapon
Author: avg Date: Fri Jun 23 06:25:39 2017 New Revision: 320259 URL: https://svnweb.freebsd.org/changeset/base/320259 Log: jedec_ts: read device id from the correct register Due to my braino / typo the driver was reading the Vendor ID register twice. MFC after:3 days Modified:

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

2017-06-22 Thread Andriy Gapon
then a temporary read buffer should be allocated Reviewed by: George Wilson <george.wil...@delphix.com> Reviewed by: Dan Kimmel <dan.kim...@delphix.com> Reviewed by: Saso Kiselkov <saso.kisel...@nexenta.com> Approved by: Dan McDonald <dan...@joyent.com>

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

2017-06-22 Thread Andriy Gapon
Author: avg Date: Thu Jun 22 16:58:09 2017 New Revision: 320238 URL: https://svnweb.freebsd.org/changeset/base/320238 Log: MFV r319742: 8056 zfs send size estimate is inaccurate for some zvols illumos/illumos-gate@0255edcc85fc0cd1dda0e49bcd52eb66c06a1b16

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

2017-06-22 Thread Andriy Gapon
crossing block boundary, that may also improve efficiency if ZPL is made to do that. Reviewed by: Matthew Ahrens <mahr...@delphix.com> Reviewed by: Prakash Surya <prakash.su...@delphix.com> Reviewed by: Andriy Gapon <a...@freebsd.org> Reviewed by: Steven Hart

Re: svn commit: r317591 - head/sys/dev/drm2/radeon

2017-06-21 Thread Andriy Gapon
On 10/06/2017 18:07, TAKAHASHI Yoshihiro wrote: > In article <03e500d5-76b1-fd38-04c6-90d85a2dd...@freebsd.org> > Andriy Gapon <a...@freebsd.org> writes: > >> On 29/04/2017 12:47, Takahashi Yoshihiro wrote: >>> Author: nyan >>> Date: Sat Apr 29 0

svn commit: r320195 - head/usr.sbin/bhyveload

2017-06-21 Thread Andriy Gapon
Author: avg Date: Wed Jun 21 18:19:27 2017 New Revision: 320195 URL: https://svnweb.freebsd.org/changeset/base/320195 Log: bhyveload: correctly query size of disks On FreeBSD fstat(2) works fine for querying sizes of plain files, but not so much for character devices. So, use

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-21 Thread Andriy Gapon
and test r320186 or later? Thank you for all your help with the testing and debugging. -- 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

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

2017-06-21 Thread Andriy Gapon
Author: avg Date: Wed Jun 21 08:12:07 2017 New Revision: 320186 URL: https://svnweb.freebsd.org/changeset/base/320186 Log: fix several fallouts from r320156, ZFS ABD import All of the problems were related to the FreeBSD-only features. One was caused by a mismerge in the zfsbootcfg

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

2017-06-21 Thread Andriy Gapon
Author: avg Date: Wed Jun 21 08:10:45 2017 New Revision: 320185 URL: https://svnweb.freebsd.org/changeset/base/320185 Log: fix several fallouts from r320156, ZFS ABD import All of the problems were related to the FreeBSD-only features. One was caused by a mismerge in the zfsbootcfg

Re: svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contr

2017-06-20 Thread Andriy Gapon
’ll roll back > the ABD change and see if the problem goes away. Judging from the thread that panic-ed the problem may have to do with our TRIM support. Unfortunately, I didn't have a chance to test the change on a system with working TRIM and, so, I missed it. I will look into this further, but

svn commit: r320156 - in head: cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/ztest cddl/contrib/opensolaris/lib/libzfs/common sys/cddl/contrib/opensolaris/common/zfs sys/cddl/contri...

2017-06-20 Thread Andriy Gapon
Author: avg Date: Tue Jun 20 17:39:24 2017 New Revision: 320156 URL: https://svnweb.freebsd.org/changeset/base/320156 Log: MFV r318946: 8021 ARC buf data scatter-ization illumos/illumos-gate@770499e185d15678ccb0be57ebc626ad18d93383

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

2017-06-20 Thread Andriy Gapon
Author: avg Date: Tue Jun 20 16:55:30 2017 New Revision: 320153 URL: https://svnweb.freebsd.org/changeset/base/320153 Log: revert r315852 which introduced zio_buf_alloc_nowait for use in vdev_queue_aggregate I think that the change is still good, but reconciling it with a planned merge

svn commit: r320152 - head/usr.sbin/fstyp

2017-06-20 Thread Andriy Gapon
Author: avg Date: Tue Jun 20 16:45:48 2017 New Revision: 320152 URL: https://svnweb.freebsd.org/changeset/base/320152 Log: fstyp: move sys/ include path after zfs include paths The reason is that FreeBSD refcount.h shadows ZFS refcount.h and that will lead to a build error after a

svn commit: r320151 - head/contrib/tcp_wrappers

2017-06-20 Thread Andriy Gapon
Author: avg Date: Tue Jun 20 16:40:31 2017 New Revision: 320151 URL: https://svnweb.freebsd.org/changeset/base/320151 Log: remove bogus declaration of malloc from tcp_wrappers The declaration was already inactive when INET6 was enabled and it causes a build error in the other case

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

2017-06-14 Thread Andriy Gapon
Author: avg Date: Wed Jun 14 16:55:47 2017 New Revision: 319953 URL: https://svnweb.freebsd.org/changeset/base/319953 Log: MFV r319951: 8311 ZFS_READONLY is a little too strict illumos/illumos-gate@2889ec41c05e9ffe1890b529b3111354da325aeb

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

2017-06-14 Thread Andriy Gapon
Author: avg Date: Wed Jun 14 16:42:38 2017 New Revision: 319949 URL: https://svnweb.freebsd.org/changeset/base/319949 Log: MFV r319948: 5428 provide fts(), reallocarray(), and strtonum() illumos/illumos-gate@4585130b259133a26efae68275dbe56b08366deb

svn commit: r319947 - in head: cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzfs_core/common sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2017-06-14 Thread Andriy Gapon
/illumos/illumos-gate/commit/a4b8c9aa65a0a735aba318024a424a90d7b06c37 https://www.illumos.org/issues/8264 Oddly there is a lzc_clone function, but no lzc_promote function. Reviewed by: Andriy Gapon <a...@freebsd.org> Reviewed by: Matthew Ahrens <mahr...@delphix.com> Revi

svn commit: r319802 - head/usr.bin/fstat

2017-06-10 Thread Andriy Gapon
Author: avg Date: Sat Jun 10 20:38:52 2017 New Revision: 319802 URL: https://svnweb.freebsd.org/changeset/base/319802 Log: fstat: catch up with r318997 and use 64 bits to store fsid Discussed with: kib Modified: head/usr.bin/fstat/fstat.c Modified: head/usr.bin/fstat/fstat.c

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