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

2016-09-20 Thread Edward Tomasz Napierala
On 0920T1653, Bruce Evans wrote: > On Tue, 20 Sep 2016, Edward Tomasz Napierala wrote: > > > Log: > > Fix -media to not mount ufs with "async"; it doesn't make sense when > > there is softupdates. > > It does make sense when there isn't soft updat

svn commit: r306012 - head/etc/autofs

2016-09-19 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 20 04:54:00 2016 New Revision: 306012 URL: https://svnweb.freebsd.org/changeset/base/306012 Log: Fix -media to not mount ufs with "async"; it doesn't make sense when there is softupdates. Suggested by: imp@ MFC after:1 month Modified:

svn commit: r306011 - in head/etc: . autofs

2016-09-19 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 20 04:52:01 2016 New Revision: 306011 URL: https://svnweb.freebsd.org/changeset/base/306011 Log: Stop appending "noatime" in the autofs -media map, and instead add it to auto_master, since all filesystems seem to support it. It's cleaner this way, and easier to

svn commit: r306009 - head/etc/autofs

2016-09-19 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Sep 20 04:33:58 2016 New Revision: 306009 URL: https://svnweb.freebsd.org/changeset/base/306009 Log: Make autofs(5) -media map also use "async" and "noatime" for ext2fs(5). Suggested by: pfg@ MFC after:1 month Modified: head/etc/autofs/special_media

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

2016-09-19 Thread Edward Tomasz Napierala
ange is made? I'm curious > because this could cause severe damage to the filesystem on unclean eject > of the media. > > Regards, > Ronald. > > > On Mon, 19 Sep 2016 10:51:27 +0200, Edward Tomasz Napierala > <tr...@freebsd.org> wrote: > > > Au

svn commit: r305988 - in head/sys: geom sys

2016-09-19 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 19 17:46:15 2016 New Revision: 305988 URL: https://svnweb.freebsd.org/changeset/base/305988 Log: Remove unused bio_taskqueue(). MFC after:1 month Modified: head/sys/geom/geom_io.c head/sys/sys/bio.h Modified: head/sys/geom/geom_io.c

svn commit: r305969 - head/etc/autofs

2016-09-19 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 19 08:55:36 2016 New Revision: 305969 URL: https://svnweb.freebsd.org/changeset/base/305969 Log: Make autofs use the "noatime" flag for msdosfs, ntfs, and ufs filesystems mounted on /media. MFC after:1 month Modified: head/etc/autofs/special_media

svn commit: r305968 - head/etc/autofs

2016-09-19 Thread Edward Tomasz Napierala
Author: trasz Date: Mon Sep 19 08:51:27 2016 New Revision: 305968 URL: https://svnweb.freebsd.org/changeset/base/305968 Log: Make autofs use the "async" flag for msdosfs and ufs filesystems mounted on /media. MFC after:1 month Modified: head/etc/autofs/special_media Modified:

svn commit: r305834 - head/sys/fs/nullfs

2016-09-15 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Sep 15 13:57:37 2016 New Revision: 305834 URL: https://svnweb.freebsd.org/changeset/base/305834 Log: Change the getnewvnode(9) tag for nullfs from "null" to "nullfs". It's more consistent, and besides, the "null" alone looks weird. MFC after:1 month Modified:

svn commit: r305805 - head/usr.sbin/autofs

2016-09-14 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Sep 14 11:20:58 2016 New Revision: 305805 URL: https://svnweb.freebsd.org/changeset/base/305805 Log: Use proper argument order for calloc(3). MFC after:1 month Modified: head/usr.sbin/autofs/automountd.c head/usr.sbin/autofs/autounmountd.c

svn commit: r304570 - head/usr.sbin/cron/cron

2016-08-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Aug 21 18:12:49 2016 New Revision: 304570 URL: https://svnweb.freebsd.org/changeset/base/304570 Log: Add the "-n" flag to cron(8), to prevent it from daemonizing. This makes it possible to use it with external supervisors. The "-n" flag name is compatible with Linux,

svn commit: r304024 - head/sys/kern

2016-08-12 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 12 22:22:11 2016 New Revision: 304024 URL: https://svnweb.freebsd.org/changeset/base/304024 Log: Remove unused "X" vnode lock assertion, somehow missed in r303743. MFC after:1 month Modified: head/sys/kern/vnode_if.src Modified:

svn commit: r304023 - head/sys/kern

2016-08-12 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 12 22:20:52 2016 New Revision: 304023 URL: https://svnweb.freebsd.org/changeset/base/304023 Log: Print vnode details when vnode locking assertion gets triggered. MFC after:1 month Modified: head/sys/kern/vfs_subr.c Modified: head/sys/kern/vfs_subr.c

svn commit: r303961 - head/sys/fs/autofs

2016-08-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 11 14:27:23 2016 New Revision: 303961 URL: https://svnweb.freebsd.org/changeset/base/303961 Log: Implement autofs_print(), for improved debugging experience. MFC after:1 month Modified: head/sys/fs/autofs/autofs_vnops.c Modified:

svn commit: r303950 - head/sys/sys

2016-08-11 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 11 07:11:15 2016 New Revision: 303950 URL: https://svnweb.freebsd.org/changeset/base/303950 Log: Remove unused textvp_fullpath() macro. MFC after:1 month Modified: head/sys/sys/vnode.h Modified: head/sys/sys/vnode.h

svn commit: r303924 - in head/sys: fs/smbfs fs/unionfs kern sys ufs/ffs ufs/ufs vm

2016-08-10 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Aug 10 16:12:31 2016 New Revision: 303924 URL: https://svnweb.freebsd.org/changeset/base/303924 Log: Replace all remaining calls to vprint(9) with vn_printf(9), and remove the old macro. MFC after:1 month Modified: head/sys/fs/smbfs/smbfs_node.c

svn commit: r303879 - in head/sys/arm: broadcom/bcm2835 xscale/pxa

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 16:02:35 2016 New Revision: 303879 URL: https://svnweb.freebsd.org/changeset/base/303879 Log: Remove some NULL checks after M_WAITOK allocations from sys/arm/. MFC after:1 month Modified: head/sys/arm/broadcom/bcm2835/bcm2835_vcio.c

svn commit: r303874 - head/sys/dev/mpt

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:52:17 2016 New Revision: 303874 URL: https://svnweb.freebsd.org/changeset/base/303874 Log: Remove NULL check after M_WAITOK allocation from mpt(4). MFC after:1 month Modified: head/sys/dev/mpt/mpt_pci.c Modified: head/sys/dev/mpt/mpt_pci.c

svn commit: r303876 - head/sys/dev/nand

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:56:33 2016 New Revision: 303876 URL: https://svnweb.freebsd.org/changeset/base/303876 Log: Remove NULL checks after M_WAITOK allocations from nand(4). MFC after:1 month Modified: head/sys/dev/nand/nand_generic.c head/sys/dev/nand/nandsim_chip.c

svn commit: r303875 - head/sys/dev/ofw

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:55:14 2016 New Revision: 303875 URL: https://svnweb.freebsd.org/changeset/base/303875 Log: Remove NULL checks after M_WAITOK allocations from sys/dev/ofw/. MFC after:1 month Modified: head/sys/dev/ofw/openfirmio.c head/sys/dev/ofw/openpromio.c

svn commit: r303873 - head/sys/dev/msk

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:51:11 2016 New Revision: 303873 URL: https://svnweb.freebsd.org/changeset/base/303873 Log: Remove NULL checks after M_WAITOK allocations from msk(4). MFC after:1 month Modified: head/sys/dev/msk/if_msk.c Modified: head/sys/dev/msk/if_msk.c

svn commit: r303872 - head/sys/dev/tws

2016-08-09 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Aug 9 15:50:03 2016 New Revision: 303872 URL: https://svnweb.freebsd.org/changeset/base/303872 Log: Remove NULL checks after M_WAITOK allocations from tws(4). MFC after:1 month Modified: head/sys/dev/tws/tws.c Modified: head/sys/dev/tws/tws.c

svn commit: r303767 - in head: share/man/man9 sys/sys

2016-08-05 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Aug 5 13:53:28 2016 New Revision: 303767 URL: https://svnweb.freebsd.org/changeset/base/303767 Log: Remove lockmgr_waiters(9) and BUF_LOCKWAITERS(9); they were not used for anything. Reviewed by: kib@ MFC after:1 month Differential Revision:

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

2016-08-04 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Aug 4 13:45:18 2016 New Revision: 303743 URL: https://svnweb.freebsd.org/changeset/base/303743 Log: Remove unused - never actually implemented - vnode lock types from vnode_if.src. MFC after:1 month Modified: head/sys/kern/vfs_subr.c

svn commit: r303478 - head/sys/fs/autofs

2016-07-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 29 12:15:55 2016 New Revision: 303478 URL: https://svnweb.freebsd.org/changeset/base/303478 Log: Remove write-only variable. MFC after:1 month Modified: head/sys/fs/autofs/autofs_vnops.c Modified: head/sys/fs/autofs/autofs_vnops.c

svn commit: r303476 - head/sys/dev/usb/template

2016-07-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 29 11:33:01 2016 New Revision: 303476 URL: https://svnweb.freebsd.org/changeset/base/303476 Log: Fix MTP description in the comment. MFC after:1 month Modified: head/sys/dev/usb/template/usb_template_mtp.c Modified:

svn commit: r303477 - head/sys/dev/usb

2016-07-29 Thread Edward Tomasz Napierala
Author: trasz Date: Fri Jul 29 11:33:23 2016 New Revision: 303477 URL: https://svnweb.freebsd.org/changeset/base/303477 Log: Improve error message. MFC after:1 month Modified: head/sys/dev/usb/usb_device.c Modified: head/sys/dev/usb/usb_device.c

svn commit: r303132 - head/usr.sbin/ctld

2016-07-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 21 08:22:25 2016 New Revision: 303132 URL: https://svnweb.freebsd.org/changeset/base/303132 Log: Add documentation for "ctld -u", the UCL configuration file format. Submitted by: jceel@ Reviewed by: wblock@ MFC after:3 days Differential Revision:

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

2016-07-12 Thread Edward Tomasz Napierala
Author: trasz Date: Tue Jul 12 06:00:57 2016 New Revision: 302624 URL: https://svnweb.freebsd.org/changeset/base/302624 Log: Add some .Xrs to getloginclass(2). MFC after:1 month Modified: head/lib/libc/sys/getloginclass.2 Modified: head/lib/libc/sys/getloginclass.2

svn commit: r302503 - head/usr.sbin/ctld

2016-07-09 Thread Edward Tomasz Napierala
Author: trasz Date: Sat Jul 9 20:01:07 2016 New Revision: 302503 URL: https://svnweb.freebsd.org/changeset/base/302503 Log: Fix ctld(8) to not exit when reloading configuration with invalid initiator-portal clause. MFC after:3 days Modified: head/usr.sbin/ctld/ctld.c Modified:

svn commit: r302388 - in head: sbin/umount sys/kern sys/sys usr.sbin/autofs

2016-07-07 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jul 7 09:03:57 2016 New Revision: 302388 URL: https://svnweb.freebsd.org/changeset/base/302388 Log: Add new unmount(2) flag, MNT_NONBUSY, to check whether there are any open vnodes before proceeding. Make autounmound(8) use this flag. Without it, even an

svn commit: r301761 - head/lib/msun/src

2016-06-09 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 9 20:49:26 2016 New Revision: 301761 URL: https://svnweb.freebsd.org/changeset/base/301761 Log: Fix frexpl() declaration to not include the field name. MFC after:1 month Modified: head/lib/msun/src/math.h Modified: head/lib/msun/src/math.h

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

2016-06-09 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 9 13:04:57 2016 New Revision: 301726 URL: https://svnweb.freebsd.org/changeset/base/301726 Log: Consistently use 'unsigned int' for session IDs. MFC after:1 month Modified: head/sys/dev/iscsi/iscsi_ioctl.h Modified: head/sys/dev/iscsi/iscsi_ioctl.h

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

2016-06-09 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 9 11:39:50 2016 New Revision: 301723 URL: https://svnweb.freebsd.org/changeset/base/301723 Log: Add some spares to structs used by iscsi(4), to avoid ABI problems during 11-STABLE. MFC after:1 month Modified: head/sys/dev/iscsi/iscsi_ioctl.h Modified:

svn commit: r301721 - head/usr.sbin/iscsid

2016-06-09 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 9 07:49:20 2016 New Revision: 301721 URL: https://svnweb.freebsd.org/changeset/base/301721 Log: Decouple MaxBurstLength and FirstBurstLength from MaxRecvDataSegmentLength reported by the ICL module in iscsid(8). This harmed performance and was just wrong.

svn commit: r301720 - head/usr.sbin/ctld

2016-06-09 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 9 07:19:02 2016 New Revision: 301720 URL: https://svnweb.freebsd.org/changeset/base/301720 Log: Don't cap FirstBurstLength to maximum MaxRecvDataSegmentLength claimed by the offload driver; there is no reason to do so, and it actually harms performance. MFC

svn commit: r301719 - in head/share/man: man4 man5 man9

2016-06-09 Thread Edward Tomasz Napierala
Author: trasz Date: Thu Jun 9 06:55:00 2016 New Revision: 301719 URL: https://svnweb.freebsd.org/changeset/base/301719 Log: Fix a bunch of "xref refers to *this* page" igor(1) warnings. MFC after:1 month Modified: head/share/man/man4/bcma.4 head/share/man/man4/dcons.4

svn commit: r301598 - in head/share/man: man4 man9

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 10:38:00 2016 New Revision: 301598 URL: https://svnweb.freebsd.org/changeset/base/301598 Log: Fix typos. MFC after:1 month Modified: head/share/man/man4/iicbus.4 head/share/man/man4/pf.4 head/share/man/man4/psm.4

svn commit: r301597 - in head/share/man: man4 man5 man9

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 10:26:17 2016 New Revision: 301597 URL: https://svnweb.freebsd.org/changeset/base/301597 Log: Fix some trailing whitespaces. MFC after:1 month Modified: head/share/man/man4/bpf.4 head/share/man/man4/cmx.4 head/share/man/man4/inet.4

svn commit: r301591 - in head/share/man: man3 man4/man4.arm man5 man8

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 09:36:07 2016 New Revision: 301591 URL: https://svnweb.freebsd.org/changeset/base/301591 Log: Last few instances of "sentence not on new line". MFC after:1 month Modified: head/share/man/man3/tree.3 head/share/man/man4/man4.arm/cgem.4

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

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 09:19:47 2016 New Revision: 301590 URL: https://svnweb.freebsd.org/changeset/base/301590 Log: Fix a bunch of "sentence not on new line" warnings in section 9. MFC after:1 month Modified: head/share/man/man9/bpf.9 head/share/man/man9/firmware.9

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

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 08:50:35 2016 New Revision: 301589 URL: https://svnweb.freebsd.org/changeset/base/301589 Log: Fix a bunch of "sentence not on new line" warnings from igor(1). MFC after:1 month Modified: head/share/man/man4/ahci.4 head/share/man/man4/apic.4

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

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 07:39:55 2016 New Revision: 301587 URL: https://svnweb.freebsd.org/changeset/base/301587 Log: Improve documentation for usfs(4) and usb_template(4). Reviewed by: hselasky (earlier version) MFC after:1 month Differential Revision:

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

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 07:36:00 2016 New Revision: 301586 URL: https://svnweb.freebsd.org/changeset/base/301586 Log: Pacify igor(8) and make it easier to find via "man -k iser". MFC after:1 month Modified: head/share/man/man4/iser.4 Modified: head/share/man/man4/iser.4

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

2016-06-08 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 8 07:33:17 2016 New Revision: 301585 URL: https://svnweb.freebsd.org/changeset/base/301585 Log: Add iser(4) manual page. Obtained from:Mellanox Technologies MFC after:1 month Added: head/share/man/man4/iser.4 (contents, props changed)

svn commit: r301438 - head/usr.sbin/ctladm

2016-06-05 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Jun 5 08:51:56 2016 New Revision: 301438 URL: https://svnweb.freebsd.org/changeset/base/301438 Log: Remove duplicated semicolons. MFC after:1 month Modified: head/usr.sbin/ctladm/ctladm.c Modified: head/usr.sbin/ctladm/ctladm.c

svn commit: r301437 - in head: sys/cam/ctl sys/dev/iscsi usr.bin/iscsictl usr.sbin/ctladm usr.sbin/ctld

2016-06-05 Thread Edward Tomasz Napierala
Author: trasz Date: Sun Jun 5 08:48:37 2016 New Revision: 301437 URL: https://svnweb.freebsd.org/changeset/base/301437 Log: Report negotiated MaxBurstLength and FirstBurstLength in "iscsictl -v" and "ctladm islist -v" outputs. MFC after:1 month Modified:

svn commit: r301119 - head/sys/dev/cxgbe/cxgbei

2016-06-01 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 1 12:04:04 2016 New Revision: 301119 URL: https://svnweb.freebsd.org/changeset/base/301119 Log: Reduce the priority of cxgbei(4) driver, so it doesn't get chosen by default. This is a workaround for a too simplistic ICL module choosing mechanism. To use it,

svn commit: r301118 - head/usr.sbin/ctld

2016-06-01 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Jun 1 11:45:06 2016 New Revision: 301118 URL: https://svnweb.freebsd.org/changeset/base/301118 Log: Describe default value for "offload". MFC after:1 month Modified: head/usr.sbin/ctld/ctl.conf.5 Modified: head/usr.sbin/ctld/ctl.conf.5

svn commit: r301040 - head/sys/kern

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 15:27:33 2016 New Revision: 301040 URL: https://svnweb.freebsd.org/changeset/base/301040 Log: Cosmetics - add missing space after ellipses in shutdown messages. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r301033 - in head: sys/dev/iscsi usr.bin/iscsictl

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 11:32:07 2016 New Revision: 301033 URL: https://svnweb.freebsd.org/changeset/base/301033 Log: Add "iscsictl -e". Among other things, it makes it possible to perform discovery without attaching to the targets ("iscsictl -Ad ... -e off"), and then attach to

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

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 08:31:34 2016 New Revision: 301028 URL: https://svnweb.freebsd.org/changeset/base/301028 Log: Cosmetics: add missing space after the ':' in etc/rc.d/random. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/etc/rc.d/random

svn commit: r301025 - head/usr.bin/iscsictl

2016-05-31 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 31 07:49:59 2016 New Revision: 301025 URL: https://svnweb.freebsd.org/changeset/base/301025 Log: Make iscsictl(8) error messages more consistent. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.c

svn commit: r300839 - head/sys/modules

2016-05-27 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 27 11:39:08 2016 New Revision: 300839 URL: https://svnweb.freebsd.org/changeset/base/300839 Log: Attach iser(4) to the build. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r300838 - head/sys/modules/iscsi

2016-05-27 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 27 11:37:56 2016 New Revision: 300838 URL: https://svnweb.freebsd.org/changeset/base/300838 Log: Build iscsi(4) with ICL_KERNEL_PROXY when building with WITH_OFED. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r300837 - head/sys/dev/iser

2016-05-27 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 27 11:37:02 2016 New Revision: 300837 URL: https://svnweb.freebsd.org/changeset/base/300837 Log: Fix build on i386. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iser/iser_verbs.c Modified: head/sys/dev/iser/iser_verbs.c

svn commit: r300746 - head/usr.bin/iscsictl

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 14:21:02 2016 New Revision: 300746 URL: https://svnweb.freebsd.org/changeset/base/300746 Log: Do libxo cleanup even in case of errors. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.c Modified:

svn commit: r300745 - head/usr.bin/iscsictl

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 14:19:24 2016 New Revision: 300745 URL: https://svnweb.freebsd.org/changeset/base/300745 Log: Make iscsictl(8) actually report non-zero status on errors. The "failed" is negative, because the error returned from calls to ioctl(2) is negative. MFC after:

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

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 12:43:15 2016 New Revision: 300737 URL: https://svnweb.freebsd.org/changeset/base/300737 Log: Add a special case for iSER data tranfers. Obtained from:Mellanox Technologies MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r300734 - head/sys/dev/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 11:40:07 2016 New Revision: 300734 URL: https://svnweb.freebsd.org/changeset/base/300734 Log: Fix crash on removal of an unconnected iSER session. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iser/icl_iser.c

svn commit: r300727 - head/sys/dev/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 10:30:03 2016 New Revision: 300727 URL: https://svnweb.freebsd.org/changeset/base/300727 Log: Make iser(4) buildable again by adjusting it for the recent changes in ICL interface. - the ordering of parameters to icl_conn_task_setup is different, so that

svn commit: r300724 - head/sys/dev/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 09:53:24 2016 New Revision: 300724 URL: https://svnweb.freebsd.org/changeset/base/300724 Log: The taskqueue_enqueue_fast() was removed in r296272. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iser/iser_verbs.c

svn commit: r300723 - in head/sys: dev/iser modules/iser

2016-05-26 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 26 09:49:29 2016 New Revision: 300723 URL: https://svnweb.freebsd.org/changeset/base/300723 Log: Bring in the Mellanox implementation of iSER (iSCSI over RDMA) initiator, written by Sagi Grimberg and Max Gurtovoy . This code comes from

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

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 14:34:36 2016 New Revision: 300615 URL: https://svnweb.freebsd.org/changeset/base/300615 Log: Add kern.icl.iser_offloads sysctl. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c Modified:

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

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 08:54:41 2016 New Revision: 300593 URL: https://svnweb.freebsd.org/changeset/base/300593 Log: Rename kern.icl.drivers to kern.icl.offloads, for consistency. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.c

svn commit: r300592 - in head/sys: cam/ctl dev/cxgbe/cxgbei dev/iscsi

2016-05-24 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 24 08:44:45 2016 New Revision: 300592 URL: https://svnweb.freebsd.org/changeset/base/300592 Log: Add mechanism for choosing iSER-capable ICL modules. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/cam/ctl/ctl_frontend_iscsi.c

svn commit: r300504 - head/usr.sbin/iscsid

2016-05-23 Thread Edward Tomasz Napierala
Author: trasz Date: Mon May 23 12:58:24 2016 New Revision: 300504 URL: https://svnweb.freebsd.org/changeset/base/300504 Log: Build iscsid(8) with ICL_KERNEL_PROXY defined by default, as required for iSER. Obtained from:Mellanox Technologies MFC after:1 month Sponsored by:

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

2016-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sat May 21 11:26:03 2016 New Revision: 300370 URL: https://svnweb.freebsd.org/changeset/base/300370 Log: Properly reset session state when using proxy and fail_on_disconnection=1. Without it the reconnection would fail due to mismatched sequence numbers. MFC after:

svn commit: r300369 - in head/sys/dev: cxgbe/cxgbei iscsi

2016-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sat May 21 11:10:48 2016 New Revision: 300369 URL: https://svnweb.freebsd.org/changeset/base/300369 Log: Provide a way for ICL modules to declare they support PIM_UNMAPPED. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

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

2016-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Sat May 21 10:59:36 2016 New Revision: 300368 URL: https://svnweb.freebsd.org/changeset/base/300368 Log: Pass maxtags value to the ICL module. iSER needs it. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.h

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

2016-05-20 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 20 17:38:51 2016 New Revision: 300315 URL: https://svnweb.freebsd.org/changeset/base/300315 Log: Call the ICL module's handoff method even when using ICL proxy. The upcoming iSER code uses this. MFC after:1 month Sponsored by: The FreeBSD Foundation

svn commit: r300212 - head/usr.sbin/iscsid

2016-05-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 19 14:59:21 2016 New Revision: 300212 URL: https://svnweb.freebsd.org/changeset/base/300212 Log: When iscsid(8) is running in ICL proxy mode, don't try to send Logout PDUs. The kernel already does this for us when we ask it to terminate the session. MFC after:

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

2016-05-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 19 14:57:37 2016 New Revision: 300211 URL: https://svnweb.freebsd.org/changeset/base/300211 Log: Make ICL proxy use kernel code for handling iSCSI sequence numbers for PDUs to/from iscsid(8). This fixes StatSN for Logout PDUs sent by iscsi_session_logout().

svn commit: r300210 - head/usr.sbin/ctld

2016-05-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 19 14:45:34 2016 New Revision: 300210 URL: https://svnweb.freebsd.org/changeset/base/300210 Log: Fix error message. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/discovery.c Modified: head/usr.sbin/ctld/discovery.c

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

2016-05-19 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 19 14:37:24 2016 New Revision: 300209 URL: https://svnweb.freebsd.org/changeset/base/300209 Log: Make it possible to interrupt proxy-mode iscsid receive. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/iscsi.c

svn commit: r300061 - in head/sys: conf dev/iscsi modules/iscsi

2016-05-17 Thread Edward Tomasz Napierala
e is newly added) +++ head/sys/dev/iscsi/icl_soft_proxy.c Tue May 17 15:21:17 2016 (r300061, copy of r300060, head/sys/dev/iscsi/icl_proxy.c) @@ -0,0 +1,375 @@ +/*- + * Copyright (c) 2012 The FreeBSD Foundation + * All rights reserved. + * + * This software was developed by Edward Tomasz Napie

svn commit: r300047 - head/sys/fs/autofs

2016-05-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 17 12:04:39 2016 New Revision: 300047 URL: https://svnweb.freebsd.org/changeset/base/300047 Log: Silence down the "insmntque() failed" autofs error; it happens on shutdown and is perfectly normal. MFC after:1 month Sponsored by: The FreeBSD Foundation

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

2016-05-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 17 11:59:38 2016 New Revision: 300046 URL: https://svnweb.freebsd.org/changeset/base/300046 Log: Make iscsi_ioctl_daemon_send() actually work by adding missing locking. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified:

svn commit: r300044 - in head/sys: cam/ctl dev/iscsi

2016-05-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 17 11:10:44 2016 New Revision: 300044 URL: https://svnweb.freebsd.org/changeset/base/300044 Log: Add icl_conn_connect() ICL method, required for iSER. Obtained from:Mellanox Technologies (earlier version) MFC after:1 month Sponsored by: The

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

2016-05-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 17 07:56:45 2016 New Revision: 300025 URL: https://svnweb.freebsd.org/changeset/base/300025 Log: Make ICL_KERNEL_PROXY compilable. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/iscsi/icl.h head/sys/dev/iscsi/icl_proxy.c

svn commit: r300022 - head/usr.sbin/iscsid

2016-05-17 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 17 07:54:53 2016 New Revision: 300022 URL: https://svnweb.freebsd.org/changeset/base/300022 Log: Add initial support for negotiating iSER parameters to iscsid(8). Some rework might be needed to support asymetrical limits, but this should be ok for now.

svn commit: r299849 - head/sys/dev/isp

2016-05-15 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 15 08:36:12 2016 New Revision: 299849 URL: https://svnweb.freebsd.org/changeset/base/299849 Log: Remove NULL checks after M_WAITOK allocations from isp(4). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/isp/isp_pci.c

svn commit: r299848 - head/sys/fs/nfsclient

2016-05-15 Thread Edward Tomasz Napierala
Author: trasz Date: Sun May 15 08:34:59 2016 New Revision: 299848 URL: https://svnweb.freebsd.org/changeset/base/299848 Log: Make it possible to reroot into NFS. This means one can have eg an NFSv4 root over WiFi: boot from md_root (small rootfs image preloaded by loader(8)), setup WiFi,

svn commit: r299523 - head/sys/kern

2016-05-12 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 12 07:38:10 2016 New Revision: 299523 URL: https://svnweb.freebsd.org/changeset/base/299523 Log: Stop hiding errors that result in failure to mount /dev. Otherwise, missing /dev directory makes one end up with a completely deaf (init without stdout/stderr)

svn commit: r299419 - head/sbin/init

2016-05-11 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 11 10:03:13 2016 New Revision: 299419 URL: https://svnweb.freebsd.org/changeset/base/299419 Log: When rerooting, take the init(8) path from argv[0] instead of fetching it via kern.proc.pathname sysctl(2). In some cases - booting from NFS or rerooting after

svn commit: r299418 - in head/sys/mips: adm5120 alchemy atheros idt rt305x

2016-05-11 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 11 09:42:24 2016 New Revision: 299418 URL: https://svnweb.freebsd.org/changeset/base/299418 Log: Remove NULL checks after M_WAITOK allocations from sys/mips/. Reviewed by: adrian@ MFC after:1 month Sponsored by: The FreeBSD Foundation Differential

svn commit: r299417 - head/sbin/init

2016-05-11 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 11 09:30:18 2016 New Revision: 299417 URL: https://svnweb.freebsd.org/changeset/base/299417 Log: When rerooting, ignore ESRCH returned from kill(2). I couldn't reproduce this by myself, but apparently it sometimes happens when rerooting from single user mode.

svn commit: r299416 - head/sbin/growfs

2016-05-11 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 11 09:26:23 2016 New Revision: 299416 URL: https://svnweb.freebsd.org/changeset/base/299416 Log: Cosmetic fixes for growfs(8) - remove unneeded capitalization and a spurious newline, clarify a message. MFC after:1 month Sponsored by: The FreeBSD

svn commit: r299414 - head/sys/dev/sdhci

2016-05-11 Thread Edward Tomasz Napierala
Author: trasz Date: Wed May 11 07:50:35 2016 New Revision: 299414 URL: https://svnweb.freebsd.org/changeset/base/299414 Log: Make sdhci(4) work after suspend/resume for chipsets that require the frequency quirk. This makes it work on eg ThinkPad T420. Without it, after resume one can see

Re: svn commit: r299371 - in head: sbin/camcontrol sys/cam sys/cam/scsi

2016-05-11 Thread Edward Tomasz Napierala
On 0510T1546, Edward Tomasz Napierala wrote: > Author: trasz > Date: Tue May 10 15:46:33 2016 > New Revision: 299371 > URL: https://svnweb.freebsd.org/changeset/base/299371 > > Log: > Add "camcontrol reprobe" subcommand, and implement it for da(4). > This m

svn commit: r299382 - head/sbin/growfs

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 18:28:38 2016 New Revision: 299382 URL: https://svnweb.freebsd.org/changeset/base/299382 Log: Update the example growfs(8) manual page to include information on how to make the system "notice" the updated disk size. (Relnotes, since I've forget to set it

Re: svn commit: r299371 - in head: sbin/camcontrol sys/cam sys/cam/scsi

2016-05-10 Thread Edward Tomasz Napierala
On 0510T1020, Alan Somers wrote: > On Tue, May 10, 2016 at 9:46 AM, Edward Tomasz Napierala <tr...@freebsd.org> > wrote: > > > Author: trasz > > Date: Tue May 10 15:46:33 2016 > > New Revision: 299371 > > URL: https://svnweb.freebsd.org/changeset/base/29

svn commit: r299371 - in head: sbin/camcontrol sys/cam sys/cam/scsi

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 15:46:33 2016 New Revision: 299371 URL: https://svnweb.freebsd.org/changeset/base/299371 Log: Add "camcontrol reprobe" subcommand, and implement it for da(4). This makes it possible to manually force updating capacity data after the disk got resized. Without

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

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 15:04:24 2016 New Revision: 299369 URL: https://svnweb.freebsd.org/changeset/base/299369 Log: Remove NULL checks after M_WAITOK allocations from mpr(4). Reviewed by: asomers@ MFC after:1 month Sponsored by: The FreeBSD Foundation Differential

svn commit: r299367 - head/sys/dev/mps

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 14:57:14 2016 New Revision: 299367 URL: https://svnweb.freebsd.org/changeset/base/299367 Log: Remove NULL checks after M_WAITOK allocations from mps(4). Reviewed by: asomers@ MFC after:1 month Sponsored by: The FreeBSD Foundation Differential

svn commit: r299353 - in head/sys: dev/acpica dev/hwpmc dev/ioat dev/xen/evtchn x86/xen

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 10:26:07 2016 New Revision: 299353 URL: https://svnweb.freebsd.org/changeset/base/299353 Log: Remove misc NULL checks after M_WAITOK allocations. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/acpica/acpi_perf.c

svn commit: r299352 - head/sys/dev/mfi

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 10:24:35 2016 New Revision: 299352 URL: https://svnweb.freebsd.org/changeset/base/299352 Log: Remove NULL check after M_WAITOK allocations from mfi(4). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/mfi/mfi.c Modified:

svn commit: r299351 - head/sys/dev/firewire

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 10:21:03 2016 New Revision: 299351 URL: https://svnweb.freebsd.org/changeset/base/299351 Log: Remove NULL checks after M_WAITOK allocations from firewire. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/sys/dev/firewire/fwdev.c

svn commit: r299349 - in head/etc: . rc.d

2016-05-10 Thread Edward Tomasz Napierala
Author: trasz Date: Tue May 10 08:44:44 2016 New Revision: 299349 URL: https://svnweb.freebsd.org/changeset/base/299349 Log: Refactor the root mount hold code and add the wait to etc/rc.d/fsck. This fixes mounting (non-root) USB drives on boot with fsck enabled (with non-zero 'Pass#' field

svn commit: r299175 - head/usr.bin/iscsictl

2016-05-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 6 13:45:42 2016 New Revision: 299175 URL: https://svnweb.freebsd.org/changeset/base/299175 Log: Add the "-r" flag to iscsictl(8). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.8

<    3   4   5   6   7   8   9   10   11   12   >