svn commit: r254306 - in stable/9/sys: dev/aacraid dev/advansys dev/aic7xxx dev/amr dev/an dev/arcmsr dev/asr dev/ata dev/bktr dev/buslogic dev/dpt dev/e1000 dev/fatm dev/firewire dev/fxp dev/hatm ...

2013-08-13 Thread Scott Long
Author: scottl Date: Tue Aug 13 22:05:50 2013 New Revision: 254306 URL: http://svnweb.freebsd.org/changeset/base/254306 Log: Merge r254263: Update PCI drivers to no longer look at the MEMIO-enabled bit in the PCI command register. The lazy BAR allocation code in FreeBSD sometimes disab

svn commit: r252063 - stable/9/sys/geom/mirror

2013-06-21 Thread Scott Long
Author: scottl Date: Fri Jun 21 17:36:33 2013 New Revision: 252063 URL: http://svnweb.freebsd.org/changeset/base/252063 Log: MFC r252010, r252011: Mark geom_mirror as capable of unmapped i/o Obtained from:Netflix Modified: stable/9/sys/geom/mirror/g_mirror.c Modified: stabl

svn commit: r251990 - stable/9/sys/cam

2013-06-18 Thread Scott Long
Author: scottl Date: Wed Jun 19 05:12:31 2013 New Revision: 251990 URL: http://svnweb.freebsd.org/changeset/base/251990 Log: MFC r251989: Fix an unfortunate typo with the compat shims Obtained from:Netflix Modified: stable/9/sys/cam/cam_compat.h Modified: stable/9/sys/cam/c

svn commit: r251987 - stable/9/sys/sys

2013-06-18 Thread Scott Long
Author: scottl Date: Wed Jun 19 05:02:25 2013 New Revision: 251987 URL: http://svnweb.freebsd.org/changeset/base/251987 Log: Poor man's binary compatibility of the struct bio: move the added structure members to the end of the structure. Obtained from:Netflix Modified: stable/9

svn commit: r251986 - stable/9/sys/cam

2013-06-18 Thread Scott Long
Author: scottl Date: Wed Jun 19 04:57:47 2013 New Revision: 251986 URL: http://svnweb.freebsd.org/changeset/base/251986 Log: Tweak the CAM_DATA flags that were added with r251874 to allow source compatibility and almost 100% binary compatibility. The old CAM_SG_LIST_PHYS flag is essentially

svn commit: r251942 - in stable/9/sys: geom kern sys

2013-06-18 Thread Scott Long
Author: scottl Date: Tue Jun 18 14:46:42 2013 New Revision: 251942 URL: http://svnweb.freebsd.org/changeset/base/251942 Log: MFC r248712: Do not pass unmapped buffers to drivers that cannot handle them Submitted by: kan, mav Obtained from:Netflix Modified: stable/9/sys/geo

svn commit: r251899 - in stable/9/sys/dev: isci mps

2013-06-17 Thread Scott Long
Author: scottl Date: Tue Jun 18 05:37:06 2013 New Revision: 251899 URL: http://svnweb.freebsd.org/changeset/base/251899 Log: MFC r248825, 248775 Add unmapped i/o support for the mps and isci drivers. Submitted by: mav, jimharris Obtained from:Netflix Modified: stable/9/sys

svn commit: r251897 - in stable/9/sys: amd64/amd64 arm/arm cam cam/ata cam/scsi dev/ahci dev/md dev/siis dev/tws geom geom/part i386/i386 i386/include i386/xen ia64/ia64 kern mips/mips powerpc/aim ...

2013-06-17 Thread Scott Long
Author: scottl Date: Tue Jun 18 05:21:40 2013 New Revision: 251897 URL: http://svnweb.freebsd.org/changeset/base/251897 Log: Merge the second part of the unmapped I/O changes. This enables the infrastructure in the block layer and UFS filesystem as well as a few drivers. The list of MFC re

svn commit: r251893 - stable/9/sys/dev/amd

2013-06-17 Thread Scott Long
Author: scottl Date: Tue Jun 18 04:11:16 2013 New Revision: 251893 URL: http://svnweb.freebsd.org/changeset/base/251893 Log: Fix typos in the last revision. Thanks to Andrey Chernov for his kind patience. Obtained from:Netflix Modified: stable/9/sys/dev/amd/amd.c Modified: st

svn commit: r251888 - stable/9/sys/dev/amd

2013-06-17 Thread Scott Long
Author: scottl Date: Tue Jun 18 03:34:08 2013 New Revision: 251888 URL: http://svnweb.freebsd.org/changeset/base/251888 Log: Catch up to the changes from r251874. This isn't an MFC because the amd(4) driver no longer exists in FreeBSD 10. Obtained from:Netflix Modified: stable

svn commit: r251874 - in stable/9/sys: arm/arm cam cam/ctl cam/scsi conf dev/aac dev/advansys dev/aha dev/ahb dev/ahci dev/aic dev/aic7xxx dev/amr dev/arcmsr dev/ata dev/buslogic dev/ciss dev/dpt d...

2013-06-17 Thread Scott Long
Author: scottl Date: Tue Jun 18 00:36:53 2013 New Revision: 251874 URL: http://svnweb.freebsd.org/changeset/base/251874 Log: Big MFC of the physbio changes necessary for unmapped I/O. These changes have been in production at Netflix for several months with significant success. MFC r246

svn commit: r251873 - stable/9/sys/arm/arm

2013-06-17 Thread Scott Long
Author: scottl Date: Mon Jun 17 23:21:18 2013 New Revision: 251873 URL: http://svnweb.freebsd.org/changeset/base/251873 Log: MFC r244575: The manpage states that bus_dmamap_create(9) returns ENOMEM if it can't allocate a map or mapping resources. That seems to imply that any memory alloca

svn commit: r251871 - in stable/9/sys: arm/arm arm/include conf kern sys

2013-06-17 Thread Scott Long
Author: scottl Date: Mon Jun 17 21:41:14 2013 New Revision: 251871 URL: http://svnweb.freebsd.org/changeset/base/251871 Log: MFC r244414: Properly implement pmap_[get|set]_memattr MFC r244466: Create an architecture-agnostic buffer pool manager that uses uma(9) to manage a set of powe

svn commit: r251868 - in stable/9/sys: arm/arm mips/mips

2013-06-17 Thread Scott Long
Author: scottl Date: Mon Jun 17 20:40:16 2013 New Revision: 251868 URL: http://svnweb.freebsd.org/changeset/base/251868 Log: MFC r240177: Dynamically allocate the S/G lists passed to callback routines rather than allocating them on the stack of various bus_dmamap_load*() functions. The

svn commit: r251866 - stable/9/sys/arm/arm

2013-06-17 Thread Scott Long
Author: scottl Date: Mon Jun 17 20:26:19 2013 New Revision: 251866 URL: http://svnweb.freebsd.org/changeset/base/251866 Log: MFC r236991: Final whitespace trim. Submitted by: imp Approved by: marius Obtained from:Netflix Modified: stable/9/sys/arm/arm/bcopyinout_xscale.

svn commit: r251860 - stable/9/sys/mips/mips

2013-06-17 Thread Scott Long
Author: scottl Date: Mon Jun 17 19:45:27 2013 New Revision: 251860 URL: http://svnweb.freebsd.org/changeset/base/251860 Log: MFC r242465: Free the dma map -after- it's checked, not before. Or you'll be potentially referencing already-freed memory. MFC r242466: Drop this from 500 to 12

Re: svn commit: r251372 - in stable/9/sys/cam: ata scsi

2013-06-05 Thread Scott Long
On Jun 5, 2013, at 9:02 AM, Steven Hartland wrote: > > > - Original Message - From: "Justin T. Gibbs" > > > On Jun 4, 2013, at 3:47, Steven Hartland wrote: > >> > Author: smh >> > Date: Tue Jun 4 10:47:44 2013 >> > New Revision: 251372 >> > URL: http://svnweb.freebsd.org/changese

Re: svn commit: r251182 - stable/9/sys/dev/aha

2013-05-31 Thread Scott Long
Thanks! Scott On May 31, 2013, at 9:19 AM, John Baldwin wrote: > Author: jhb > Date: Fri May 31 15:19:00 2013 > New Revision: 251182 > URL: http://svnweb.freebsd.org/changeset/base/251182 > > Log: > MFC 241611: > Fix aha(4) build with i386 LINT (which includes 'device mca'). > > Modified: >

svn commit: r251164 - in stable/9/sys/dev: advansys aha ahb buslogic dpt

2013-05-30 Thread Scott Long
Author: scottl Date: Thu May 30 21:54:48 2013 New Revision: 251164 URL: http://svnweb.freebsd.org/changeset/base/251164 Log: MFC 241492, 241588, 241589, 241590, 241592, 241593, 241603, 241605 Modernize and lock the aha, ahb, adv, adw, bt, and dpt drivers. Submitted by: jhb Obtained f

svn commit: r251145 - in stable/9/sys: kern sys

2013-05-30 Thread Scott Long
Author: scottl Date: Thu May 30 17:17:22 2013 New Revision: 251145 URL: http://svnweb.freebsd.org/changeset/base/251145 Log: MFC r248504: Add a convenience macro bread_gb() to wrap a call to breadn_flags(). Comparing with bread(), it adds an argument to pass the flags

svn commit: r251144 - in stable/9/sys: fs/udf kern sys ufs/ffs

2013-05-30 Thread Scott Long
Author: scottl Date: Thu May 30 16:51:48 2013 New Revision: 251144 URL: http://svnweb.freebsd.org/changeset/base/251144 Log: MFC r248282, in a modified fashion. From the original changelog: Add currently unused flag argument to the cluster_read(), cluster_write() and cluster_

svn commit: r250961 - stable/9/sys/cam

2013-05-23 Thread Scott Long
Author: scottl Date: Fri May 24 06:13:36 2013 New Revision: 250961 URL: http://svnweb.freebsd.org/changeset/base/250961 Log: Revert r250948, it was merged too soon. Modified: stable/9/sys/cam/cam_periph.c Modified: stable/9/sys/cam/cam_periph.c ===

svn commit: r250948 - stable/9/sys/cam

2013-05-23 Thread Scott Long
Author: scottl Date: Thu May 23 22:48:40 2013 New Revision: 250948 URL: http://svnweb.freebsd.org/changeset/base/250948 Log: MFC 248501: Assert that a ccb passed to cam_periph_mapmem() for XPT_SCSI_IO and XPT_ATA_IO holds virtual buffer address. Submitted by: kib Obtained from:

svn commit: r250947 - in stable/9/sys: kern ufs/ffs vm

2013-05-23 Thread Scott Long
Author: scottl Date: Thu May 23 22:45:58 2013 New Revision: 250947 URL: http://svnweb.freebsd.org/changeset/base/250947 Log: MFC r248283: Some style fixes Submitted by: kib Obtained from:Netflix Modified: stable/9/sys/kern/vfs_bio.c stable/9/sys/kern/vfs_cluster.c stab

svn commit: r250907 - stable/9/sys/kern

2013-05-22 Thread Scott Long
Author: scottl Date: Wed May 22 10:37:28 2013 New Revision: 250907 URL: http://svnweb.freebsd.org/changeset/base/250907 Log: MFC r248830, r250027, r250409 Submitted by: gibbs, andre, kib Obtained from:Netflix Modified: stable/9/sys/kern/uipc_syscalls.c Directory Properties: s

svn commit: r250906 - stable/9/sys/kern

2013-05-22 Thread Scott Long
Author: scottl Date: Wed May 22 08:44:21 2013 New Revision: 250906 URL: http://svnweb.freebsd.org/changeset/base/250906 Log: MFC r250327 Add a sysctl vfs.read_min to complement the exiting vfs.read_max. It defaults to 1, meaning that it's off. When read-ahead is enabled on a file, t

Re: svn commit: r249152 - in stable/9/sys: cam cam/ata cam/scsi geom geom/part

2013-04-24 Thread Scott Long
I've already responded to Alexander in private, but in case he doesn't respond, I'm stating publicly that I object to this commit (and the corresponding one in HEAD) and I'd like to have it reviewed and reverted. Scott On Apr 5, 2013, at 4:41 AM, Alexander Motin wrote: > Author: mav > Date: F

Re: svn commit: r249611 - in stable/9/sys/cam: ata scsi

2013-04-22 Thread Scott Long
What problem does this solve, other than to unintentionally break the MPT driver? This needs to be backed out of HEAD and stable/9 until a better analysis is done. Scott On Apr 18, 2013, at 3:44 AM, Alexander Motin wrote: > Author: mav > Date: Thu Apr 18 09:44:00 2013 > New Revision: 249611

svn commit: r245851 - stable/9/sys/geom

2013-01-23 Thread Scott Long
Author: scottl Date: Wed Jan 23 22:56:03 2013 New Revision: 245851 URL: http://svnweb.freebsd.org/changeset/base/245851 Log: MFC r239132: Clone BIO_ORDERED flag, for disk drivers (namely CAM) that try to consume it. Modified: stable/9/sys/geom/geom_io.c Directory Properties: stable/

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

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:40:38 2013 New Revision: 245779 URL: http://svnweb.freebsd.org/changeset/base/245779 Log: MFC r243018: - 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

svn commit: r245778 - stable/9/sbin/fsck_ffs

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:38:43 2013 New Revision: 245778 URL: http://svnweb.freebsd.org/changeset/base/245778 Log: MFC r243017: - 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

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

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:22:58 2013 New Revision: 245776 URL: http://svnweb.freebsd.org/changeset/base/245776 Log: MFC r242924: - 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

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

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:18:33 2013 New Revision: 245775 URL: http://svnweb.freebsd.org/changeset/base/245775 Log: MFC r242734, 242815: - Implement BIO_FLUSH support around journal entries. This will not 100% solve power loss problems with dishonest write caches. However,

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

2013-01-21 Thread Scott Long
Author: scottl Date: Tue Jan 22 07:10:26 2013 New Revision: 245774 URL: http://svnweb.freebsd.org/changeset/base/245774 Log: MFC r242492: - 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

Re: svn commit: r243989 - in stable/9: cddl/lib/libdtrace sys/kern sys/modules/dtrace sys/modules/dtrace/dtio sys/modules/dtrace/dtraceall sys/sys

2012-12-07 Thread Scott Long
Publicly, I'll state that I don't think that devstat is the right place for these, and I was hoping to have some time to move them to a better place, or at least fix up the existing problems that are present. This commit shouldn't be considered the final word the stability of this set of SDT pr

svn commit: r240718 - stable/9/sys/dev/ixgbe

2012-09-19 Thread Scott Long
Author: scottl Date: Thu Sep 20 01:23:54 2012 New Revision: 240718 URL: http://svn.freebsd.org/changeset/base/240718 Log: Sync the ixgbe driver from HEAD to stable/9 r236627 - Fix driver deadlock due to OACTIVE flag r236729 - Fix prefetch programming typo r239940 - Improve small RX pack

svn commit: r237740 - stable/9/sbin/camcontrol

2012-06-28 Thread Scott Long
Author: scottl Date: Fri Jun 29 03:37:23 2012 New Revision: 237740 URL: http://svn.freebsd.org/changeset/base/237740 Log: Merge the firmware download functionality into camcontrol, as well as several other minor code changes. Obtained from:Netflix, Inc. Added: stable/9/sbin/cam

svn commit: r233024 - in stable/9/sys/dev: advansys ahb aic7xxx amr an arcmsr asr buslogic bxe ciss cxgb de dpt en glxsb hatm hifn hptiop hptmv ida if_ndis iir ips ipw ixgb ixgbe lmc mfi mge mlx ml...

2012-03-16 Thread Scott Long
Author: scottl Date: Fri Mar 16 08:46:58 2012 New Revision: 233024 URL: http://svn.freebsd.org/changeset/base/233024 Log: MFC 232854,232874,232882,232883,232886 for bus_get_dma_tag() Modified: stable/9/sys/dev/advansys/adv_eisa.c stable/9/sys/dev/advansys/adv_isa.c stable/9/sys/dev/advans