svn commit: r273811 - head/contrib/ofed/librdmacm/examples

2014-10-29 Thread Navdeep Parhar
Author: np Date: Wed Oct 29 06:24:12 2014 New Revision: 273811 URL: https://svnweb.freebsd.org/changeset/base/273811 Log: rping: make sure that the CQ event thread can never poll a CQ after it has been destroyed. Submitted by: Hariprasad at Chelsio dot com Sponsored by: Chelsio

Re: svn commit: r273811 - head/contrib/ofed/librdmacm/examples

2014-10-29 Thread Anthony Cornehl
On October 28, 2014 11:24:13 PM PDT, Navdeep Parhar n...@freebsd.org wrote: Author: np Date: Wed Oct 29 06:24:12 2014 New Revision: 273811 URL: https://svnweb.freebsd.org/changeset/base/273811 Log: rping: make sure that the CQ event thread can never poll a CQ after it has been destroyed.

Re: svn commit: r273811 - head/contrib/ofed/librdmacm/examples

2014-10-29 Thread Navdeep Parhar
On Tue, Oct 28, 2014 at 11:34:11PM -0700, Anthony Cornehl wrote: On October 28, 2014 11:24:13 PM PDT, Navdeep Parhar n...@freebsd.org wrote: Author: np Date: Wed Oct 29 06:24:12 2014 New Revision: 273811 URL: https://svnweb.freebsd.org/changeset/base/273811 Log: rping: make sure that the

Re: svn commit: r273811 - head/contrib/ofed/librdmacm/examples

2014-10-29 Thread Anthony Cornehl
On October 28, 2014 11:38:01 PM PDT, Navdeep Parhar n...@freebsd.org wrote: On Tue, Oct 28, 2014 at 11:34:11PM -0700, Anthony Cornehl wrote: On October 28, 2014 11:24:13 PM PDT, Navdeep Parhar n...@freebsd.org wrote: Author: np Date: Wed Oct 29 06:24:12 2014 New Revision: 273811 URL:

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

2014-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 29 09:26:55 2014 New Revision: 273813 URL: https://svnweb.freebsd.org/changeset/base/273813 Log: Add discovery-filter. This makes it possible to restrict which targets are returned during discovery based on initiator portal, name, and CHAP credentials.

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

2014-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 29 09:36:02 2014 New Revision: 273816 URL: https://svnweb.freebsd.org/changeset/base/273816 Log: Simplify code; no functional changes. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/ctld.c head/usr.sbin/ctld/ctld.h

Re: svn commit: r273806 - in head/contrib/ofed: libcxgb4 libcxgb4/src usr.lib usr.lib/libcxgb4

2014-10-29 Thread Edward Tomasz Napierała
On 1029T0115, Navdeep Parhar wrote: Author: np Date: Wed Oct 29 01:15:48 2014 New Revision: 273806 URL: https://svnweb.freebsd.org/changeset/base/273806 Log: Userspace library for Chelsio's Terminator 5 based iWARP RNICs (pretty much every T5 card that does _not_ have -SO in its name

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

2014-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 29 12:10:39 2014 New Revision: 273820 URL: https://svnweb.freebsd.org/changeset/base/273820 Log: Make it possible to optionally use semicolon to separate statements. This makes it possible to format stuff like this: target xxx { lun 0 { path /foo/bar;

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

2014-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 29 12:12:27 2014 New Revision: 273821 URL: https://svnweb.freebsd.org/changeset/base/273821 Log: Keep the token list sorted. MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.sbin/ctld/parse.y Modified:

svn commit: r273822 - in head: usr.bin/iscsictl usr.sbin/ctld

2014-10-29 Thread Edward Tomasz Napierala
Author: trasz Date: Wed Oct 29 12:22:32 2014 New Revision: 273822 URL: https://svnweb.freebsd.org/changeset/base/273822 Log: Fix iscsictl(8) and ctld(8) to correctly handle Windows newlines (CRLF) in iscsi.conf and ctl.conf. MFC after:1 month Sponsored by: The FreeBSD Foundation

Re: svn commit: r273784 - in head/sys: amd64/ia32 compat/freebsd32 i386/i386 kern net

2014-10-29 Thread Konstantin Belousov
On Wed, Oct 29, 2014 at 06:26:42AM +1100, Bruce Evans wrote: On Tue, 28 Oct 2014, Konstantin Belousov wrote: Log: Replace some calls to fuword() by fueword() with proper error checking. I just noticed some more API design errors. The pointer type for new APIs should be [qualifed]

Re: svn commit: r273784 - in head/sys: amd64/ia32 compat/freebsd32 i386/i386 kern net

2014-10-29 Thread John Baldwin
On Wednesday, October 29, 2014 11:52:30 am Konstantin Belousov wrote: On Wed, Oct 29, 2014 at 06:26:42AM +1100, Bruce Evans wrote: On Tue, 28 Oct 2014, Konstantin Belousov wrote: Log: Replace some calls to fuword() by fueword() with proper error checking. I just noticed some more

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

2014-10-29 Thread Konstantin Belousov
On Tue, Oct 28, 2014 at 04:28:37AM +1100, Bruce Evans wrote: @diff -u2 dd.c~ dd.c @--- dd.c~Wed Apr 7 20:20:48 2004 @+++ dd.c Wed Apr 7 20:20:49 2004 @@@ -247,21 +245,18 @@ @ io-flags |= ISTRUNC; @ if (S_ISCHR(sb.st_mode) || S_ISBLK(sb.st_mode)) { @-if

Re: svn commit: r273784 - in head/sys: amd64/ia32 compat/freebsd32 i386/i386 kern net

2014-10-29 Thread Konstantin Belousov
On Wed, Oct 29, 2014 at 12:00:49PM -0400, John Baldwin wrote: On Wednesday, October 29, 2014 11:52:30 am Konstantin Belousov wrote: On Wed, Oct 29, 2014 at 06:26:42AM +1100, Bruce Evans wrote: I just noticed some more API design errors. The pointer type for new APIs should be [qualifed]

svn commit: r273834 - head/usr.sbin/etcupdate

2014-10-29 Thread John Baldwin
Author: jhb Date: Wed Oct 29 18:01:09 2014 New Revision: 273834 URL: https://svnweb.freebsd.org/changeset/base/273834 Log: Rework the EXAMPLES section to be a bit clearer. - Add an example of using etcupdate diff. - Create a subsection on bootstrapping that is below the simple examples.

Re: svn commit: r273806 - in head/contrib/ofed: libcxgb4 libcxgb4/src usr.lib usr.lib/libcxgb4

2014-10-29 Thread Navdeep Parhar
On Wed, Oct 29, 2014 at 10:56:04AM +0100, Edward Tomasz Napierała wrote: On 1029T0115, Navdeep Parhar wrote: Author: np Date: Wed Oct 29 01:15:48 2014 New Revision: 273806 URL: https://svnweb.freebsd.org/changeset/base/273806 Log: Userspace library for Chelsio's Terminator 5

svn commit: r273835 - head/usr.bin/top

2014-10-29 Thread Jung-uk Kim
Author: jkim Date: Wed Oct 29 19:21:19 2014 New Revision: 273835 URL: https://svnweb.freebsd.org/changeset/base/273835 Log: Replace a magic number with the proper definition. This change actually fixes broken state field after r273266, i.e., CPU-1 was displayed in place of RUN. Modified:

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

2014-10-29 Thread Bruce Evans
On Wed, 29 Oct 2014, Konstantin Belousov wrote: On Tue, Oct 28, 2014 at 04:28:37AM +1100, Bruce Evans wrote: @diff -u2 dd.c~ dd.c @--- dd.c~ Wed Apr 7 20:20:48 2004 @+++ dd.c Wed Apr 7 20:20:49 2004 @@@ -247,21 +245,18 @@ @ io-flags |= ISTRUNC; @ if

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

2014-10-29 Thread Kurt Jaeger
Hi! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191263 Right now the submitter tests on 32bit and if time permits, I'll experiment on ARM as well. The submitter has provided a new patch, he tested it and, I tested it on - 10.0p10 amd64 - 10.1-RC3-i386 - 10.1-RC3-armv6 (raspberry-pi)

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

2014-10-29 Thread NGie Cooper
On Wed, Oct 29, 2014 at 1:08 PM, Kurt Jaeger p...@freebsd.org wrote: Hi! https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191263 Right now the submitter tests on 32bit and if time permits, I'll experiment on ARM as well. The submitter has provided a new patch, he tested it and, I tested

svn commit: r273837 - head/lib/libutil

2014-10-29 Thread Dimitry Andric
Author: dim Date: Wed Oct 29 20:18:37 2014 New Revision: 273837 URL: https://svnweb.freebsd.org/changeset/base/273837 Log: Fix a clang 3.5 warning about abs(3) being given an argument of type quad_t in setusercontext(). While here, sanitize the clamping of the priority value, and use the

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

2014-10-29 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 30 05:10:33 2014 New Revision: 273842 URL: https://svnweb.freebsd.org/changeset/base/273842 Log: filedesc: get rid of atomic_load_acq_int from fget_unlocked A read barrier was necessary because fd table pointer and table size were updated separately, opening a

svn commit: r273843 - head/sys/kern

2014-10-29 Thread Mateusz Guzik
Author: mjg Date: Thu Oct 30 05:21:12 2014 New Revision: 273843 URL: https://svnweb.freebsd.org/changeset/base/273843 Log: filedesc: microoptimize fget_unlocked by retrying obtaining reference count without restarting whole lookup Restart is only needed when fp was closed by current