svn commit: r248638 - stable/8/sbin/recoverdisk

2013-03-23 Thread Xin LI
Author: delphij Date: Sat Mar 23 07:36:53 2013 New Revision: 248638 URL: http://svnweb.freebsd.org/changeset/base/248638 Log: MFC r248279: Correct type for DIOCGSTRIPESIZE. Without this there would be a stack overflow which will crash the program later. PR: bin/176953

svn commit: r248639 - head/sbin/fsdb

2013-03-23 Thread Kirk McKusick
Author: mckusick Date: Sat Mar 23 07:57:30 2013 New Revision: 248639 URL: http://svnweb.freebsd.org/changeset/base/248639 Log: Fix the build after addition of cylinder group cacheing (r248625) Reported by: Glen Barber (gjb@) Pointy hat to: Kirk McKusick (mckusick@) Modified: head/sbi

Re: svn commit: r248639 - head/sbin/fsdb

2013-03-23 Thread Glen Barber
On Sat, Mar 23, 2013 at 07:57:30AM +, Kirk McKusick wrote: > Author: mckusick > Date: Sat Mar 23 07:57:30 2013 > New Revision: 248639 > URL: http://svnweb.freebsd.org/changeset/base/248639 > > Log: > Fix the build after addition of cylinder group cacheing (r248625) > > Reported by: Gl

svn commit: r248640 - head/sys/cddl/dev/fbt

2013-03-23 Thread Andriy Gapon
Author: avg Date: Sat Mar 23 08:48:44 2013 New Revision: 248640 URL: http://svnweb.freebsd.org/changeset/base/248640 Log: fbt_typoff_init: fix an off by one in determining required memory size This issue would be silent most of the time, but if the requested memory is a multiple of a page

svn commit: r248641 - head/lib/libdwarf

2013-03-23 Thread Andriy Gapon
Author: avg Date: Sat Mar 23 08:50:56 2013 New Revision: 248641 URL: http://svnweb.freebsd.org/changeset/base/248641 Log: libdwarf: anonymous types are expected to have empty type names... or no type attributes at all. This is according to DWARF specification. MFC after:13 days

svn commit: r248642 - head/sys/cddl/dev/fbt

2013-03-23 Thread Andriy Gapon
Author: avg Date: Sat Mar 23 08:52:50 2013 New Revision: 248642 URL: http://svnweb.freebsd.org/changeset/base/248642 Log: fbt_getargdesc: correctly handle types for return probes MFC after:6 days Modified: head/sys/cddl/dev/fbt/fbt.c Modified: head/sys/cddl/dev/fbt/fbt.c ===

svn commit: r248643 - head/sbin/fsdb

2013-03-23 Thread Glen Barber
Author: gjb (doc,ports committer) Date: Sat Mar 23 08:57:14 2013 New Revision: 248643 URL: http://svnweb.freebsd.org/changeset/base/248643 Log: Revert r248639 to fix build failure on head/ Modified: head/sbin/fsdb/fsdb.c Modified: head/sbin/fsdb/fsdb.c ===

svn commit: r248644 - head/cddl/contrib/opensolaris/lib/libdtrace/common

2013-03-23 Thread Andriy Gapon
Author: avg Date: Sat Mar 23 08:57:54 2013 New Revision: 248644 URL: http://svnweb.freebsd.org/changeset/base/248644 Log: dtrace: ensure that we can always catch a process (e.g. when -c is used) It is not guaranteed that a program has a symbol table entry for main and thus that it would b

svn commit: r248645 - head/sys/kern

2013-03-23 Thread Andriy Gapon
Author: avg Date: Sat Mar 23 08:59:34 2013 New Revision: 248645 URL: http://svnweb.freebsd.org/changeset/base/248645 Log: post mountroot event after a real/final root is mounted not every time an intermediate root (including the first devfs) is mounted. This is also consistent with waki

svn commit: r248646 - svnadmin/conf

2013-03-23 Thread Peter Wemm
Author: peter Date: Sat Mar 23 09:06:40 2013 New Revision: 248646 URL: http://svnweb.freebsd.org/changeset/base/248646 Log: Don't say that stable branches are being exported to cvs that are not.. Modified: svnadmin/conf/paths Modified: svnadmin/conf/paths

svn commit: r248647 - head/usr.bin/systat

2013-03-23 Thread Alexander Motin
Author: mav Date: Sat Mar 23 13:11:54 2013 New Revision: 248647 URL: http://svnweb.freebsd.org/changeset/base/248647 Log: Make `systat -vmstat` to use suffixes to display big floating point numbers that are not fitting into the specified field width, same as done for ints. In particular that

svn commit: r248648 - head/crypto/openssh

2013-03-23 Thread Dag-Erling Smørgrav
Author: des Date: Sat Mar 23 14:52:31 2013 New Revision: 248648 URL: http://svnweb.freebsd.org/changeset/base/248648 Log: Revert r247892 now that this has been fixed upstream. Modified: head/crypto/openssh/FREEBSD-upgrade Modified: head/crypto/openssh/FREEBSD-upgrade

svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-23 Thread Will Andrews
Author: will Date: Sat Mar 23 15:11:53 2013 New Revision: 248649 URL: http://svnweb.freebsd.org/changeset/base/248649 Log: Extend taskqueue(9) to enable per-taskqueue callbacks. The scope of these callbacks is primarily to support actions that affect the taskqueue's thread environments.

Re: svn commit: r248571 - in head: . cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cm

2013-03-23 Thread Bjoern A. Zeeb
On Thu, 21 Mar 2013, Martin Matuska wrote: Author: mm Date: Thu Mar 21 08:38:03 2013 New Revision: 248571 URL: http://svnweb.freebsd.org/changeset/base/248571 Log: Merge libzfs_core branch: includes MFV 238590, 238592, 247580 ... Added: head/cddl/contrib/opensolaris/lib/libzfs/common/lib

svn commit: r248650 - stable/9/lib/libc/gen

2013-03-23 Thread Jilles Tjoelker
Author: jilles Date: Sat Mar 23 15:50:34 2013 New Revision: 248650 URL: http://svnweb.freebsd.org/changeset/base/248650 Log: MFC r246641: fts: Use O_DIRECTORY when opening name that might be changed by attacker. There are uncommon cases where fts_safe_changedir() may be called with a no

svn commit: r248651 - stable/9/lib/libc/net

2013-03-23 Thread Jilles Tjoelker
Author: jilles Date: Sat Mar 23 16:02:49 2013 New Revision: 248651 URL: http://svnweb.freebsd.org/changeset/base/248651 Log: MFC r248252: libc: Avoid SIGPIPE when nscd closes the connection unexpectedly. It is almost always a bug if nscd closes the connection unexpectedly but programs s

svn commit: r248652 - stable/9/lib/libc/stdio

2013-03-23 Thread Jilles Tjoelker
Author: jilles Date: Sat Mar 23 16:06:20 2013 New Revision: 248652 URL: http://svnweb.freebsd.org/changeset/base/248652 Log: MFC r246824,r246952: setbuf(3): Bring BUGS section up to date. Modified: stable/9/lib/libc/stdio/setbuf.3 Directory Properties: stable/9/lib/libc/ (props changed)

Re: svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-23 Thread mdf
On Sat, Mar 23, 2013 at 8:11 AM, Will Andrews wrote: > Author: will > Date: Sat Mar 23 15:11:53 2013 > New Revision: 248649 > URL: http://svnweb.freebsd.org/changeset/base/248649 > > Log: > Extend taskqueue(9) to enable per-taskqueue callbacks. > > The scope of these callbacks is primarily to

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

2013-03-23 Thread Will Andrews
Author: will Date: Sat Mar 23 16:34:56 2013 New Revision: 248653 URL: http://svnweb.freebsd.org/changeset/base/248653 Log: ZFS: Fix a panic while unmounting a busy filesystem. This particular scenario was easily reproduced using a NFS export. When the first 'zfs unmount' occurred, it ret

Re: svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-23 Thread Will Andrews
I agree about the name length, it is a bit obnoxious. However, it is also descriptive. TQCB strikes me as perhaps a bit too far in the other direction. How about TQ_CALLBACK_? Is there an existing (pseudo) convention for callback names? Thanks, --Will. On Sat, Mar 23, 2013 at 10:20 AM, wrot

svn commit: r248654 - head/sys/sys

2013-03-23 Thread Will Andrews
Author: will Date: Sat Mar 23 16:55:07 2013 New Revision: 248654 URL: http://svnweb.freebsd.org/changeset/base/248654 Log: Be more explicit about what each bio_cmd & bio_flags value means. Reviewed by: ken (mentor) Modified: head/sys/sys/bio.h Modified: head/sys/sys/bio.h =

svn commit: r248655 - head/sys/arm/arm

2013-03-23 Thread Ian Lepore
Author: ian Date: Sat Mar 23 17:17:06 2013 New Revision: 248655 URL: http://svnweb.freebsd.org/changeset/base/248655 Log: Don't check and warn about pmap mismatch on every call to busdma sync. With some recent busdma refactoring, sometimes it happens that a sync op gets called when bus_dmama

Re: svn commit: r248649 - in head: share/man/man9 sys/kern sys/sys

2013-03-23 Thread mdf
On Sat, Mar 23, 2013 at 9:45 AM, Will Andrews wrote: > I agree about the name length, it is a bit obnoxious. However, it is also > descriptive. TQCB strikes me as perhaps a bit too far in the other > direction. How about TQ_CALLBACK_? Is there an existing (pseudo) > convention for callback nam

svn commit: r248656 - head/bin/ed

2013-03-23 Thread John-Mark Gurney
Author: jmg Date: Sat Mar 23 19:04:57 2013 New Revision: 248656 URL: http://svnweb.freebsd.org/changeset/base/248656 Log: Fix compiling ed w/ WITHOUT_ED_CRYPTO... These variables aren't used.. Submitted by: deeptech71 at gmail dot com Modified: head/bin/ed/cbc.c Modified: head/bin/

svn commit: r248657 - head/sys/dev/drm2/ttm

2013-03-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Mar 23 19:19:19 2013 New Revision: 248657 URL: http://svnweb.freebsd.org/changeset/base/248657 Log: drm/ttm: Fix TTM buffer object refcount This fixes memory leaks in the radeonkms driver. Reviewed by: Konstantin Belousov (kib@) Tested by:J.R. Oldroyd

svn commit: r248658 - in head/sbin: fsck_ffs fsdb

2013-03-23 Thread Kirk McKusick
Author: mckusick Date: Sat Mar 23 20:00:02 2013 New Revision: 248658 URL: http://svnweb.freebsd.org/changeset/base/248658 Log: Revert 248634 and 248643 (e.g., restoring 248625 and 248639). Build verified by: Glen Barber (gjb@) Modified: head/sbin/fsck_ffs/fsck.h head/sbin/fsck_ffs/fsut

svn commit: r248659 - head/sys/conf

2013-03-23 Thread Martin Matuska
Author: mm Date: Sat Mar 23 20:01:45 2013 New Revision: 248659 URL: http://svnweb.freebsd.org/changeset/base/248659 Log: Fix kernel build with options ZFS after r24571 (libzfs_core). Submitted by: Bjoern A. Zeeb Modified: head/sys/conf/files Modified: head/sys/conf/files ==

Re: svn commit: r248571 - in head: . cddl/contrib/opensolaris/cmd/zdb cddl/contrib/opensolaris/cmd/zfs cddl/contrib/opensolaris/cmd/zhack cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/cm

2013-03-23 Thread Martin Matuska
Fixed in r248659. Thanks. On 23.3.2013 16:47, Bjoern A. Zeeb wrote: > On Thu, 21 Mar 2013, Martin Matuska wrote: > >> Author: mm >> Date: Thu Mar 21 08:38:03 2013 >> New Revision: 248571 >> URL: http://svnweb.freebsd.org/changeset/base/248571 >> >> Log: >> Merge libzfs_core branch: >>includes

svn commit: r248660 - in vendor-sys/illumos/dist/uts/common/fs/zfs: . sys

2013-03-23 Thread Martin Matuska
Author: mm Date: Sat Mar 23 20:17:32 2013 New Revision: 248660 URL: http://svnweb.freebsd.org/changeset/base/248660 Log: Update vendor-sys/illumos/dist to illumos-gate 13990:b04b9a80047a Illumos ZFS issues: 3618 ::zio dcmd does not show timestamp data Modified: vendor-sys/illumos/dis

svn commit: r248661 - head/sys/dev/drm2/ttm

2013-03-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Mar 23 20:43:26 2013 New Revision: 248661 URL: http://svnweb.freebsd.org/changeset/base/248661 Log: drm/ttm: Explain why we don't need to acquire a ref in ttm_bo_vm_ctor() Modified: head/sys/dev/drm2/ttm/ttm_bo_vm.c Modified: head/sys/dev/drm2/ttm/ttm_bo_vm.c =

svn commit: r248663 - head/sys/dev/drm2/ttm

2013-03-23 Thread Jean-Sebastien Pedron
Author: dumbbell Date: Sat Mar 23 20:46:47 2013 New Revision: 248663 URL: http://svnweb.freebsd.org/changeset/base/248663 Log: drm/ttm: Fix a typo: s/pTTM]/[TTM]/ Modified: head/sys/dev/drm2/ttm/ttm_memory.c Modified: head/sys/dev/drm2/ttm/ttm_memory.c ===

svn commit: r248664 - head/contrib/libarchive/libarchive

2013-03-23 Thread Martin Matuska
Author: mm Date: Sat Mar 23 21:34:10 2013 New Revision: 248664 URL: http://svnweb.freebsd.org/changeset/base/248664 Log: Merge bugfix from vendor master branch: Limit write requests to at most INT_MAX. This prevents a certain common programming error (passing -1 to write) from leading t

svn commit: r248665 - in stable/9/sys: geom kern sys ufs/ffs

2013-03-23 Thread Kirk McKusick
Author: mckusick Date: Sat Mar 23 21:56:19 2013 New Revision: 248665 URL: http://svnweb.freebsd.org/changeset/base/248665 Log: MFC of 246876 and 246877 MFC: 246876: Add barrier write capability to the VFS buffer interface. A barrier write is a disk write request that tells the disk t

svn commit: r248666 - head/sys/dev/drm2/ttm

2013-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 22:23:15 2013 New Revision: 248666 URL: http://svnweb.freebsd.org/changeset/base/248666 Log: Do not call malloc(M_WAITOK) while bodev->fence_lock mutex is held. The ttm_buffer_object_transfer() does not need the mutex locked at all, except for the call to the dri

svn commit: r248667 - stable/9/sys/ufs/ffs

2013-03-23 Thread Konstantin Belousov
Author: kib Date: Sat Mar 23 22:41:48 2013 New Revision: 248667 URL: http://svnweb.freebsd.org/changeset/base/248667 Log: MFC r247387: Inode block must not be read or written while cg block buffer is owned. Modified: stable/9/sys/ufs/ffs/ffs_alloc.c Directory Properties: stable/9/sys/ (

svn commit: r248668 - head/tools/tools/ath/athstats

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sat Mar 23 23:20:38 2013 New Revision: 248668 URL: http://svnweb.freebsd.org/changeset/base/248668 Log: Expose the beacon miss counter. Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/athstats.c =

svn commit: r248669 - head/tools/tools/ath/athstats

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sat Mar 23 23:27:16 2013 New Revision: 248669 URL: http://svnweb.freebsd.org/changeset/base/248669 Log: More indentation fixes. Modified: head/tools/tools/ath/athstats/athstats.c Modified: head/tools/tools/ath/athstats/athstats.c =

svn commit: r248670 - head/sys/dev/ath/ath_hal/ar5416

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sat Mar 23 23:51:11 2013 New Revision: 248670 URL: http://svnweb.freebsd.org/changeset/base/248670 Log: CABQ calculation changes to try and fix some weird corner cases leading to stuck beacons. * Set the cabq readytime (ie, how long to burst for) to 50% of the total

svn commit: r248671 - head/sys/dev/ath

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sun Mar 24 00:03:12 2013 New Revision: 248671 URL: http://svnweb.freebsd.org/changeset/base/248671 Log: Overhaul the TXQ locking (again!) as part of some beacon/cabq timing related issues. Moving the TX locking under one lock made things easier to progress on but it

svn commit: r248672 - head/lib/libc/stdtime

2013-03-23 Thread Dimitry Andric
Author: dim Date: Sun Mar 24 01:35:37 2013 New Revision: 248672 URL: http://svnweb.freebsd.org/changeset/base/248672 Log: Compile contrib/tzcode/stdtime/localtime.c with -fwrapv, since it relies on signed integer overflow wrapping. Otherwise mktime(3) and timegm(3) can hang, in case the tim

svn commit: r248673 - head/sbin/fsck_ffs

2013-03-23 Thread Sean Bruno
Author: sbruno Date: Sun Mar 24 02:04:19 2013 New Revision: 248673 URL: http://svnweb.freebsd.org/changeset/base/248673 Log: Minor formatting fix for printf() to fix clang builds. Submitted by: db Reviewed by: gjb Modified: head/sbin/fsck_ffs/fsutil.c Modified: head/sbin/fsck_ffs/fsu

Re: svn commit: r248672 - head/lib/libc/stdtime

2013-03-23 Thread Dimitry Andric
On Mar 24, 2013, at 02:35, Dimitry Andric wrote: > Author: dim > Date: Sun Mar 24 01:35:37 2013 > New Revision: 248672 > URL: http://svnweb.freebsd.org/changeset/base/248672 > > Log: > Compile contrib/tzcode/stdtime/localtime.c with -fwrapv, since it relies > on signed integer overflow wrapping

svn commit: r248674 - head/sys/geom

2013-03-23 Thread Alexander Motin
Author: mav Date: Sun Mar 24 03:15:20 2013 New Revision: 248674 URL: http://svnweb.freebsd.org/changeset/base/248674 Log: Make g_wither_washer() to not loop by itself, but only when there was some more topology change done that may require its attention. Add few missing g_do_wither() calls

svn commit: r248675 - head/sys/dev/ath

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sun Mar 24 04:09:29 2013 New Revision: 248675 URL: http://svnweb.freebsd.org/changeset/base/248675 Log: Fix the locking changes due to the TXQ change drive-by. Tested: * AR9580, STA mode Modified: head/sys/dev/ath/if_ath_tx_edma.c Modified: head/sys/dev/ath/if_

svn commit: r248676 - head/sys/dev/ath

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sun Mar 24 04:09:54 2013 New Revision: 248676 URL: http://svnweb.freebsd.org/changeset/base/248676 Log: Move the TXQ lock earlier in this routine - so to correctly protect the link pointer check. Modified: head/sys/dev/ath/if_ath_tx.c Modified: head/sys/dev/ath/if_ath_

svn commit: r248677 - head/sys/dev/ath/ath_hal/ah_regdomain

2013-03-23 Thread Adrian Chadd
Author: adrian Date: Sun Mar 24 04:42:56 2013 New Revision: 248677 URL: http://svnweb.freebsd.org/changeset/base/248677 Log: Add new regulatory domain. Obtained from:Qualcomm Atheros Modified: head/sys/dev/ath/ath_hal/ah_regdomain/ah_rd_domains.h head/sys/dev/ath/ath_hal/ah_reg