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

2010-06-07 Thread Matt Jacob
Author: mjacob Date: Tue Jun 8 05:14:18 2010 New Revision: 208905 URL: http://svn.freebsd.org/changeset/base/208905 Log: Make additional definitions up to and including SPC-4. Add in definitions for REPORT and SET TARGET PORT GROUP commands (foundations for future work). Regularize opcod

svn commit: r208904 - stable/7/sys/i386/i386

2010-06-07 Thread Alan Cox
Author: alc Date: Tue Jun 8 04:48:36 2010 New Revision: 208904 URL: http://svn.freebsd.org/changeset/base/208904 Log: MFC r208765 In the unlikely event that pmap_ts_referenced() demoted five superpage mappings to the same underlying physical page, the calling thread would be left fo

svn commit: r208903 - stable/8/sys/i386/i386

2010-06-07 Thread Alan Cox
Author: alc Date: Tue Jun 8 04:41:31 2010 New Revision: 208903 URL: http://svn.freebsd.org/changeset/base/208903 Log: MFC r208765 In the unlikely event that pmap_ts_referenced() demoted five superpage mappings to the same underlying physical page, the calling thread would be left fo

svn commit: r208902 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Author: rrs Date: Tue Jun 8 03:39:31 2010 New Revision: 208902 URL: http://svn.freebsd.org/changeset/base/208902 Log: 2 Bugs: 1) Only use both mapping arrays when NR sack is off. This way we can hold off moving the cumack (not the best but workable) when NR-sack is on. 2) We

svn commit: r208901 - head/sys/dev/xen/netfront

2010-06-07 Thread Kenneth D. Merry
Author: ken Date: Tue Jun 8 03:13:26 2010 New Revision: 208901 URL: http://svn.freebsd.org/changeset/base/208901 Log: A number of netfront fixes and stability improvements: - Re-enable TSO. This was broken previously due to CSUM_TSO clearing the CSUM_TCP flag, so our checksum flags

Re: svn commit: r208876 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Cool... I will move these over to that assert... And the invariant is ok since this function only is there when you compile invariant in. R On Jun 7, 2010, at 1:07 PM, Pawel Jakub Dawidek wrote: On Sun, Jun 06, 2010 at 04:11:17PM +, Randall Stewart wrote: Author: rrs Date: Sun Jun 6 16:

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

2010-06-07 Thread Matt Jacob
Author: mjacob Date: Mon Jun 7 22:43:37 2010 New Revision: 208900 URL: http://svn.freebsd.org/changeset/base/208900 Log: redfacedly noting a missing part of a patch. Pointy Hat To:Me MFC after:2 Week X-MFC:208896 Modified: head/sys/cam/scsi/scsi_da.c Mod

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

2010-06-07 Thread Matthew Jacob
On 6/7/2010 12:20 PM, Alexander Kabaev wrote: On Mon, 7 Jun 2010 17:41:34 + (UTC) Matt Jacob wrote: + /* +* Add some addressing info. +*/ + memset(&cts, 0, sizeof (cts)); Hi, you need to declare what cts is first. Kernel cannet be compiled right now

svn commit: r208899 - stable/8/sys/geom/part

2010-06-07 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 7 20:31:55 2010 New Revision: 208899 URL: http://svn.freebsd.org/changeset/base/208899 Log: MFC r197608: The first 96 bytes may not be zeroes. It can contain trivial boot code that merely emits an error and waits for a key press before rebooting. The error bein

Re: svn commit: r208876 - head/sys/netinet

2010-06-07 Thread Pawel Jakub Dawidek
On Sun, Jun 06, 2010 at 04:11:17PM +, Randall Stewart wrote: > Author: rrs > Date: Sun Jun 6 16:11:16 2010 > New Revision: 208876 > URL: http://svn.freebsd.org/changeset/base/208876 > > Log: > 1) Further enhance the INVARIANT lock validation (no locks) are > held by checking the create

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

2010-06-07 Thread Alexander Kabaev
On Mon, 7 Jun 2010 17:41:34 + (UTC) Matt Jacob wrote: > + /* > + * Add some addressing info. > + */ > + memset(&cts, 0, sizeof (cts)); Hi, you need to declare what cts is first. Kernel cannet be compiled right now due to this. -- Alexander Kabaev signature.asc Descrip

svn commit: r208898 - head/sys/kern

2010-06-07 Thread Alexander Motin
Author: mav Date: Mon Jun 7 18:47:53 2010 New Revision: 208898 URL: http://svn.freebsd.org/changeset/base/208898 Log: Call BUS_PROBE_NOMATCH() when device detached due to driver unload. This allows bus to power-down device when driver unloaded on-flight. Modified: head/sys/kern/subr_bus.c

svn commit: r208897 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Author: rrs Date: Mon Jun 7 18:29:10 2010 New Revision: 208897 URL: http://svn.freebsd.org/changeset/base/208897 Log: This fixes a BUG in the handling of the cum-ack calculation. We were only paying attention to the nr-mapping-array. Which seems to make sense on the surface, by definition t

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

2010-06-07 Thread Matt Jacob
Author: mjacob Date: Mon Jun 7 17:41:34 2010 New Revision: 208896 URL: http://svn.freebsd.org/changeset/base/208896 Log: Do a minor amount of stylifying. Also, get a Fibre Channel WWPN if one exists for a da unit and create a sysctl OID for it. Modified: head/sys/cam/scsi/scsi_da.c Modifi

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

2010-06-07 Thread Matt Jacob
Author: mjacob Date: Mon Jun 7 17:39:36 2010 New Revision: 208895 URL: http://svn.freebsd.org/changeset/base/208895 Log: Fix XPT_GET_TRAN_SETTING for FC which has been broken for while so that it will figure out the correct target to handle index and be able to find things like WWPN, etc.

svn commit: r208894 - stable/8/sys/dev/mpt

2010-06-07 Thread Matt Jacob
Author: mjacob Date: Mon Jun 7 16:32:12 2010 New Revision: 208894 URL: http://svn.freebsd.org/changeset/base/208894 Log: MFC of 198262 Use callout_init_mtx on FreeBSD versions recent enough. This closes the race where interrupt thread can complete the request for which timeout has fire

svn commit: r208893 - stable/7/sys/boot/zfs

2010-06-07 Thread Andriy Gapon
Author: avg Date: Mon Jun 7 13:44:04 2010 New Revision: 208893 URL: http://svn.freebsd.org/changeset/base/208893 Log: MFC r208610: boot/zfs: fix gang block reading code - use correct size (512) while reading a gang block - skip holes while reading child blocks - advance buffer pointer

svn commit: r208892 - stable/8/sys/boot/zfs

2010-06-07 Thread Andriy Gapon
Author: avg Date: Mon Jun 7 13:37:13 2010 New Revision: 208892 URL: http://svn.freebsd.org/changeset/base/208892 Log: MFC r208610: boot/zfs: fix gang block reading code - use correct size (512) while reading a gang block - skip holes while reading child blocks - advance buffer pointer

svn commit: r208891 - head/sys/netinet

2010-06-07 Thread Randall Stewart
Author: rrs Date: Mon Jun 7 11:33:20 2010 New Revision: 208891 URL: http://svn.freebsd.org/changeset/base/208891 Log: Opps... my bad.. we don't need a SOCK_UNLOCK() after calling socantrcvmore_locked() since it will unlock the lock for you. MFC after:1 week Modified: head/sys/ne

svn commit: r208890 - stable/8/sys/geom/part

2010-06-07 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 7 10:22:22 2010 New Revision: 208890 URL: http://svn.freebsd.org/changeset/base/208890 Log: MFC r207181: Re-calculate a geometry when reprobing as well. PR: kern/145452 Reviewed by: marcel Approved by: kib (mentor) Approved by: re (bz) Modi

svn commit: r208889 - head/usr.bin/gzip

2010-06-07 Thread Xin LI
Author: delphij Date: Mon Jun 7 10:10:44 2010 New Revision: 208889 URL: http://svn.freebsd.org/changeset/base/208889 Log: Follow up revision 20 with purely ident changes. MFC after:1 week Modified: head/usr.bin/gzip/gzip.c Modified: head/usr.bin/gzip/gzip.c

svn commit: r208888 - head/usr.bin/gzip

2010-06-07 Thread Xin LI
Author: delphij Date: Mon Jun 7 10:09:40 2010 New Revision: 20 URL: http://svn.freebsd.org/changeset/base/20 Log: Correct a bug in gzip(1): make sure that initialize isb with fstat() on input file before using it. PR: bin/147275 Submitted by: thomas MFC after:1

svn commit: r208887 - head/sys/dev/cxgb

2010-06-07 Thread Navdeep Parhar
Author: np Date: Mon Jun 7 08:23:16 2010 New Revision: 208887 URL: http://svn.freebsd.org/changeset/base/208887 Log: cxgb(4): add an 'nfilters' tunable that lets the user place an upper limit on the number of hardware filters (and thus the amount of TCAM reserved for filtering). Modified:

svn commit: r208886 - head/sbin/geom/misc

2010-06-07 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 7 07:41:41 2010 New Revision: 208886 URL: http://svn.freebsd.org/changeset/base/208886 Log: bgeom(3) does strdup of param name. Don't leak memory when deleting param from gctl_req. Reviewed by: marcel Approved by: mav (mentor) MFC after:2 weeks Modifie