Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Andrey V. Elsukov
On 21.06.2011 10:04, Xin LI wrote: >>> Mod the offset padding by alignment. Without this change we may >>> pad too much when underlying GEOM object have a zero stripesize. > >> No. In any way offset value could not be greater than mediasize. > I don't think this changeset do anything with med

svn commit: r223358 - head/sys/netinet/ipfw

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 21 06:06:47 2011 New Revision: 223358 URL: http://svn.freebsd.org/changeset/base/223358 Log: Do not use SET_HOST_IPLEN() macro for IPv6 packets. PR: kern/157239 MFC after:2 weeks Modified: head/sys/netinet/ipfw/ip_dn_io.c head/sys/netinet/ipfw/i

Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/20/11 22:03, Andrey V. Elsukov wrote: > On 21.06.2011 8:46, Xin LI wrote: >> Author: delphij >> Date: Tue Jun 21 04:46:00 2011 >> New Revision: 223356 >> URL: http://svn.freebsd.org/changeset/base/223356 >> >> Log: >> Mod the offset padding b

Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Xin LI
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 06/20/11 22:03, Andrey V. Elsukov wrote: I don't think this changeset do anything with mediasize? No, an alignment value of 1 makes offset = 0, which is the intended behavior. Or did I misunderstood the code? Thanks in advance! - -- Xi

Re: svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Andrey V. Elsukov
On 21.06.2011 8:46, Xin LI wrote: > Author: delphij > Date: Tue Jun 21 04:46:00 2011 > New Revision: 223356 > URL: http://svn.freebsd.org/changeset/base/223356 > > Log: > Mod the offset padding by alignment. Without this change we may > pad too much when underlying GEOM object have a zero str

svn commit: r223356 - head/sbin/geom/class/part

2011-06-20 Thread Xin LI
Author: delphij Date: Tue Jun 21 04:46:00 2011 New Revision: 223356 URL: http://svn.freebsd.org/changeset/base/223356 Log: Mod the offset padding by alignment. Without this change we may pad too much when underlying GEOM object have a zero stripesize. MFC after:1 month Modified: h

svn commit: r223355 - head/sbin/geom/class/part

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 21 04:06:39 2011 New Revision: 223355 URL: http://svn.freebsd.org/changeset/base/223355 Log: The "size" param needs no adjusting to stripeoffset. Reported by: Kris Moore Modified: head/sbin/geom/class/part/geom_part.c Modified: head/sbin/geom/class/part/geom_pa

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

2011-06-20 Thread Warner Losh
Author: imp Date: Tue Jun 21 03:07:59 2011 New Revision: 223353 URL: http://svn.freebsd.org/changeset/base/223353 Log: When we see an interrupt status of 0x, check to see if the child is still present. If not, return 'handled' and don't print anything (this is expected behavior). W

svn commit: r223352 - head/sys/dev/pccbb

2011-06-20 Thread Warner Losh
Author: imp Date: Tue Jun 21 03:05:17 2011 New Revision: 223352 URL: http://svn.freebsd.org/changeset/base/223352 Log: Mark the card as bad on shutdown. This means that bus_child_present will return false on shutdown and massive spewage from usb disappears for usb cardbus adapters. Modifie

Re: svn commit: r222866 - head/sys/x86/x86

2011-06-20 Thread Jung-uk Kim
On Saturday 18 June 2011 08:05 am, Bruce Evans wrote: > Long ago, On Wed, 8 Jun 2011, Jung-uk Kim wrote: > > On Wednesday 08 June 2011 04:55 pm, Bruce Evans wrote: > >> On Wed, 8 Jun 2011, Jung-uk Kim wrote: > >>> Log: > >>> Introduce low-resolution TSC timecounter "TSC-low". It > >>> replaces th

Re: svn commit: r223211 - head/sys/x86/x86

2011-06-20 Thread Jung-uk Kim
On Saturday 18 June 2011 07:08 am, Bruce Evans wrote: > On Fri, 17 Jun 2011, Jung-uk Kim wrote: > > Log: > > Teach the compiler how to shift TSC value efficiently. As noted > > in r220631, some times compiler inserts redundant instructions to > > preserve unused upper 32 bits even when it is cast

svn commit: r223350 - head/sys/dev/e1000

2011-06-20 Thread Jack F Vogel
Author: jfv Date: Mon Jun 20 22:59:29 2011 New Revision: 223350 URL: http://svn.freebsd.org/changeset/base/223350 Log: Eliminate some global tuneables in favor of adapter-specific, particular flow control and dma coalesce. Also improve the sysctl operation on those too. Add IPv6 detecti

svn commit: r223348 - head/sys/fs/nfsserver

2011-06-20 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 20 21:57:26 2011 New Revision: 223348 URL: http://svn.freebsd.org/changeset/base/223348 Log: Fix the new NFSv4 server so that it allows Access and Readlink operations while traversing non-exported file systems. This is required for some non-FreeBSD clients to d

svn commit: r223349 - head/sys/fs/nfsserver

2011-06-20 Thread Rick Macklem
Author: rmacklem Date: Mon Jun 20 22:02:01 2011 New Revision: 223349 URL: http://svn.freebsd.org/changeset/base/223349 Log: Fix the new NFSv4 server so that it only allows Lookup of directories and symbolic links when traversing non-exported file systems. Found during the recent NFSv4 intero

svn commit: r223347 - head/sys/sparc64/sparc64

2011-06-20 Thread Marius Strobl
Author: marius Date: Mon Jun 20 21:36:53 2011 New Revision: 223347 URL: http://svn.freebsd.org/changeset/base/223347 Log: As astopgap minimize the sched_lock coverage in pmap_activate() in order to reduce lock contention. Modified: head/sys/sparc64/sparc64/pmap.c Modified: head/sys/sparc64

svn commit: r223346 - head/sys/sparc64/sparc64

2011-06-20 Thread Marius Strobl
Author: marius Date: Mon Jun 20 21:31:01 2011 New Revision: 223346 URL: http://svn.freebsd.org/changeset/base/223346 Log: - Remove MD usage of pc_cpumask and pc_other_cpus. [1] - Remove CTASSERTs which no longer need to hold since r222813. Submitted by: attilio [1] Modified: head/sys/s

svn commit: r223345 - head/usr.sbin/mfiutil

2011-06-20 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 20 21:28:50 2011 New Revision: 223345 URL: http://svn.freebsd.org/changeset/base/223345 Log: Add global -d and -e options to either print device numbers (usually default) or enclosure:slot information as (Exx:Sxx) or both. Discussed with: jhb Rev

Re: svn commit: r223342 - head/contrib/top

2011-06-20 Thread Pan Tsu
Xin LI writes: > Author: delphij > Date: Mon Jun 20 16:48:00 2011 > New Revision: 223342 > URL: http://svn.freebsd.org/changeset/base/223342 > > Log: > Revert r214857 pursudant to 9.0-RELEASE cycle. > > Requested by: jh What about closing bin/153235 ? ___

svn commit: r223344 - stable/7/sys/netinet

2011-06-20 Thread John Baldwin
Author: jhb Date: Mon Jun 20 18:08:52 2011 New Revision: 223344 URL: http://svn.freebsd.org/changeset/base/223344 Log: MFC 221346,223049: Handle a rare edge case with nearly full TCP receive buffers. If a TCP buffer fills up causing the remote sender to enter into persist mode, but there

svn commit: r223343 - stable/8/sys/netinet

2011-06-20 Thread John Baldwin
Author: jhb Date: Mon Jun 20 18:08:34 2011 New Revision: 223343 URL: http://svn.freebsd.org/changeset/base/223343 Log: MFC 221346,223049: Handle a rare edge case with nearly full TCP receive buffers. If a TCP buffer fills up causing the remote sender to enter into persist mode, but there

svn commit: r223342 - head/contrib/top

2011-06-20 Thread Xin LI
Author: delphij Date: Mon Jun 20 16:48:00 2011 New Revision: 223342 URL: http://svn.freebsd.org/changeset/base/223342 Log: Revert r214857 pursudant to 9.0-RELEASE cycle. Requested by: jh Modified: head/contrib/top/display.c head/contrib/top/top.h Modified: head/contrib/top/display.c =

svn commit: r223341 - head/sys/dev/atkbdc

2011-06-20 Thread Xin LI
Author: delphij Date: Mon Jun 20 16:42:20 2011 New Revision: 223341 URL: http://svn.freebsd.org/changeset/base/223341 Log: Correct a typo. Submitted by: Fabian Keil MFC after:3 days Modified: head/sys/dev/atkbdc/atkbd.c Modified: head/sys/dev/atkbdc/atkbd.c ==

svn commit: r223340 - head/usr.sbin/ypserv

2011-06-20 Thread Jun Kuriyama
Author: kuriyama Date: Mon Jun 20 15:22:47 2011 New Revision: 223340 URL: http://svn.freebsd.org/changeset/base/223340 Log: Add missing argument for -h in usage. Modified: head/usr.sbin/ypserv/yp_main.c Modified: head/usr.sbin/ypserv/yp_main.c

svn commit: r223339 - stable/7/sbin/ipfw

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 20 13:52:14 2011 New Revision: 223339 URL: http://svn.freebsd.org/changeset/base/223339 Log: MFC r222745: Initialize co.use_set variable before parsing each new rule. PR: bin/134975 Modified: stable/7/sbin/ipfw/main.c Directory Properties: stable/

svn commit: r223338 - stable/8/sbin/ipfw

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 20 13:51:53 2011 New Revision: 223338 URL: http://svn.freebsd.org/changeset/base/223338 Log: MFC r222745: Initialize co.use_set variable before parsing each new rule. PR: bin/134975 Modified: stable/8/sbin/ipfw/main.c Directory Properties: stable/

svn commit: r223337 - stable/7/sbin/ipfw

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 20 13:46:57 2011 New Revision: 223337 URL: http://svn.freebsd.org/changeset/base/223337 Log: MFC r222744: Increase buffer size for the command line. PR: bin/125370 Modified: stable/7/sbin/ipfw/main.c Directory Properties: stable/7/sbin/ipfw/ (pr

svn commit: r223336 - stable/8/sbin/ipfw

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 20 13:46:38 2011 New Revision: 223336 URL: http://svn.freebsd.org/changeset/base/223336 Log: MFC r222744: Increase buffer size for the command line. PR: bin/125370 Modified: stable/8/sbin/ipfw/main.c Directory Properties: stable/8/sbin/ipfw/ (pr

svn commit: r223334 - head/sys/net

2011-06-20 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 20 12:35:12 2011 New Revision: 223334 URL: http://svn.freebsd.org/changeset/base/223334 Log: Leave an extra comment about flowtable and IPv6 support rectifying a previous comment. MFC after:1 week Modified: head/sys/net/route.c Modified: head/sys/net/route

svn commit: r223333 - stable/8/sys/netinet/ipfw

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 20 12:32:59 2011 New Revision: 22 URL: http://svn.freebsd.org/changeset/base/22 Log: MFC r222742: Do not return EINVAL when user does `ipfw set N flush` on an empty set. Modified: stable/8/sys/netinet/ipfw/ip_fw_sockopt.c Directory Properties: stable/8/s

svn commit: r223332 - head/sys/geom/part

2011-06-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 20 12:22:30 2011 New Revision: 223332 URL: http://svn.freebsd.org/changeset/base/223332 Log: Change the way how we update bootcode for BSD scheme. Since the only parameter that we check is size of bootcode, then allow only two sizes: size of boot1 and size of /boot/b

Re: svn commit: r222866 - head/sys/x86/x86

2011-06-20 Thread Bruce Evans
On Mon, 20 Jun 2011, Peter Jeremy wrote: On 2011-Jun-18 22:05:06 +1000, Bruce Evans wrote: My clock measurement program (mostly an old program by Wollman) shows the following histogram of times for a non-invariant TSC timecounter on a 2GHz UP system: % min 273, max 265102, mean 273.998217, st

svn commit: r223331 - head/sys/net80211

2011-06-20 Thread Adrian Chadd
Author: adrian Date: Mon Jun 20 11:46:03 2011 New Revision: 223331 URL: http://svn.freebsd.org/changeset/base/223331 Log: Add a callback for ADDBA response timeouts. TX for the given TID needs to be paused during ADDBA requests (and unpaused once the session is established.) Since net8021

Re: svn commit: r222866 - head/sys/x86/x86

2011-06-20 Thread Peter Jeremy
On 2011-Jun-18 22:05:06 +1000, Bruce Evans wrote: >My clock measurement program (mostly an old program by Wollman) shows >the following histogram of times for a non-invariant TSC timecounter >on a 2GHz UP system: > >% min 273, max 265102, mean 273.998217, std 79.069534 >% 1th: 273 (1727219 observa

svn commit: r223330 - stable/7/contrib/pf/pfctl

2011-06-20 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 20 08:37:34 2011 New Revision: 223330 URL: http://svn.freebsd.org/changeset/base/223330 Log: MFC r223057: Add a new option -P to suppress getservbyport(3) calls when printing rules. This allows one to force consistent printing of numeric port numbers like we

svn commit: r223329 - stable/8/contrib/pf/pfctl

2011-06-20 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 20 08:37:20 2011 New Revision: 223329 URL: http://svn.freebsd.org/changeset/base/223329 Log: MFC r223057: Add a new option -P to suppress getservbyport(3) calls when printing rules. This allows one to force consistent printing of numeric port numbers like we

svn commit: r223328 - in head: contrib/lukemftp contrib/tnftp contrib/tnftp/src usr.bin/ftp

2011-06-20 Thread Gavin Atkinson
Author: gavin Date: Mon Jun 20 08:00:32 2011 New Revision: 223328 URL: http://svn.freebsd.org/changeset/base/223328 Log: Merge tnftp-20100108 from the vendor branch into head. PR: bin/112288 bin/120256 bin/129014 bin/145528 MFC after:1 month Added: head/contrib/tnftp/Make

Re: svn commit: r223311 - head/etc/rc.d

2011-06-20 Thread Jeremy Chadwick
On Mon, Jun 20, 2011 at 12:05:38AM -0700, Doug Barton wrote: > On 06/19/2011 23:42, Bjoern A. Zeeb wrote: > >On Jun 19, 2011, at 10:59 PM, Doug Barton wrote: > > > >>Author: dougb > >>Date: Sun Jun 19 22:59:54 2011 > >>New Revision: 223311 > >>URL: http://svn.freebsd.org/changeset/base/223311 > >>

svn commit: r223326 - head/sys/netinet

2011-06-20 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jun 20 07:07:18 2011 New Revision: 223326 URL: http://svn.freebsd.org/changeset/base/223326 Log: Fix a KASSERT from r212803 to check the correct length also in case of IPsec being compiled in and used. Improve reporting by adding the length fields to the panic message,

Re: svn commit: r223311 - head/etc/rc.d

2011-06-20 Thread Doug Barton
On 06/19/2011 23:42, Bjoern A. Zeeb wrote: On Jun 19, 2011, at 10:59 PM, Doug Barton wrote: Author: dougb Date: Sun Jun 19 22:59:54 2011 New Revision: 223311 URL: http://svn.freebsd.org/changeset/base/223311 Log: Blah, forgot to svn add the actual script from r223310 Now that it is generi