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

2013-08-28 Thread Andriy Gapon
on 28/08/2013 04:02 Xin Li said the following: I'm not sure that this is right. Now we have: tdzp = VTOZ(tdvp); ZFS_VERIFY_ZP(tdzp); zfsvfs = tdzp-z_zfsvfs; ZFS_ENTER(zfsvfs);// tdzp's z_zfsvfs entered zilog = zfsvfs-z_log; sdzp

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

2013-08-28 Thread Andriy Gapon
on 28/08/2013 03:39 Xin LI said the following: @@ -6250,8 +6250,11 @@ zfs_freebsd_rename(ap) ASSERT(ap-a_fcnp-cn_flags (SAVENAME|SAVESTART)); ASSERT(ap-a_tcnp-cn_flags (SAVENAME|SAVESTART)); - error = zfs_rename(fdvp, ap-a_fcnp-cn_nameptr, tdvp, -

svn commit: r254985 - head/sys/modules/ip6_mroute_mod

2013-08-28 Thread Ulrich Spoerlein
Author: uqs Date: Wed Aug 28 07:48:44 2013 New Revision: 254985 URL: http://svnweb.freebsd.org/changeset/base/254985 Log: Fix 'make depend' Modified: head/sys/modules/ip6_mroute_mod/Makefile Modified: head/sys/modules/ip6_mroute_mod/Makefile

svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Ivan Voras
Author: ivoras Date: Wed Aug 28 10:06:20 2013 New Revision: 254986 URL: http://svnweb.freebsd.org/changeset/base/254986 Log: Take a very small step toward the Century of the Anchovy by increasing the time dirhash entries stay in memory before being considered for eviction to 1 minute.

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

2013-08-28 Thread Davide Italiano
On Wed, Aug 28, 2013 at 3:02 AM, Xin Li delp...@delphij.net wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 [snip] On 08/27/13 01:59, Davide Italiano wrote: I've written a patch that attempts to fix the second problem. http://people.freebsd.org/~davide/review/zfsrename_recycle.diff

Re: svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Davide Italiano
On Wed, Aug 28, 2013 at 12:06 PM, Ivan Voras ivo...@freebsd.org wrote: Author: ivoras Date: Wed Aug 28 10:06:20 2013 New Revision: 254986 URL: http://svnweb.freebsd.org/changeset/base/254986 Log: Take a very small step toward the Century of the Anchovy by increasing the time dirhash

Re: svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Ivan Voras
On 28 August 2013 12:25, Davide Italiano dav...@freebsd.org wrote: do you have any evidence that this change impacts positively (or negatively) performances for some workloads? If yes, can you share? Yes, observation of my own servers. Without this, dirhash is basically useless since in

Re: svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Davide Italiano
On Wed, Aug 28, 2013 at 12:31 PM, Ivan Voras ivo...@freebsd.org wrote: On 28 August 2013 12:25, Davide Italiano dav...@freebsd.org wrote: do you have any evidence that this change impacts positively (or negatively) performances for some workloads? If yes, can you share? Yes, observation of

Re: svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Ivan Voras
On 28 August 2013 12:44, Davide Italiano dav...@freebsd.org wrote: Do you realize that this is a driven by commit change, right? And there's no technical motivatiion about this or experimental data that confirms you've chossen the right value? I see from the archives that you didn't get any

Re: svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Davide Italiano
On Wed, Aug 28, 2013 at 12:53 PM, Ivan Voras ivo...@freebsd.org wrote: On 28 August 2013 12:44, Davide Italiano dav...@freebsd.org wrote: Do you realize that this is a driven by commit change, right? And there's no technical motivatiion about this or experimental data that confirms you've

Re: svn commit: r254986 - head/sys/ufs/ufs

2013-08-28 Thread Ivan Voras
On 28 August 2013 13:14, Davide Italiano dav...@freebsd.org wrote: I prefer to see a public discussion about this. Ok, Ok, I'll go start a retrograde disucussion on @filesystems :) Maybe you should come up with some evidence that your change is helpful, even after this commit. I'll try and

svn commit: r254987 - head/sys/dev/ahci

2013-08-28 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 28 14:29:33 2013 New Revision: 254987 URL: http://svnweb.freebsd.org/changeset/base/254987 Log: Support the PCI-Express SSD in the new MacBook Air (model A1465) Submitted by: Johannes Lundberg johannes brilliantservice.co.jp MFC after:3 days Modified:

svn commit: r254988 - head/sys/dev/gpio

2013-08-28 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 28 14:39:24 2013 New Revision: 254988 URL: http://svnweb.freebsd.org/changeset/base/254988 Log: Properly free gpiobus ivars when gpiobus_parse_pins() fails and also on gpiobus detachment. Suggested by: imp Approved by: adrian (mentor) Modified:

svn commit: r254989 - head/sys/mips/conf

2013-08-28 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 28 14:43:04 2013 New Revision: 254989 URL: http://svnweb.freebsd.org/changeset/base/254989 Log: Add the default hints to make the GPIO pins, rf led and reset switch work out of the box on RouterStation. PR: 177832 Submitted by: Petko Bordjukov

svn commit: r254990 - head/sys/mips/atheros

2013-08-28 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 28 14:46:15 2013 New Revision: 254990 URL: http://svnweb.freebsd.org/changeset/base/254990 Log: Make ar71xx_spi attach the next free unit of spibus and not only spibus0. Approved by: adrian (mentor) Modified: head/sys/mips/atheros/ar71xx_spi.c Modified:

svn commit: r254991 - head/sys/dev/flash

2013-08-28 Thread Luiz Otavio O Souza
Author: loos Date: Wed Aug 28 14:49:36 2013 New Revision: 254991 URL: http://svnweb.freebsd.org/changeset/base/254991 Log: Fix a few typos for s25fl types. Approved by: adrian (mentor) Modified: head/sys/dev/flash/mx25l.c Modified: head/sys/dev/flash/mx25l.c

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

2013-08-28 Thread Gavin Atkinson
Author: gavin Date: Wed Aug 28 15:12:15 2013 New Revision: 254992 URL: http://svnweb.freebsd.org/changeset/base/254992 Log: After writing a kernel core dump into /var/crash, call sync(8). If we panic again shortly after boot (say, within 30 seconds), any core dump we wrote out may be

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

2013-08-28 Thread Konstantin Belousov
On Wed, Aug 28, 2013 at 03:12:16PM +, Gavin Atkinson wrote: Author: gavin Date: Wed Aug 28 15:12:15 2013 New Revision: 254992 URL: http://svnweb.freebsd.org/changeset/base/254992 Log: After writing a kernel core dump into /var/crash, call sync(8). If we panic again shortly

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

2013-08-28 Thread John-Mark Gurney
Gavin Atkinson wrote this message on Wed, Aug 28, 2013 at 15:12 +: Author: gavin Date: Wed Aug 28 15:12:15 2013 New Revision: 254992 URL: http://svnweb.freebsd.org/changeset/base/254992 Log: After writing a kernel core dump into /var/crash, call sync(8). If we panic again

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

2013-08-28 Thread Steve Kargl
Author: kargl Date: Wed Aug 28 16:59:55 2013 New Revision: 254994 URL: http://svnweb.freebsd.org/changeset/base/254994 Log: * Whitespace. Modified: head/lib/msun/src/s_erf.c Modified: head/lib/msun/src/s_erf.c ==

svn commit: r254995 - head/sys/ufs/ffs

2013-08-28 Thread Kirk McKusick
Author: mckusick Date: Wed Aug 28 17:38:05 2013 New Revision: 254995 URL: http://svnweb.freebsd.org/changeset/base/254995 Log: A performance problem was reported in PR kern/181226: I have 25TB Dell PERC 6 RAID5 array. When it becomes almost full (10-20GB free), processes which

svn commit: r254996 - head/sys/ufs/ffs

2013-08-28 Thread Kirk McKusick
Author: mckusick Date: Wed Aug 28 17:46:32 2013 New Revision: 254996 URL: http://svnweb.freebsd.org/changeset/base/254996 Log: In looking at block layouts as part of fixing filesystem block allocations under low free-space conditions (-r254995), determine that old block-preference search

svn commit: r254997 - head/sys/dev/fb

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 17:58:30 2013 New Revision: 254997 URL: http://svnweb.freebsd.org/changeset/base/254997 Log: Avoid unnecessary signedness conversion. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c

svn commit: r254998 - head/sys/dev/fb

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 18:13:37 2013 New Revision: 254998 URL: http://svnweb.freebsd.org/changeset/base/254998 Log: Make sure to free stale buffer before allocating new one for safety. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c

svn commit: r254999 - head/sys/dev/fb

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 19:06:22 2013 New Revision: 254999 URL: http://svnweb.freebsd.org/changeset/base/254999 Log: Do not save/restore video memory if we are not using linear frame buffer. Note this partially revert r233896. Modified: head/sys/dev/fb/vesa.c Modified:

svn commit: r255000 - stable/9/sys/cam/scsi

2013-08-28 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 28 19:22:09 2013 New Revision: 255000 URL: http://svnweb.freebsd.org/changeset/base/255000 Log: MFC 254416: r254416 | ken | 2013-08-16 10:14:32 -0600 (Fri, 16 Aug 2013) | 24 lines

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

2013-08-28 Thread Robert Watson
Author: rwatson Date: Wed Aug 28 19:49:32 2013 New Revision: 255001 URL: http://svnweb.freebsd.org/changeset/base/255001 Log: Add a simple procdesc(4) man page describing options PROCDESC and the high-level facility, supplementing pdfork(2) and friends. Update capsicum.4 to xref.

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

2013-08-28 Thread Robert Watson
Author: rwatson Date: Wed Aug 28 20:00:25 2013 New Revision: 255002 URL: http://svnweb.freebsd.org/changeset/base/255002 Log: Xref capsicum(4) and procdesc(4) from pdfork(2). Suggested by: sbruno MFC after:3 days Modified: head/lib/libc/sys/pdfork.2 Modified:

svn commit: r255003 - head/sys/dev/qlxgbe

2013-08-28 Thread David C Somayajulu
Author: davidcs Date: Wed Aug 28 20:07:00 2013 New Revision: 255003 URL: http://svnweb.freebsd.org/changeset/base/255003 Log: ql_minidump() should be performed only by port 0. Submitted by: David C Somayajulu Modified: head/sys/dev/qlxgbe/ql_os.c Modified: head/sys/dev/qlxgbe/ql_os.c

svn commit: r255004 - head/sys/dev/fb

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 20:10:56 2013 New Revision: 255004 URL: http://svnweb.freebsd.org/changeset/base/255004 Log: Reduce diff against stable/9 slightly. Modified: head/sys/dev/fb/vesa.c Modified: head/sys/dev/fb/vesa.c

svn commit: r255005 - in head/sys/dev/cxgbe: . tom

2013-08-28 Thread Navdeep Parhar
Author: np Date: Wed Aug 28 20:45:45 2013 New Revision: 255005 URL: http://svnweb.freebsd.org/changeset/base/255005 Log: Add hooks in base cxgbe(4) for the iWARP upper-layer driver. Update a couple of assertions in the TOE driver as well. Modified: head/sys/dev/cxgbe/adapter.h

Re: svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2013-08-28 Thread Bryan Drewery
On 2013-08-21 18:04, Kenneth D. Merry wrote: Author: ken Date: Wed Aug 21 23:04:48 2013 New Revision: 254627 URL: http://svnweb.freebsd.org/changeset/base/254627 Log: Expand the use of stat(2) flags to allow storing some Windows/DOS and CIFS file attributes as BSD stat(2) flags. This

svn commit: r255006 - in head/sys/dev/cxgbe: . tom

2013-08-28 Thread Navdeep Parhar
Author: np Date: Wed Aug 28 20:59:22 2013 New Revision: 255006 URL: http://svnweb.freebsd.org/changeset/base/255006 Log: Change t4_list_lock and t4_uld_list_lock from mutexes to sx'es. - tom_uninit had to be reworked not to hold the adapter lock (a mutex) around t4_deactivate_uld,

svn commit: r255007 - head/lib/libutil

2013-08-28 Thread Jilles Tjoelker
Author: jilles Date: Wed Aug 28 21:10:37 2013 New Revision: 255007 URL: http://svnweb.freebsd.org/changeset/base/255007 Log: libutil: Use O_CLOEXEC for internal file descriptors from open(). Modified: head/lib/libutil/login_auth.c head/lib/libutil/login_cap.c head/lib/libutil/pidfile.c

Re: svn commit: r254627 - in head: bin/chflags bin/ls lib/libc/gen lib/libc/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/fs/msdosfs sys/fs/smbfs sys/sys sys/ufs/ufs

2013-08-28 Thread Kenneth D. Merry
On Wed, Aug 28, 2013 at 15:54:18 -0500, Bryan Drewery wrote: On 2013-08-21 18:04, Kenneth D. Merry wrote: Author: ken Date: Wed Aug 21 23:04:48 2013 New Revision: 254627 URL: http://svnweb.freebsd.org/changeset/base/254627 Log: Expand the use of stat(2) flags to allow storing some

svn commit: r255008 - head/sys/fs/tmpfs

2013-08-28 Thread Kenneth D. Merry
Author: ken Date: Wed Aug 28 22:12:56 2013 New Revision: 255008 URL: http://svnweb.freebsd.org/changeset/base/255008 Log: Support storing 7 additional file flags in tmpfs: UF_SYSTEM, UF_SPARSE, UF_OFFLINE, UF_REPARSE, UF_ARCHIVE, UF_READONLY, and UF_HIDDEN. Sort the file flags tmpfs

Re: svn commit: r255008 - head/sys/fs/tmpfs

2013-08-28 Thread Bryan Drewery
On 2013-08-28 17:12, Kenneth D. Merry wrote: Author: ken Date: Wed Aug 28 22:12:56 2013 New Revision: 255008 URL: http://svnweb.freebsd.org/changeset/base/255008 Log: Support storing 7 additional file flags in tmpfs: UF_SYSTEM, UF_SPARSE, UF_OFFLINE, UF_REPARSE, UF_ARCHIVE, UF_READONLY,

svn commit: r255009 - head/sys/dev/drm2

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 22:57:49 2013 New Revision: 255009 URL: http://svnweb.freebsd.org/changeset/base/255009 Log: Fix a compiler warning. With this fix, a negative time can be converted to a struct timeval and back to the original nanoseconds correctly. Modified:

svn commit: r255010 - head/sys/netinet

2013-08-28 Thread Navdeep Parhar
Author: np Date: Wed Aug 28 23:00:34 2013 New Revision: 255010 URL: http://svnweb.freebsd.org/changeset/base/255010 Log: Merge r254336 from user/np/cxl_tuning. Add a last-modified timestamp to each LRO entry and provide an interface to flush all inactive entries. Drivers decide when to

svn commit: r255011 - head/sys/dev/cxgbe

2013-08-28 Thread Navdeep Parhar
Author: np Date: Wed Aug 28 23:15:05 2013 New Revision: 255011 URL: http://svnweb.freebsd.org/changeset/base/255011 Log: Whitespace nit. Modified: head/sys/dev/cxgbe/t4_tracer.c Modified: head/sys/dev/cxgbe/t4_tracer.c

svn commit: r255012 - head/sys/dev/drm2

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 23:43:28 2013 New Revision: 255012 URL: http://svnweb.freebsd.org/changeset/base/255012 Log: Fix a compiler warning and add couple of VM map types. Modified: head/sys/dev/drm2/drm_sysctl.c Modified: head/sys/dev/drm2/drm_sysctl.c

svn commit: r255013 - head/sys/dev/drm2/i915

2013-08-28 Thread Jung-uk Kim
Author: jkim Date: Wed Aug 28 23:59:38 2013 New Revision: 255013 URL: http://svnweb.freebsd.org/changeset/base/255013 Log: Correct atomic operations in i915. Modified: head/sys/dev/drm2/i915/i915_gem.c head/sys/dev/drm2/i915/i915_gem_execbuffer.c head/sys/dev/drm2/i915/intel_display.c

svn commit: r255014 - in head: gnu/usr.bin/patch share/mk tools/build/options usr.bin/patch

2013-08-28 Thread Pedro F. Giffuni
Author: pfg Date: Thu Aug 29 00:38:24 2013 New Revision: 255014 URL: http://svnweb.freebsd.org/changeset/base/255014 Log: Drop build option switch for the older GNU patch. As promised, drop the option to make the older GNU patch the default. GNU patch is still being built but