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

2012-10-24 Thread Jeff Roberson
On Wed, 24 Oct 2012, Attilio Rao wrote: On Wed, Oct 24, 2012 at 8:16 PM, Andre Oppermann an...@freebsd.org wrote: On 24.10.2012 20:56, Jim Harris wrote: On Wed, Oct 24, 2012 at 11:41 AM, Adrian Chadd adr...@freebsd.org wrote: On 24 October 2012 11:36, Jim Harris jimhar...@freebsd.org

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

2010-05-07 Thread Jeff Roberson
Author: jeff Date: Fri May 7 08:20:56 2010 New Revision: 207741 URL: http://svn.freebsd.org/changeset/base/207741 Log: - Use the correct flag mask when determining whether an inode has successfully made it to the free list yet or not. This fixes a deadlock that can occur with

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

2010-05-07 Thread Jeff Roberson
Author: jeff Date: Fri May 7 08:45:21 2010 New Revision: 207742 URL: http://svn.freebsd.org/changeset/base/207742 Log: - Call softdep_prealloc() before any of the balloc routines in the snapshot code. - Don't fsync() vnodes in prealloc if copy on write is in progress. It is not

svn commit: r208241 - head/sbin/tunefs

2010-05-17 Thread Jeff Roberson
Author: jeff Date: Tue May 18 01:45:28 2010 New Revision: 208241 URL: http://svn.freebsd.org/changeset/base/208241 Log: - Round up the journal size to the block size so we don't confuse fsck. Reported by: Mikolaj Golub to.my.troc...@gmail.com - Only require 256k of blocks per-cg

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

2010-05-19 Thread Jeff Roberson
Author: jeff Date: Wed May 19 06:18:01 2010 New Revision: 208287 URL: http://svn.freebsd.org/changeset/base/208287 Log: - Don't immediately re-run softdepflush if we didn't make any progress on the last iteration. This can lead to a deadlock when we have worklist items that cannot

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

2011-06-19 Thread Jeff Roberson
Author: jeff Date: Mon Jun 20 03:25:09 2011 New Revision: 223325 URL: http://svn.freebsd.org/changeset/base/223325 Log: - Fix directory count rollbacks by passing the mode to the journal dep earlier. - Add rollback/forward code for frag and cluster accounting. - Handle the FREEDEP

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

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 20:52:23 2011 New Revision: 223769 URL: http://svn.freebsd.org/changeset/base/223769 Log: - Fix an inode quota leak. We need to decrement the quota once and only once. Tested by:pho Reviewed by: mckusick Modified: head/sys/ufs/ufs/ufs_inode.c

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

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 20:53:55 2011 New Revision: 223770 URL: http://svn.freebsd.org/changeset/base/223770 Log: - It is impossible to run request_cleanup() while doing a copyonwrite. This will most likely cause new block allocations which can recurse into request cleanup.

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

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 21:04:25 2011 New Revision: 223771 URL: http://svn.freebsd.org/changeset/base/223771 Log: - Handle D_JSEGDEP in the softdep_sync_buf() switch. These can now find themselves on snapshot vnodes. Reported by: pho Modified:

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

2011-07-04 Thread Jeff Roberson
Author: jeff Date: Mon Jul 4 22:08:04 2011 New Revision: 223772 URL: http://svn.freebsd.org/changeset/base/223772 Log: - Speed up pendingblock processing again. Having too much delay between ffs_blkfree() and the pending adjustment causes all kinds of space related problems.

svn commit: r219819 - in head: sys/amd64/include sys/conf sys/dev/hptmv sys/i386/include sys/kern sys/net sys/netinet sys/netinet6 sys/sys sys/vm usr.sbin/config usr.sbin/ndp

2011-03-21 Thread Jeff Roberson
Author: jeff Date: Mon Mar 21 09:40:01 2011 New Revision: 219819 URL: http://svn.freebsd.org/changeset/base/219819 Log: - Merge changes to the base system to support OFED. These include a wider arg2 for sysctl, updates to vlan code, IFT_INFINIBAND, and other miscellaneous small

Re: svn commit: r219667 - head/usr.sbin/bsdinstall/partedit

2011-03-21 Thread Jeff Roberson
On Sun, 20 Mar 2011, Kirk McKusick wrote: Date: Sun, 20 Mar 2011 13:25:20 -0700 From: Doug Barton do...@freebsd.org To: Marius Strobl mar...@alchemy.franken.de CC: Kirk McKusick mckus...@mckusick.com, Nathan Whitehorn nwhiteh...@freebsd.org, svn-src-head@FreeBSD.org, Jeff

Re: svn commit: r219667 - head/usr.sbin/bsdinstall/partedit

2011-03-21 Thread Jeff Roberson
On Sun, 20 Mar 2011, Doug Barton wrote: On 03/20/2011 09:22, Marius Strobl wrote: I fear it's still a bit premature for enable SU+J by default. Rather recently I was told about a SU+J filesystems lost after a panic that happend after snapshotting it (report CC'ed, maybe he can provide some

Re: svn commit: r219667 - head/usr.sbin/bsdinstall/partedit

2011-03-21 Thread Jeff Roberson
On Mon, 21 Mar 2011, Michael Moll wrote: Hi All, On Sun, Mar 20, 2011 at 05:22:12PM +0100, Marius Strobl wrote: I fear it's still a bit premature for enable SU+J by default. Rather recently I was told about a SU+J filesystems lost after a panic that happend after snapshotting it (report

svn commit: r219849 - head/sys/modules

2011-03-21 Thread Jeff Roberson
Author: jeff Date: Mon Mar 21 21:35:19 2011 New Revision: 219849 URL: http://svn.freebsd.org/changeset/base/219849 Log: - For now, disable ofed module build unless MK_OFED is set. Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile

svn commit: r219859 - head/sys/ofed/drivers/net/mlx4

2011-03-21 Thread Jeff Roberson
Author: jeff Date: Tue Mar 22 04:50:47 2011 New Revision: 219859 URL: http://svn.freebsd.org/changeset/base/219859 Log: - Don't use a separate set of rx queues for UDP, hash them into the same set as TCP. - Eliminate the fully linear non-scatter/gather rx path, there is no harm in

svn commit: r219898 - head/sys/modules

2011-03-23 Thread Jeff Roberson
Author: jeff Date: Wed Mar 23 08:27:57 2011 New Revision: 219898 URL: http://svn.freebsd.org/changeset/base/219898 Log: - Move ofed modules into the i386 and amd64 specific sections to fix universe on other architectures. Modified: head/sys/modules/Makefile Modified:

svn commit: r207141 - in head: lib/libufs sbin/dumpfs sbin/fsck_ffs sbin/fsdb sbin/tunefs sys/kern sys/sys sys/ufs/ffs sys/ufs/ufs usr.sbin/makefs/ffs

2010-04-24 Thread Jeff Roberson
Author: jeff Date: Sat Apr 24 07:05:35 2010 New Revision: 207141 URL: http://svn.freebsd.org/changeset/base/207141 Log: - Merge soft-updates journaling from projects/suj/head into head. This brings in support for an optional intent log which eliminates the need for background fsck

svn commit: r207145 - head/sbin/tunefs

2010-04-24 Thread Jeff Roberson
Author: jeff Date: Sat Apr 24 07:59:45 2010 New Revision: 207145 URL: http://svn.freebsd.org/changeset/base/207145 Log: - Temporarily lower WARNS until I fix alignment warnings on sparc64. Reported by: Florian Smeets Modified: head/sbin/tunefs/Makefile Modified:

Re: svn commit: r207144 - head/sbin/fsck_ffs

2010-04-24 Thread Jeff Roberson
On Sat, 24 Apr 2010, Pawel Jakub Dawidek wrote: Author: pjd Date: Sat Apr 24 07:58:59 2010 New Revision: 207144 URL: http://svn.freebsd.org/changeset/base/207144 Log: suj.c seems to contain two versions of the code. Remove the one that doesn't compile. Thanks pjd. I must've patched twice

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

2010-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 28 07:26:41 2010 New Revision: 207309 URL: http://svn.freebsd.org/changeset/base/207309 Log: - Fix builds without SOFTUPDATES defined in the kernel config. Modified: head/sys/ufs/ffs/ffs_softdep.c Modified: head/sys/ufs/ffs/ffs_softdep.c

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

2010-04-28 Thread Jeff Roberson
Author: jeff Date: Wed Apr 28 07:57:37 2010 New Revision: 207310 URL: http://svn.freebsd.org/changeset/base/207310 Log: - When canceling jaddrefs they may not yet be in the journal if this is via a revert call. In this case don't attempt to remove something that has not yet been

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

2011-04-06 Thread Jeff Roberson
Author: jeff Date: Thu Apr 7 03:19:10 2011 New Revision: 220406 URL: http://svn.freebsd.org/changeset/base/220406 Log: - Don't invalidate jnewblks immediately upon discovering that the block will be removed. Permit the journal to proceed so that we don't leave a rollback in a cg

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

2011-04-09 Thread Jeff Roberson
Author: jeff Date: Sun Apr 10 03:49:53 2011 New Revision: 220511 URL: http://svn.freebsd.org/changeset/base/220511 Log: Fix a long standing SUJ performance problem: - Keep a hash of indirect blocks that have recently been freed and are still referenced in the journal. - Lookup

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

2011-04-10 Thread Jeff Roberson
Author: jeff Date: Mon Apr 11 01:43:59 2011 New Revision: 220532 URL: http://svn.freebsd.org/changeset/base/220532 Log: - Refactor softdep_setup_freeblocks() into a set of functions to prepare for a new journal specific partial truncate routine. - Use dep_current[] in place of specific

svn commit: r221055 - in head/sys: kern ofed/include/linux

2011-04-26 Thread Jeff Roberson
Author: jeff Date: Tue Apr 26 07:30:52 2011 New Revision: 221055 URL: http://svn.freebsd.org/changeset/base/221055 Log: - Catch up to falloc() changes. - PHOLD() before using a task structure on the stack. - Fix a LOR between the sleepq lock and thread lock in _intr_drain(). Modified:

svn commit: r222953 - head/sys/kern

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:15:36 2011 New Revision: 222953 URL: http://svn.freebsd.org/changeset/base/222953 Log: - When printing bufs with show buf the lblkno is often more useful than the blkno. Print them both. Modified: head/sys/kern/vfs_bio.c Modified:

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

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:18:25 2011 New Revision: 222954 URL: http://svn.freebsd.org/changeset/base/222954 Log: - If the fsync in ufs_direnter fails SUJ can later panic because we have partially added a name. Allow ufs_direnter() to continue in the hopes that it is a

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

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:19:44 2011 New Revision: 222955 URL: http://svn.freebsd.org/changeset/base/222955 Log: - Add support for referencing quota structures without needing the inode pointer for softupdates. Submitted by: mckusick Modified: head/sys/ufs/ufs/quota.h

svn commit: r222956 - head/sys/conf

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:38:31 2011 New Revision: 222956 URL: http://svn.freebsd.org/changeset/base/222956 Log: - Eliminate an incorrect include path from the mthca build. Modified: head/sys/conf/files Modified: head/sys/conf/files

svn commit: r222958 - in head: sbin/fsck_ffs sys/sys sys/ufs/ffs sys/ufs/ufs

2011-06-10 Thread Jeff Roberson
Author: jeff Date: Fri Jun 10 22:48:35 2011 New Revision: 222958 URL: http://svn.freebsd.org/changeset/base/222958 Log: Implement fully asynchronous partial truncation with softupdates journaling to resolve errors which can cause corruption on recovery with the old synchronous mechanism.

Re: svn commit: r222958 - in head: sbin/fsck_ffs sys/sys sys/ufs/ffs sys/ufs/ufs

2011-06-10 Thread Jeff Roberson
On Fri, 10 Jun 2011, Jeff Roberson wrote: Author: jeff Date: Fri Jun 10 22:48:35 2011 New Revision: 222958 URL: http://svn.freebsd.org/changeset/base/222958 Log: Implement fully asynchronous partial truncation with softupdates journaling to resolve errors which can cause corruption

Re: svn commit: r250411 - in head/sys: conf kern sys

2013-05-11 Thread Jeff Roberson
On Thu, 9 May 2013, Marcel Moolenaar wrote: Author: marcel Date: Thu May 9 16:28:18 2013 New Revision: 250411 URL: http://svnweb.freebsd.org/changeset/base/250411 Log: Add option WITNESS_NO_VNODE to suppress printing LORs between VNODE locks. To support this, VNODE locks are created with

svn commit: r250551 - in head/sys: conf kern sys

2013-05-11 Thread Jeff Roberson
Author: jeff Date: Sun May 12 04:05:01 2013 New Revision: 250551 URL: http://svnweb.freebsd.org/changeset/base/250551 Log: - Add a new general purpose path-compressed radix trie which can be used with any structure containing a uint64_t index. The tree code auto-generates type safe

svn commit: r250578 - head/sys/sys

2013-05-12 Thread Jeff Roberson
Author: jeff Date: Sun May 12 20:44:28 2013 New Revision: 250578 URL: http://svnweb.freebsd.org/changeset/base/250578 Log: - pctrie really only requires two byte alignment so that there is a single bit available for a flag in the pointer. However, it felt more correct to enforce

svn commit: r251171 - in head/sys: fs/ext2fs fs/nandfs fs/nfsclient fs/nfsserver kern nfsclient nfsserver sys ufs/ffs

2013-05-30 Thread Jeff Roberson
Author: jeff Date: Fri May 31 00:43:41 2013 New Revision: 251171 URL: http://svnweb.freebsd.org/changeset/base/251171 Log: - Convert the bufobj lock to rwlock. - Use a shared bufobj lock in getblk() and inmem(). - Convert softdep's lk to rwlock to match the bufobj lock. - Move

svn commit: r251446 - head/sys/kern

2013-06-05 Thread Jeff Roberson
Author: jeff Date: Wed Jun 5 23:53:00 2013 New Revision: 251446 URL: http://svnweb.freebsd.org/changeset/base/251446 Log: - Consolidate duplicate code into support functions. - Split the bqlock into bqclean and bqdirty locks. - Only acquire the wakeup synchronization locks when we cross

svn commit: r251703 - in head/sys: amd64/amd64 i386/i386 i386/xen kern mips/mips sparc64/sparc64 sys

2013-06-13 Thread Jeff Roberson
Author: jeff Date: Thu Jun 13 20:46:03 2013 New Revision: 251703 URL: http://svnweb.freebsd.org/changeset/base/251703 Log: - Add a BIT_FFS() macro and use it to replace cpusetffs_obj() Discussed with: attilio Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r251709 - head/sys/vm

2013-06-13 Thread Jeff Roberson
Author: jeff Date: Thu Jun 13 21:05:38 2013 New Revision: 251709 URL: http://svnweb.freebsd.org/changeset/base/251709 Log: - Convert the slab free item list from a linked array of indices to a bitmap using sys/bitset. This is much simpler, has lower space overhead and is cheaper in

svn commit: r251826 - head/sys/vm

2013-06-16 Thread Jeff Roberson
Author: jeff Date: Mon Jun 17 03:43:47 2013 New Revision: 251826 URL: http://svnweb.freebsd.org/changeset/base/251826 Log: - Add a new UMA API: uma_zcache_create(). This makes a zone without any backing memory that is only a container for per-cpu caches of arbitrary pointer items.

svn commit: r251894 - in head: lib/libmemstat sys/vm

2013-06-17 Thread Jeff Roberson
Author: jeff Date: Tue Jun 18 04:50:20 2013 New Revision: 251894 URL: http://svnweb.freebsd.org/changeset/base/251894 Log: Refine UMA bucket allocation to reduce space consumption and improve performance. - Always free to the alloc bucket if there is space. This gives LIFO

Re: svn commit: r251894 - in head: lib/libmemstat sys/vm

2013-06-18 Thread Jeff Roberson
On Tue, 18 Jun 2013, Alfred Perlstein wrote: On 6/18/13 4:37 AM, Gleb Smirnoff wrote: On Tue, Jun 18, 2013 at 10:25:08AM +0200, Andre Oppermann wrote: A There used to be a problem with per CPU caches accumulating large amounts A of items without freeing back to the global (or socket) pool. A

svn commit: r251983 - head/sys/vm

2013-06-18 Thread Jeff Roberson
Author: jeff Date: Wed Jun 19 02:30:32 2013 New Revision: 251983 URL: http://svnweb.freebsd.org/changeset/base/251983 Log: - Persist the caller's flags in the bucket allocation flags so we don't lose a M_NOVM when we recurse into a bucket allocation. Sponsored by: EMC / Isilon

svn commit: r252040 - head/sys/vm

2013-06-20 Thread Jeff Roberson
Author: jeff Date: Thu Jun 20 19:08:12 2013 New Revision: 252040 URL: http://svnweb.freebsd.org/changeset/base/252040 Log: - Add a per-zone lock for zones without kegs. - Be more explicit about zone vs keg locking. This functionally changes almost nothing. - Add a size parameter to

svn commit: r252226 - head/sys/vm

2013-06-25 Thread Jeff Roberson
Author: jeff Date: Wed Jun 26 00:57:38 2013 New Revision: 252226 URL: http://svnweb.freebsd.org/changeset/base/252226 Log: - Resolve bucket recursion issues by passing a cookie with zone flags through bucket_alloc() to uma_zalloc_arg() and uma_zfree_arg(). - Make some smaller buckets

svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-27 Thread Jeff Roberson
Author: jeff Date: Fri Jun 28 03:51:20 2013 New Revision: 252330 URL: http://svnweb.freebsd.org/changeset/base/252330 Log: - Add a general purpose resource allocator, vmem, from NetBSD. It was originally inspired by the Solaris vmem detailed in the proceedings of usenix 2001. The

Re: svn commit: r252330 - in head/sys: conf geom kern sys vm

2013-06-28 Thread Jeff Roberson
feature that works with UMA to provide per-cpu caches of arbitrary number ranges. So it is more scalable as well as providing for less fragmentation. Thanks, Jeff Adrian On 27 June 2013 20:51, Jeff Roberson j...@freebsd.org wrote: Author: jeff Date: Fri Jun 28 03:51:20 2013 New Revision

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

2014-03-05 Thread Jeff Roberson
Author: jeff Date: Thu Mar 6 00:10:07 2014 New Revision: 262812 URL: http://svnweb.freebsd.org/changeset/base/262812 Log: - Gracefully handle truncation failures when trying to shrink directories. This could cause dirhash panics since the dirhash state would be successfully

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

2014-03-05 Thread Jeff Roberson
Author: jeff Date: Thu Mar 6 00:13:21 2014 New Revision: 262814 URL: http://svnweb.freebsd.org/changeset/base/262814 Log: - If we fail to do a non-blocking acquire of a buf lock while doing a waiting sync pass we need to do a blocking acquire and restart. Another thread, typically

svn commit: r262917 - head/sys/kern

2014-03-07 Thread Jeff Roberson
Author: jeff Date: Sat Mar 8 00:35:06 2014 New Revision: 262917 URL: http://svnweb.freebsd.org/changeset/base/262917 Log: - Make runq_steal_from more aggressive. Previously it would examine only a single priority queue. If that queue had a thread or threads which could not be

svn commit: r253583 - head/sys/vm

2013-07-23 Thread Jeff Roberson
Author: jeff Date: Tue Jul 23 22:52:38 2013 New Revision: 253583 URL: http://svnweb.freebsd.org/changeset/base/253583 Log: - Correct a stale comment. We don't have vclean() anymore. The work is done by vgonel() and destroy_vobject() should only be called once from VOP_INACTIVE().

svn commit: r253587 - head/sys/vm

2013-07-23 Thread Jeff Roberson
Author: jeff Date: Wed Jul 24 01:25:56 2013 New Revision: 253587 URL: http://svnweb.freebsd.org/changeset/base/253587 Log: - Remove the long obsolete 'vm_pageout_algorithm' experiment. Discussed with: alc Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r253685 - in head/sys: amd64/amd64 i386/i386

2013-07-26 Thread Jeff Roberson
Author: jeff Date: Fri Jul 26 19:06:14 2013 New Revision: 253685 URL: http://svnweb.freebsd.org/changeset/base/253685 Log: - Use kmem_malloc rather than kmem_alloc() for GDT/LDT/tss allocations etc. This eliminates some unusual uses of that API in favor of more typical uses of

svn commit: r253697 - head/sys/vm

2013-07-26 Thread Jeff Roberson
Author: jeff Date: Fri Jul 26 23:22:05 2013 New Revision: 253697 URL: http://svnweb.freebsd.org/changeset/base/253697 Log: Improve page LRU quality and simplify the logic. - Don't short-circuit aging tests for unmapped objects. This biases against unmapped file pages and transient

svn commit: r253949 - in head/sys: amd64/amd64 i386/i386

2013-08-04 Thread Jeff Roberson
Author: jeff Date: Mon Aug 5 00:28:03 2013 New Revision: 253949 URL: http://svnweb.freebsd.org/changeset/base/253949 Log: - Introduce a specific function, pmap_remove_kernel_pde, for removing huge pages in the kernel's address space. This works around several asserts from

svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolari...

2013-08-07 Thread Jeff Roberson
Author: jeff Date: Wed Aug 7 06:21:20 2013 New Revision: 254025 URL: http://svnweb.freebsd.org/changeset/base/254025 Log: Replace kernel virtual address space allocation with vmem. This provides transparent layering and better fragmentation. - Normalize functions that allocate memory

Re: svn commit: r254025 - in head/sys: amd64/amd64 arm/arm arm/at91 arm/mv/armadaxp arm/s3c2xx0 arm/xscale/i80321 arm/xscale/i8134x arm/xscale/ixp425 cddl/compat/opensolaris/kern cddl/compat/opensolar

2013-08-07 Thread Jeff Roberson
On Wed, 7 Aug 2013, Zbyszek Bodek wrote: On 07.08.2013 08:21, Jeff Roberson wrote: Author: jeff Date: Wed Aug 7 06:21:20 2013 New Revision: 254025 URL: http://svnweb.freebsd.org/changeset/base/254025 Log: Replace kernel virtual address space allocation with vmem. This provides

svn commit: r254120 - head/sys/ofed/include/linux

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:24:12 2013 New Revision: 254120 URL: http://svnweb.freebsd.org/changeset/base/254120 Log: - Use the correct type in the linux bitops emulation. Submitted by: Maxim Ignatenko gelraen...@gmail.com Modified: head/sys/ofed/include/linux/bitops.h Modified:

svn commit: r254121 - head/sys/ofed/include/linux

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:24:48 2013 New Revision: 254121 URL: http://svnweb.freebsd.org/changeset/base/254121 Log: - Correctly handle various edge cases in sysfs emulation. Sponsored by: EMC / Isilon Storage Division Modified: head/sys/ofed/include/linux/sysfs.h Modified:

svn commit: r254122 - in head/sys: ofed/include/rdma sys

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:26:17 2013 New Revision: 254122 URL: http://svnweb.freebsd.org/changeset/base/254122 Log: - Reserve a special AF for SDP. The one we were incorrectly using before was taken by another AF. Sponsored by: EMC / Isilon Storage Division Modified:

svn commit: r254123 - in head/contrib/ofed: libsdp/src/linux management/infiniband-diags/src management/opensm/opensm

2013-08-08 Thread Jeff Roberson
Author: jeff Date: Fri Aug 9 03:29:46 2013 New Revision: 254123 URL: http://svnweb.freebsd.org/changeset/base/254123 Log: - Fix compile errors from the clang conversion - Grab AF_SDP_INET from sys/socket.h Submitted by: Garrett Cooper Sponsored by: EMC / Isilon Storage Division

svn commit: r254304 - in head/sys: sys vm

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 21:56:16 2013 New Revision: 254304 URL: http://svnweb.freebsd.org/changeset/base/254304 Log: Improve pageout flow control to wakeup more frequently and do less work while maintaining better LRU of active pages. - Change v_free_target to include the quantity

svn commit: r254307 - in head/sys: kern vm

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 22:40:43 2013 New Revision: 254307 URL: http://svnweb.freebsd.org/changeset/base/254307 Log: - Add a statically allocated memguard arena since it is needed very early on. - Pass the appropriate flags to vmem_xalloc() when allocating space for the

svn commit: r254308 - head/sys/kern

2013-08-13 Thread Jeff Roberson
Author: jeff Date: Tue Aug 13 22:41:24 2013 New Revision: 254308 URL: http://svnweb.freebsd.org/changeset/base/254308 Log: - Disable quantum caches on the kmem_arena. This can make fragmentation worse on small KVA systems. I had intended to only enable it for debugging.

svn commit: r254387 - head/sys/vm

2013-08-15 Thread Jeff Roberson
Author: jeff Date: Thu Aug 15 22:29:49 2013 New Revision: 254387 URL: http://svnweb.freebsd.org/changeset/base/254387 Log: - Fix bug in r254304. Use the ACTIVE pq count for the active list processing, not inactive. This was the result of a bad merge. Reported by: pho Sponsored

svn commit: r254543 - in head/sys: kern vm

2013-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 23:02:39 2013 New Revision: 254543 URL: http://svnweb.freebsd.org/changeset/base/254543 Log: - Use an arbitrary but reasonably large import size for kva on architectures that don't support superpages. This keeps the number of spans and internal

svn commit: r254544 - head/sys/vm

2013-08-19 Thread Jeff Roberson
Author: jeff Date: Mon Aug 19 23:54:24 2013 New Revision: 254544 URL: http://svnweb.freebsd.org/changeset/base/254544 Log: - Increase the active lru refresh interval to 10 minutes. This has been shown to negatively impact some workloads and the goal is only to eliminate worst case

svn commit: r254622 - head/sys/vm

2013-08-21 Thread Jeff Roberson
Author: jeff Date: Wed Aug 21 22:39:19 2013 New Revision: 254622 URL: http://svnweb.freebsd.org/changeset/base/254622 Log: - Eliminate the vm object lock from the active queue scan. It is not necessary since we do not free or cache the page from active anymore. Document the one

svn commit: r249218 - in head/sys: fs/ext2fs kern ufs/ffs vm

2013-04-06 Thread Jeff Roberson
Author: jeff Date: Sat Apr 6 22:21:23 2013 New Revision: 249218 URL: http://svnweb.freebsd.org/changeset/base/249218 Log: Prepare to replace the buf splay with a trie: - Don't insert BKGRDMARKER bufs into the splay or dirty/clean buf lists. No consumers need to find them there and

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

2012-11-02 Thread Jeff Roberson
Author: jeff Date: Fri Nov 2 21:04:06 2012 New Revision: 242492 URL: http://svn.freebsd.org/changeset/base/242492 Log: - In cancel_mkdir_dotdot don't panic if the inodedep is not available. If the previous diradd had already finished it could have been reclaimed already. This

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

2012-11-07 Thread Jeff Roberson
Author: jeff Date: Thu Nov 8 01:41:04 2012 New Revision: 242734 URL: http://svnweb.freebsd.org/changeset/base/242734 Log: - Implement BIO_FLUSH support around journal entries. This will not 100% solve power loss problems with dishonest write caches. However, it should improve the

svn commit: r242736 - head/sys/kern

2012-11-07 Thread Jeff Roberson
Author: jeff Date: Thu Nov 8 01:46:47 2012 New Revision: 242736 URL: http://svnweb.freebsd.org/changeset/base/242736 Log: - Change ULE to use dynamic slice sizes for the timeshare queue in order to further reduce latency for threads in this queue. This should help as threads

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

2012-11-08 Thread Jeff Roberson
Author: jeff Date: Fri Nov 9 04:04:25 2012 New Revision: 242815 URL: http://svnweb.freebsd.org/changeset/base/242815 Log: - Correct rev 242734, segments can sometimes get stuck. Be a bit more defensive with segment state. Reported by: b. f. bf1...@googlemail.com Modified:

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

2012-11-12 Thread Jeff Roberson
Author: jeff Date: Mon Nov 12 19:53:55 2012 New Revision: 242924 URL: http://svnweb.freebsd.org/changeset/base/242924 Log: - Fix a bug that has existed since the original softdep implementation. When a background copy of a cg is written we complete any work associated with that

svn commit: r243017 - head/sbin/fsck_ffs

2012-11-13 Thread Jeff Roberson
Author: jeff Date: Wed Nov 14 06:31:47 2012 New Revision: 243017 URL: http://svnweb.freebsd.org/changeset/base/243017 Log: - blk_equals() is too strict. If the journal entry defines more frags than we're claiming it should still be considered an exact match. This would previously

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

2012-11-13 Thread Jeff Roberson
Author: jeff Date: Wed Nov 14 06:37:43 2012 New Revision: 243018 URL: http://svnweb.freebsd.org/changeset/base/243018 Log: - Fix a truncation bug with softdep journaling that could leak blocks on crash. When truncating a file that never made it to disk we use the canceled allocation

svn commit: r243046 - in head: sys/kern sys/sparc64/include sys/sys usr.bin/ktrdump

2012-11-14 Thread Jeff Roberson
Author: jeff Date: Thu Nov 15 00:51:57 2012 New Revision: 243046 URL: http://svnweb.freebsd.org/changeset/base/243046 Log: - Implement run-time expansion of the KTR buffer via sysctl. - Implement a function to ensure that all preempted threads have switched back out at least once. Use

svn commit: r244444 - head/sys/kern

2012-12-19 Thread Jeff Roberson
Author: jeff Date: Wed Dec 19 20:08:06 2012 New Revision: 24 URL: http://svnweb.freebsd.org/changeset/base/24 Log: - Correctly handle EWOULDBLOCK in quiesce_cpus Discussed with: mav Modified: head/sys/kern/subr_smp.c Modified: head/sys/kern/subr_smp.c

svn commit: r244445 - in head/sys: kern sys tools

2012-12-19 Thread Jeff Roberson
Author: jeff Date: Wed Dec 19 20:10:00 2012 New Revision: 25 URL: http://svnweb.freebsd.org/changeset/base/25 Log: - Add new machine parsable KTR macros for timing events. - Use this new format to automatically handle syscalls and VOPs. This changes the earlier format but is

svn commit: r280774 - head/sys/vm

2015-03-27 Thread Jeff Roberson
Author: jeff Date: Sat Mar 28 02:36:49 2015 New Revision: 280774 URL: https://svnweb.freebsd.org/changeset/base/280774 Log: - Eliminate pagequeue locking in the dirty code in vm_pageout_scan(). - Use a more precise series of tests to see if the page changed while we were locking the

svn commit: r281184 - head/sys/vm

2015-04-06 Thread Jeff Roberson
Author: jeff Date: Tue Apr 7 02:18:52 2015 New Revision: 281184 URL: https://svnweb.freebsd.org/changeset/base/281184 Log: - Simplify vm_pageout_scan() by introducing a new vm_pageout_clean() function that does the locking and validation associated with cleaning a page. This moves

svn commit: r285993 - in head/sys: kern sys ufs/ffs vm

2015-07-28 Thread Jeff Roberson
Author: jeff Date: Wed Jul 29 02:26:57 2015 New Revision: 285993 URL: https://svnweb.freebsd.org/changeset/base/285993 Log: - Make 'struct buf *buf' private to vfs_bio.c. Having a global variable 'buf' is inconvenient and has lead me to some irritating to discover bugs over the

svn commit: r285995 - head/sys/fs/ext2fs

2015-07-28 Thread Jeff Roberson
Author: jeff Date: Wed Jul 29 03:06:08 2015 New Revision: 285995 URL: https://svnweb.freebsd.org/changeset/base/285995 Log: - Remove some dead code copied from ffs. Modified: head/sys/fs/ext2fs/ext2_subr.c Modified: head/sys/fs/ext2fs/ext2_subr.c

svn commit: r285981 - head/sys/kern

2015-07-28 Thread Jeff Roberson
Author: jeff Date: Tue Jul 28 20:24:09 2015 New Revision: 285981 URL: https://svnweb.freebsd.org/changeset/base/285981 Log: - Eliminate the EMPTYKVA queue. It served as a cache of KVA allocations attached to bufs to avoid the overhead of the vm. This purposes is now better served

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-22 Thread Jeff Roberson
On Tue, 30 Jun 2015, Mark Murray wrote: Author: markm Date: Tue Jun 30 17:00:45 2015 New Revision: 284959 URL: https://svnweb.freebsd.org/changeset/base/284959 Log: Huge cleanup of random(4) code. * GENERAL - Update copyright. - Make kernel options for RANDOM_YARROW and RANDOM_DUMMY. Set

svn commit: r285808 - head/sys/kern

2015-07-22 Thread Jeff Roberson
Author: jeff Date: Thu Jul 23 02:20:41 2015 New Revision: 285808 URL: https://svnweb.freebsd.org/changeset/base/285808 Log: - Don't defeat the FIFO nature of the buffer cache by eliminating the most recently used buffer when we are under paging pressure. This is a perversion of the

svn commit: r285819 - in head/sys: cam dev/nvme kern sys ufs/ffs vm

2015-07-23 Thread Jeff Roberson
Author: jeff Date: Thu Jul 23 19:13:41 2015 New Revision: 285819 URL: https://svnweb.freebsd.org/changeset/base/285819 Log: Refactor unmapped buffer address handling. - Use pointer assignment rather than a combination of pointers and flags to switch buffers between unmapped and mapped.

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-23 Thread Jeff Roberson
On Thu, 23 Jul 2015, Mark R V Murray wrote: On 23 Jul 2015, at 00:53, Warner Losh i...@bsdimp.com wrote: Neither filesystem operations nor allocations are random events. They are trivially influenced by user code. A malicious attacker could create repeated patterns of allocations or

Re: svn commit: r284959 - in head: . share/man/man4 share/man/man9 sys/conf sys/dev/glxsb sys/dev/hifn sys/dev/random sys/dev/rndtest sys/dev/safe sys/dev/syscons sys/dev/ubsec sys/dev/virtio/random s

2015-07-22 Thread Jeff Roberson
On Wed, 22 Jul 2015, Mark R V Murray wrote: On 22 Jul 2015, at 22:42, Jeff Roberson jrober...@jroberson.net wrote: On Tue, 30 Jun 2015, Mark Murray wrote: - Add harvesting of slab allocator events. This needs to be checked for weighing down the allocator code. Neither filesystem

Re: svn commit: r289279 - in head/sys: kern vm

2015-11-01 Thread Jeff Roberson
On Sun, 1 Nov 2015, NGie Cooper wrote: On Nov 1, 2015, at 19:20, Adrian Chadd wrote: hiya jeff, this broke low-memory, no-swap boards (eg MIPS.) On a MIPS board (carambola2) with 32MB of RAM, just scp'ing a kernel into the rootfs on USB hangs the system. After

svn commit: r289279 - in head/sys: kern vm

2015-10-13 Thread Jeff Roberson
Author: jeff Date: Wed Oct 14 02:10:07 2015 New Revision: 289279 URL: https://svnweb.freebsd.org/changeset/base/289279 Log: Parallelize the buffer cache and rewrite getnewbuf(). This results in a 8x performance improvement in a micro benchmark on a 4 socket machine. - Get buffer

svn commit: r288299 - head/sys/kern

2015-09-26 Thread Jeff Roberson
Author: jeff Date: Sun Sep 27 05:16:06 2015 New Revision: 288299 URL: https://svnweb.freebsd.org/changeset/base/288299 Log: - Collapse vfs_vmio_truncate & vfs_vmio_release into a single function. - Allow vfs_vmio_invalidate() to free the pages, leaving us with a single loop and bufobj

svn commit: r288137 - head/sys/kern

2015-09-22 Thread Jeff Roberson
Author: jeff Date: Tue Sep 22 23:57:52 2015 New Revision: 288137 URL: https://svnweb.freebsd.org/changeset/base/288137 Log: Some refactoring of the buf/vm interface. - Eliminate bogus page replacement that is inconsistently applied in the invalidation loop in brelse. This has been a

svn commit: r288144 - head/sys/kern

2015-09-23 Thread Jeff Roberson
Author: jeff Date: Wed Sep 23 07:44:07 2015 New Revision: 288144 URL: https://svnweb.freebsd.org/changeset/base/288144 Log: - Fix a nonsense reordering that somehow slipped into my last diff. Reported by: pho Modified: head/sys/kern/vfs_bio.c Modified: head/sys/kern/vfs_bio.c

svn commit: r326347 - in head/sys: kern sys vm

2017-11-28 Thread Jeff Roberson
Author: jeff Date: Tue Nov 28 23:40:54 2017 New Revision: 326347 URL: https://svnweb.freebsd.org/changeset/base/326347 Log: Eliminate kmem_arena and kmem_object in preparation for further NUMA commits. The arena argument to kmem_*() is now only used in an assert. A follow-up commit will

svn commit: r326346 - head/sys/vm

2017-11-28 Thread Jeff Roberson
Author: jeff Date: Tue Nov 28 23:18:35 2017 New Revision: 326346 URL: https://svnweb.freebsd.org/changeset/base/326346 Log: Move domain iterators into the page layer where domain selection should take place. This makes the majority of the phys layer explicitly domain specific. Reviewed

svn commit: r325530 - in head/sys: amd64/amd64 arm64/arm64 fs/tmpfs kern mips/mips powerpc/aim powerpc/powerpc sparc64/sparc64 vm x86/iommu

2017-11-07 Thread Jeff Roberson
Author: jeff Date: Wed Nov 8 02:39:37 2017 New Revision: 325530 URL: https://svnweb.freebsd.org/changeset/base/325530 Log: Replace manyinstances of VM_WAIT with blocking page allocation flags similar to the kernel memory allocator. This simplifies NUMA allocation because the domain will

Re: svn commit: r335579 - head/sys/vm

2018-06-23 Thread Jeff Roberson
On Sat, 23 Jun 2018, Jeff Roberson wrote: Author: jeff Date: Sat Jun 23 08:10:09 2018 New Revision: 335579 URL: https://svnweb.freebsd.org/changeset/base/335579 Log: Sort uma_zone fields according to 64 byte cache line with adjacent line prefetch on 64bit architectures. Prior to this, two

svn commit: r335579 - head/sys/vm

2018-06-23 Thread Jeff Roberson
Author: jeff Date: Sat Jun 23 08:10:09 2018 New Revision: 335579 URL: https://svnweb.freebsd.org/changeset/base/335579 Log: Sort uma_zone fields according to 64 byte cache line with adjacent line prefetch on 64bit architectures. Prior to this, two lines were needed for the fast path and

svn commit: r327900 - in head: lib/libmemstat sys/amd64/amd64 sys/arm64/arm64 sys/i386/i386 sys/kern sys/mips/mips sys/powerpc/aim sys/powerpc/powerpc sys/riscv/riscv sys/sparc64/sparc64 sys/sys sy...

2018-01-12 Thread Jeff Roberson
Author: jeff Date: Fri Jan 12 23:25:05 2018 New Revision: 327900 URL: https://svnweb.freebsd.org/changeset/base/327900 Log: Implement NUMA support in uma(9) and malloc(9). Allocations from specific domains can be done by the _domain() API variants. UMA also supports a first-touch policy

  1   2   >