Re: svn commit: r326036 - head/sys/cam/scsi

2017-11-22 Thread Justin T. Gibbs
I'm sure it was to improve the performance of some SSD we were testing at Spectra. -- Justin > On Nov 22, 2017, at 9:16 AM, Alan Somers wrote: > > I believe the original motivation was to reduce FLUSH CACHE EXT > activity with some old SSDs that handled that command very slowly. > gibbs might

Re: svn commit: r222537 - in head/sys: kern sys

2011-06-01 Thread Justin T. Gibbs
On 6/1/11 12:07 AM, Andriy Gapon wrote: on 31/05/2011 20:29 Kenneth D. Merry said the following: > + mtx_init(&mbp->msg_lock, "msgbuf", NULL, MTX_SPIN); Sorry that I didn't gather myself together for a review before this change got actually committed. Do you see any reason not to make th

Re: svn commit: r221397 - in head/sys: kern sys

2011-06-09 Thread Justin T. Gibbs
On 5/3/11 12:54 PM, Andrey V. Elsukov wrote: Author: ae Date: Tue May 3 18:54:18 2011 New Revision: 221397 URL: http://svn.freebsd.org/changeset/base/221397 Log: Add make_dev_alias_p() function. It is similar to make_dev_alias(), but it may return an error like make_dev_p() does. Sorry

svn commit: r222950 - in head: cddl/compat/opensolaris/include sys/cddl/compat/opensolaris/sys sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2011-06-10 Thread Justin T. Gibbs
Author: gibbs Date: Fri Jun 10 20:10:30 2011 New Revision: 222950 URL: http://svn.freebsd.org/changeset/base/222950 Log: Remove C constructs that are incompatible with C++ from various OpenSolaris and ZFS header files. These changes are sufficient to allow a C++ program to use the libzfs li

svn commit: r222952 - head/sys

2011-06-10 Thread Justin T. Gibbs
Author: gibbs Date: Fri Jun 10 20:51:41 2011 New Revision: 222952 URL: http://svn.freebsd.org/changeset/base/222952 Log: Include sys/xen in cscope tag file generation. Modified: head/sys/Makefile Modified: head/sys/Makefile

svn commit: r222975 - in head/sys: dev/xen/blkback dev/xen/blkfront dev/xen/control dev/xen/netfront xen/interface/io xen/xenbus xen/xenstore

2011-06-10 Thread Justin T. Gibbs
Author: gibbs Date: Sat Jun 11 04:59:01 2011 New Revision: 222975 URL: http://svn.freebsd.org/changeset/base/222975 Log: Monitor and emit events for XenStore changes to XenBus trees of the devices we manage. These changes can be due to writes we make ourselves or due to changes made by the

svn commit: r223059 - head/sys/dev/xen/blkback

2011-06-13 Thread Justin T. Gibbs
Author: gibbs Date: Mon Jun 13 20:36:29 2011 New Revision: 223059 URL: http://svn.freebsd.org/changeset/base/223059 Log: Several enhancements to the Xen block back driver. sys/dev/xen/blkback/blkback.c: o Implement front-end request coalescing. This greatly improves the p

svn commit: r223061 - head/sys/kern

2011-06-13 Thread Justin T. Gibbs
Author: gibbs Date: Mon Jun 13 21:21:02 2011 New Revision: 223061 URL: http://svn.freebsd.org/changeset/base/223061 Log: Fix a couple of race conditions in devstat(9) initialization. In devstat_new_entry(), there is no need to initialize the queue and the mutex in this function. There ar

svn commit: r223081 - in head: sbin/camcontrol sys/cam sys/cam/scsi

2011-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Jun 14 14:53:17 2011 New Revision: 223081 URL: http://svn.freebsd.org/changeset/base/223081 Log: Lay groundwork in CAM for recording and reporting physical path and other device attributes stored in the CAM Existing Device Table (EDT). This includes some infrastructur

svn commit: r223084 - head/sys/cam/scsi

2011-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Jun 14 16:05:00 2011 New Revision: 223084 URL: http://svn.freebsd.org/changeset/base/223084 Log: sys/cam/scsi/scsi_da.c: - Only attempt the closing synchronize cache on a disk if it is still there. - When a device is lost, report the number of ou

svn commit: r223085 - in head/sys: kern sys

2011-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Jun 14 16:29:43 2011 New Revision: 223085 URL: http://svn.freebsd.org/changeset/base/223085 Log: sys/sys/conf.h: sys/kern/kern_conf.c: Add make_dev_physpath_alias(). This interface takes the parent cdev of the alias, an old alias cdev (if any) t

svn commit: r223089 - in head: sys/cam/ata sys/cam/scsi sys/geom sys/sys usr.sbin/diskinfo

2011-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Jun 14 17:10:32 2011 New Revision: 223089 URL: http://svn.freebsd.org/changeset/base/223089 Log: Plumb device physical path reporting from CAM devices, through GEOM and DEVFS, and make it accessible via the diskinfo utility. Extend GEOM's generic attribute query me

svn commit: r223099 - head/sys/kern

2011-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Jun 14 21:37:25 2011 New Revision: 223099 URL: http://svn.freebsd.org/changeset/base/223099 Log: sys/kern/subr_kdb.c: Modify the "alternate break sequence" detecting state machine so that only a contiguous invocation of the break sequence is accept

svn commit: r223556 - head/sys/cam

2011-06-25 Thread Justin T. Gibbs
Author: gibbs Date: Sun Jun 26 01:14:54 2011 New Revision: 223556 URL: http://svn.freebsd.org/changeset/base/223556 Log: cam/cam_xpt.c: In camisr_runqueue(), we need to run the sims queue regardless of whether or not the current peripheral has more work to do. This rever

svn commit: r223557 - head/sys/cam/scsi

2011-06-25 Thread Justin T. Gibbs
Author: gibbs Date: Sun Jun 26 01:32:46 2011 New Revision: 223557 URL: http://svn.freebsd.org/changeset/base/223557 Log: cam/scsi/scsi_cd.c: In cdregister(), hold the periph lock semaphore during changer probe/configuration. This removes a window where an open of the cd

svn commit: r224169 - in head/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2011-07-17 Thread Justin T. Gibbs
Author: gibbs Date: Mon Jul 18 02:13:21 2011 New Revision: 224169 URL: http://svn.freebsd.org/changeset/base/224169 Log: cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_pool.c: o Add zpool_pool_state_to_name() API to libzfs which c

svn commit: r224170 - in head/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2011-07-17 Thread Justin T. Gibbs
Author: gibbs Date: Mon Jul 18 03:00:59 2011 New Revision: 224170 URL: http://svn.freebsd.org/changeset/base/224170 Log: Correct reporting of missing leaf vdevs so that the GUID required to perform pool actions is always displayed. cddl/contrib/opensolaris/cmd/zpool/zpool_main.c:

svn commit: r224171 - in head/cddl/contrib/opensolaris: cmd/zpool lib/libzfs/common

2011-07-17 Thread Justin T. Gibbs
Author: gibbs Date: Mon Jul 18 03:18:06 2011 New Revision: 224171 URL: http://svn.freebsd.org/changeset/base/224171 Log: cddl/contrib/opensolaris/cmd/zpool/zpool_main.c: cddl/contrib/opensolaris/cmd/zpool/zpool.8: cddl/contrib/opensolaris/lib/libzfs/common/libzfs_import.c: Add the "z

svn commit: r210055 - in head/sys/dev/aic7xxx: . aicasm

2010-07-14 Thread Justin T. Gibbs
Author: gibbs Date: Wed Jul 14 14:31:18 2010 New Revision: 210055 URL: http://svn.freebsd.org/changeset/base/210055 Log: Correct logic bug in aicasm's undefined register bit access detection code. The code in question verifies that all register write operations only change bits that are d

svn commit: r211232 - head/sys/kern

2010-08-12 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 12 19:26:27 2010 New Revision: 211232 URL: http://svn.freebsd.org/changeset/base/211232 Log: Properly indent a continue statement. No functional changes. Modified: head/sys/kern/subr_bus.c Modified: head/sys/kern/subr_bus.c ===

svn commit: r211236 - head/sys/kern

2010-08-12 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 12 19:50:40 2010 New Revision: 211236 URL: http://svn.freebsd.org/changeset/base/211236 Log: Allow interrupt driven config hooks to be registered from config hook callbacks. Interrupt driven configuration hooks serve two purposes: they are a mechanism for regi

svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Justin T. Gibbs
Author: gibbs Date: Thu Sep 2 19:40:28 2010 New Revision: 212160 URL: http://svn.freebsd.org/changeset/base/212160 Log: Correct bioq_disksort so that bioq_insert_tail() offers barrier semantic. Add the BIO_ORDERED flag for struct bio and update bio clients to use it. The barrier semantic

Re: svn commit: r212160 - in head/sys: cam/ata cam/scsi cddl/contrib/opensolaris/uts/common/fs/zfs geom geom/sched kern sys

2010-09-02 Thread Justin T. Gibbs
On 9/2/2010 3:39 PM, Pawel Jakub Dawidek wrote: > On Thu, Sep 02, 2010 at 07:40:28PM +0000, Justin T. Gibbs wrote: >> Author: gibbs >> Date: Thu Sep 2 19:40:28 2010 >> New Revision: 212160 >> URL: http://svn.freebsd.org/changeset/base/212160 >> >>

svn commit: r214077 - in head/sys: conf dev/xen/balloon dev/xen/blkback dev/xen/blkfront dev/xen/control dev/xen/netfront dev/xen/xenpci i386/xen xen xen/evtchn xen/interface xen/interface/hvm xen/...

2010-10-19 Thread Justin T. Gibbs
EQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS + * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, + * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISIN

svn commit: r214444 - head/sys/dev/xen/blkback

2010-10-27 Thread Justin T. Gibbs
Author: gibbs Date: Thu Oct 28 04:14:28 2010 New Revision: 21 URL: http://svn.freebsd.org/changeset/base/21 Log: sys/dev/xen/blkback/blkback.c: In xbb_detach() only perform cleanup of our taskqueue and device statistics structures if they have been initialized. Th

svn commit: r216437 - head/sys/xen/xenstore

2010-12-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 14 17:23:49 2010 New Revision: 216437 URL: http://svn.freebsd.org/changeset/base/216437 Log: Remove spurious printf left over from debugging our XenStore support. Modified: head/sys/xen/xenstore/xenstore.c Modified: head/sys/xen/xenstore/xenstore.c ===

svn commit: r216448 - head/sys/xen/xenstore

2010-12-14 Thread Justin T. Gibbs
Author: gibbs Date: Tue Dec 14 20:57:40 2010 New Revision: 216448 URL: http://svn.freebsd.org/changeset/base/216448 Log: Fix a typo in a comment. Noticed by: Attila Nagy Modified: head/sys/xen/xenstore/xenstore.c Modified: head/sys/xen/xenstore/xenstore.c

svn commit: r218056 - head/sys/dev/xen/netfront

2011-01-28 Thread Justin T. Gibbs
Author: gibbs Date: Sat Jan 29 02:36:45 2011 New Revision: 218056 URL: http://svn.freebsd.org/changeset/base/218056 Log: Fix bug in the netfront driver that caused excessive packet drops during receive processing. Remove unnecessary restrictions on the mbuf chain length built during an

svn commit: r225704 - in head/sys: dev/xen/control xen/xenbus xen/xenstore

2011-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Tue Sep 20 23:44:34 2011 New Revision: 225704 URL: http://svn.freebsd.org/changeset/base/225704 Log: Properly handle suspend/resume events in the Xen device framework. Sponsored by: BQ Internet sys/xen/xenbus/xenbusb.c: o In xenbusb_resume(), publish the s

svn commit: r225705 - head/sys/dev/xen/blkfront

2011-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Wed Sep 21 00:02:44 2011 New Revision: 225705 URL: http://svn.freebsd.org/changeset/base/225705 Log: Add suspend/resume support to the Xen blkfront driver. Sponsored by: BQ Internet sys/dev/xen/blkfront/block.h: sys/dev/xen/blkfront/blkfront.c: Remove now

svn commit: r225706 - head/sys/dev/xen/control

2011-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Wed Sep 21 00:06:02 2011 New Revision: 225706 URL: http://svn.freebsd.org/changeset/base/225706 Log: [ Forced commit. Actual changes accidentally included in r225704 ] sys/dev/xen/control/control.c: Fix locking violations in Xen HVM suspend processing an

svn commit: r225707 - head/sys/dev/xen/netfront

2011-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Wed Sep 21 00:08:25 2011 New Revision: 225707 URL: http://svn.freebsd.org/changeset/base/225707 Log: Correct suspend/resume support in the Netfront driver. Sponsored by: BQ Internet sys/dev/xen/netfront/netfront.c: o Implement netfront_suspend(), a specializ

svn commit: r225708 - head/sys/dev/xen/netfront

2011-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Wed Sep 21 00:13:04 2011 New Revision: 225708 URL: http://svn.freebsd.org/changeset/base/225708 Log: Modify the netfront driver so it can successfully attach to PV devices with the ioemu attribute set. sys/dev/xen/netfront/netfront.c: o If a mac address for the

svn commit: r225709 - head/sys/dev/xen/netfront

2011-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Wed Sep 21 00:15:29 2011 New Revision: 225709 URL: http://svn.freebsd.org/changeset/base/225709 Log: Update netfront so that it queries and honors published back-end features. sys/dev/xen/netfront/netfront.c: o Add xn_query_features() which reads the XenStore a

Re: svn commit: r269404 - head/sys/cddl/compat/opensolaris/sys

2014-08-01 Thread Justin T. Gibbs
On Aug 1, 2014, at 4:33 PM, Xin LI wrote: > Author: delphij > Date: Fri Aug 1 22:33:23 2014 > New Revision: 269404 > URL: http://svnweb.freebsd.org/changeset/base/269404 > > Log: > Split gethrtime() and gethrtime_waitfree() and make the former use > nanouptime() instead of getnanouptime(). n

Re: svn commit: r269404 - head/sys/cddl/compat/opensolaris/sys

2014-08-02 Thread Justin T. Gibbs
On Aug 2, 2014, at 1:44 AM, Xin Li wrote: > Signed PGP part > On 8/1/14 8:59 PM, Justin T. Gibbs wrote: > > On Aug 1, 2014, at 4:33 PM, Xin LI wrote: > > > >> Author: delphij Date: Fri Aug 1 22:33:23 2014 New Revision: > >> 269404 URL: http://svnw

svn commit: r250081 - head/sys/xen/xenstore

2013-04-29 Thread Justin T. Gibbs
Author: gibbs Date: Mon Apr 29 23:08:13 2013 New Revision: 250081 URL: http://svnweb.freebsd.org/changeset/base/250081 Log: xenstore/xenstore.c: Prevent access to invalid memory region when listing an empty directory in the XenStore. Reported by: Bei Guan MFC after:1

svn commit: r250913 - head/sys/dev/xen/netfront

2013-05-22 Thread Justin T. Gibbs
Author: gibbs Date: Wed May 22 17:13:03 2013 New Revision: 250913 URL: http://svnweb.freebsd.org/changeset/base/250913 Log: Correct panic on detach of Xen PV network interfaces. dev/xen/netfront: In netif_free(), properly stop the interface and drain any pending timers prior to

svn commit: r250917 - head/sys/xen/xenbus

2013-05-22 Thread Justin T. Gibbs
Author: gibbs Date: Wed May 22 19:22:44 2013 New Revision: 250917 URL: http://svnweb.freebsd.org/changeset/base/250917 Log: Fix loss of the emulated keyboard on Xen PV HVM domains. xen/xenbus/xenbusb.c: In xenbusb_probe_children(), do not modify the XenBus state of devices for w

svn commit: r251175 - head/sys/dev/xen/blkfront

2013-05-30 Thread Justin T. Gibbs
Author: gibbs Date: Fri May 31 04:43:19 2013 New Revision: 251175 URL: http://svnweb.freebsd.org/changeset/base/251175 Log: Apply the ad* => ada* IDE device name transition to the Xen block front driver. Submitted by: Bei Guan Reviewed by: gibbs MFC after:1 week Modified: hea

svn commit: r251176 - head/sys/dev/xen/netfront

2013-05-30 Thread Justin T. Gibbs
Author: gibbs Date: Fri May 31 04:45:59 2013 New Revision: 251176 URL: http://svnweb.freebsd.org/changeset/base/251176 Log: Make netif_free() safe to call on a partially initialized softc. Sponsored by: Spectra Logic Corporation MFC after:1 week Modified: head/sys/dev/xen/netfront/

svn commit: r251195 - head/sys/dev/xen/blkfront

2013-05-31 Thread Justin T. Gibbs
Author: gibbs Date: Fri May 31 21:05:07 2013 New Revision: 251195 URL: http://svnweb.freebsd.org/changeset/base/251195 Log: Style cleanups. No intended functional changes. o This driver is the "xbd" driver, not the "blkfront", "blkif", "xbf", or "xb" driver. Use the "xbd_" naming co

svn commit: r251204 - head/sys/dev/xen/blkfront

2013-05-31 Thread Justin T. Gibbs
Author: gibbs Date: Fri May 31 22:21:37 2013 New Revision: 251204 URL: http://svnweb.freebsd.org/changeset/base/251204 Log: Style cleanups. No intended functional changes. o Group functions by by their functionality. o Remove superfluous declarations. o Remove more unused (#ifdef'd

svn commit: r251206 - head/sys/dev/xen/blkfront

2013-05-31 Thread Justin T. Gibbs
Author: gibbs Date: Fri May 31 22:33:28 2013 New Revision: 251206 URL: http://svnweb.freebsd.org/changeset/base/251206 Log: Style changes. No intended functional changes. o rename flush_requests => xbd_flush_requests o rename xbd_setup_ring => xbd_alloc_ring Sponsored by: Spectra

svn commit: r251214 - head/sys/dev/xen/blkfront

2013-05-31 Thread Justin T. Gibbs
Author: gibbs Date: Sat Jun 1 04:02:51 2013 New Revision: 251214 URL: http://svnweb.freebsd.org/changeset/base/251214 Log: sys/dev/xen/blkfront/blkfront.c: Remove local, and incorrect, definition for the value of an invalid grant reference. Extract ring cleanup code i

svn commit: r251215 - head/sys/dev/xen/blkfront

2013-05-31 Thread Justin T. Gibbs
Author: gibbs Date: Sat Jun 1 04:07:56 2013 New Revision: 251215 URL: http://svnweb.freebsd.org/changeset/base/251215 Log: sys/dev/xen/blkfront/blkfront.c: Remove dead code. Sponsored by: Spectra Logic Corporation MFC after:1 week Modified: head/sys/dev/xen/blkfront/blkfro

svn commit: r251729 - head/sys/dev/xen/netfront

2013-06-13 Thread Justin T. Gibbs
Author: gibbs Date: Fri Jun 14 03:31:11 2013 New Revision: 251729 URL: http://svnweb.freebsd.org/changeset/base/251729 Log: sys/dev/xen/netfront/netfront.c: In netif_free(), call ifmedia_removeall() after ether_ifdetach() so that bpf listeners are detached, any link state process

svn commit: r251751 - head/sys/dev/xen/blkfront

2013-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Fri Jun 14 17:00:58 2013 New Revision: 251751 URL: http://svnweb.freebsd.org/changeset/base/251751 Log: Improve debugger visibility into queuing functions by removing the macro scheme for defining inline command queuing functions. Prefer enums to #defines. sys/dev

svn commit: r251767 - in head/sys: amd64/include/xen i386/include/xen xen xen/interface xen/interface/arch-arm/hvm xen/interface/arch-ia64 xen/interface/arch-ia64/hvm xen/interface/arch-x86 xen/int...

2013-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Fri Jun 14 23:43:44 2013 New Revision: 251767 URL: http://svnweb.freebsd.org/changeset/base/251767 Log: Upgrade Xen interface headers to Xen 4.2.1. Move FreeBSD from interface version 0x00030204 to 0x00030208. Updates are required to our grant table implementation befo

svn commit: r251772 - head/sys/dev/xen/blkfront

2013-06-14 Thread Justin T. Gibbs
Author: gibbs Date: Sat Jun 15 04:51:31 2013 New Revision: 251772 URL: http://svnweb.freebsd.org/changeset/base/251772 Log: Properly track the different reasons new I/O is temporarily disabled, and only re-enable I/O when all reasons have cleared. sys/dev/xen/blkfront/block.h: In

svn commit: r251807 - head/sys/dev/xen/blkfront

2013-06-16 Thread Justin T. Gibbs
Author: gibbs Date: Sun Jun 16 16:01:24 2013 New Revision: 251807 URL: http://svnweb.freebsd.org/changeset/base/251807 Log: sys/dev/xen/blkfront/blkfront.c: In xbd_thaw(), fix inverted logic to verify the queue is frozen before attempting a thaw. MFC after:1 week Modifi

Re: svn commit: r251767 - in head/sys: amd64/include/xen i386/include/xen xen xen/interface xen/interface/arch-arm/hvm xen/interface/arch-ia64 xen/interface/arch-ia64/hvm xen/interface/arch-x86 xen/in

2013-06-16 Thread Justin T. Gibbs
On Jun 16, 2013, at 3:30 PM, Glen Barber wrote: > On Fri, Jun 14, 2013 at 11:43:45PM +0000, Justin T. Gibbs wrote: >> Author: gibbs >> Date: Fri Jun 14 23:43:44 2013 >> New Revision: 251767 >> URL: http://svnweb.freebsd.org/changeset/base/251767 >> >> Lo

svn commit: r251824 - in head/sys: i386/include/xen i386/xen xen/evtchn xen/interface/foreign

2013-06-16 Thread Justin T. Gibbs
Author: gibbs Date: Mon Jun 17 01:43:07 2013 New Revision: 251824 URL: http://svnweb.freebsd.org/changeset/base/251824 Log: Adjust i386 Xen PV support for updated Xen interface files. sys/i386/include/xen/xenvar.h: sys/i386/xen/xen_machdep.c: sys/xen/interface/foreign/structs.py: sys/

svn commit: r252260 - head/sys/dev/xen/blkfront

2013-06-26 Thread Justin T. Gibbs
Author: gibbs Date: Wed Jun 26 20:39:07 2013 New Revision: 252260 URL: http://svnweb.freebsd.org/changeset/base/252260 Log: In the Xen block front driver, take advantage of backends that support cache flush and write barrier commands. sys/dev/xen/blkfront/block.h: Add per-command

svn commit: r275345 - head/sys/kern

2014-11-30 Thread Justin T. Gibbs
Author: gibbs Date: Sun Nov 30 19:32:00 2014 New Revision: 275345 URL: https://svnweb.freebsd.org/changeset/base/275345 Log: Remove trailing whitespace. Modified: head/sys/kern/subr_taskqueue.c Modified: head/sys/kern/subr_taskqueue.c =

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

2015-04-08 Thread Justin T. Gibbs
On Apr 6, 2015, at 12:45 PM, Dmitry Chagin wrote: > > Author: dchagin > Date: Mon Apr 6 18:45:41 2015 > New Revision: 281162 > URL: https://svnweb.freebsd.org/changeset/base/281162 > > Log: > Properly calculate "UMA Zones" per cpu cache size. Avoid allocating > an extra struct uma_cache since

Re: svn commit: r263778 - in head: bin lib lib/clang sbin share/mk usr.bin usr.sbin

2014-04-24 Thread Justin T. Gibbs
Why wouldn’t we fix these with explicit subdir dependencies (e.g: subdira: subdirb)? I’m pretty sure I had this working with a hacked up bsd.subdir.mk at a previous job, but my memory is hazy. — Justin On Apr 21, 2014, at 7:35 AM, Warner Losh wrote: > (sorry for the top post) > > This loo

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

2013-11-15 Thread Justin T. Gibbs
Author: gibbs Date: Fri Nov 15 16:05:55 2013 New Revision: 258176 URL: http://svnweb.freebsd.org/changeset/base/258176 Log: Fix accounting for hw.realmem on the i386 and amd64 platforms. sys/i386/i386/machdep.c: sys/amd64/amd64/machdep.c: The value reported by FreeBSD as "real mem

svn commit: r258178 - head/sys/dev/xen/balloon

2013-11-15 Thread Justin T. Gibbs
Author: gibbs Date: Fri Nov 15 16:35:28 2013 New Revision: 258178 URL: http://svnweb.freebsd.org/changeset/base/258178 Log: Improve robustness of the Xen balloon driver. sys/dev/xen/balloon/balloon.c: Remove unused and commented out code. Fix deadlock caused by performing

Re: svn commit: r258713 - in head/sys: kern sys

2013-11-29 Thread Justin T. Gibbs
Man page update? — Justin On Nov 28, 2013, at 11:56 AM, Andriy Gapon wrote: > Author: avg > Date: Thu Nov 28 18:56:34 2013 > New Revision: 258713 > URL: http://svnweb.freebsd.org/changeset/base/258713 > > Log: > add taskqueue_drain_all > > This API has semantics similar to that of taskqueue

Re: svn commit: r275679 - head/sys/x86/xen

2014-12-10 Thread Justin T. Gibbs
On Dec 10, 2014, at 6:25 AM, Roger Pau MonnXX wrote: > > Author: royger > Date: Wed Dec 10 13:25:21 2014 > New Revision: 275679 > URL: https://svnweb.freebsd.org/changeset/base/275679 > > Log: > xen/intr: balance dynamic interrupts across available vCPUs > > By default Xen binds all event cha

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

2015-01-04 Thread Justin T. Gibbs
Author: gibbs Date: Sun Jan 4 19:55:44 2015 New Revision: 276665 URL: https://svnweb.freebsd.org/changeset/base/276665 Log: Prevent live-lock and access of destroyed data in taskqueue_drain_all(). Phabric: https://reviews.freebsd.org/D1247 Reviewed by: jhb, avg Sponsored by: Spec

Re: svn commit: r279571 - head/usr.sbin/freebsd-update

2015-03-04 Thread Justin T. Gibbs
On Mar 3, 2015, at 4:20 PM, Allan Jude wrote: > > Author: allanjude (doc committer) > Date: Tue Mar 3 23:20:18 2015 > New Revision: 279571 > URL: https://svnweb.freebsd.org/changeset/base/279571 > > Log: > Add a new safetly belt to freebsd-update to prevent a user doing a minor > update (-pX)

Re: svn commit: r280133 - head/usr.sbin/bhyve

2015-03-16 Thread Justin T. Gibbs
On Mar 16, 2015, at 3:16 AM, Alexander Motin wrote: > > Author: mav > Date: Mon Mar 16 09:15:59 2015 > New Revision: 280133 > URL: https://svnweb.freebsd.org/changeset/base/280133 > > Log: > Increase S/G list size of 32 to 33 entries. > > 32 entries are not enough for the worst case of misali

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

2014-09-17 Thread Justin T. Gibbs
On Sep 17, 2014, at 4:38 AM, Andriy Gapon wrote: > On 25/07/2014 21:41, Xin LI wrote: >> Author: delphij >> Date: Fri Jul 25 18:41:56 2014 >> New Revision: 269093 >> URL: http://svnweb.freebsd.org/changeset/base/269093 >> >> Log: >> Transform the I/O when vdev_physical_ashift is greater than >>

svn commit: r296775 - head/sys/kern

2016-03-12 Thread Justin T. Gibbs
Author: gibbs Date: Sat Mar 12 23:02:53 2016 New Revision: 296775 URL: https://svnweb.freebsd.org/changeset/base/296775 Log: Provide high precision conversion from ns,us,ms -> sbintime in kevent In timer2sbintime(), calculate the second and fractional second portions of the sbintime separ

Re: svn commit: r234074 - in head/sys: amd64/amd64 i386/i386

2012-04-14 Thread Justin T. Gibbs
On Apr 10, 2012, at 5:41 AM, Marius Strobl wrote: > On Tue, Apr 10, 2012 at 01:03:56AM +0100, Attilio Rao wrote: >> Il 10 aprile 2012 00:09, Marius Strobl ha >> scritto: >>> On Mon, Apr 09, 2012 at 10:41:19PM +, Attilio Rao wrote: Author: attilio Date: Mon Apr ??9 22:41:19 2012 >>

svn commit: r231743 - in head/sys: dev/xen/blkback dev/xen/blkfront xen/interface/io xen/xenbus

2012-02-14 Thread Justin T. Gibbs
Author: gibbs Date: Wed Feb 15 06:45:49 2012 New Revision: 231743 URL: http://svn.freebsd.org/changeset/base/231743 Log: Enhance documentation, improve interoperability, and fix defects in FreeBSD's front and back Xen blkif interface drivers. sys/dev/xen/blkfront/block.h: sys/dev/xen/bl

svn commit: r231745 - head/sys/cam/scsi

2012-02-14 Thread Justin T. Gibbs
Author: gibbs Date: Wed Feb 15 07:30:23 2012 New Revision: 231745 URL: http://svn.freebsd.org/changeset/base/231745 Log: Limit the ST3146855LW U320 drive to 55 tags to avoid command timeouts under load. Submitted by: Gelson Borsoi MFC after:1 day Modified: head/sys/cam/scsi/scsi_

svn commit: r231836 - head/sys/xen/interface/io

2012-02-16 Thread Justin T. Gibbs
Author: gibbs Date: Thu Feb 16 21:47:17 2012 New Revision: 231836 URL: http://svn.freebsd.org/changeset/base/231836 Log: Fix "_" vs. "-" typo in a comment. No functional changes. Modified: head/sys/xen/interface/io/blkif.h Modified: head/sys/xen/interface/io/blkif.h

svn commit: r231837 - head/sys/dev/xen/blkback

2012-02-16 Thread Justin T. Gibbs
Author: gibbs Date: Thu Feb 16 21:49:28 2012 New Revision: 231837 URL: http://svn.freebsd.org/changeset/base/231837 Log: Fix typo in a printf string: "specificed" -> "specified". MFC after:1 day Modified: head/sys/dev/xen/blkback/blkback.c Modified: head/sys/dev/xen/blkback/blkback.

svn commit: r231839 - head/sys/dev/xen/blkfront

2012-02-16 Thread Justin T. Gibbs
Author: gibbs Date: Thu Feb 16 21:58:47 2012 New Revision: 231839 URL: http://svn.freebsd.org/changeset/base/231839 Log: Fix a bug in the calculation of the maximum I/O request size. The previous code did not limit the I/O request size based on the maximum number of segments supported by the

svn commit: r231883 - head/sys/dev/xen/blkback

2012-02-17 Thread Justin T. Gibbs
Author: gibbs Date: Fri Feb 17 22:33:46 2012 New Revision: 231883 URL: http://svn.freebsd.org/changeset/base/231883 Log: Fix regression in the handling of blkback close events for devices that are unplugged via QEMU. sys/dev/xen/blkback/blkback.c: Toolstack initiated closures chan

svn commit: r232308 - head/sys/xen/interface/io

2012-02-29 Thread Justin T. Gibbs
Author: gibbs Date: Wed Feb 29 17:47:01 2012 New Revision: 232308 URL: http://svn.freebsd.org/changeset/base/232308 Log: blkif interface comment cleanups. No functional changes sys/xen/interface/io/blkif.h: o Insert space in "Red Hat". o Fix typo "discard-aligment" -> "discard-alignm

svn commit: r233465 - head/sys/dev/xen/blkfront

2012-03-25 Thread Justin T. Gibbs
Author: gibbs Date: Sun Mar 25 14:20:43 2012 New Revision: 233465 URL: http://svn.freebsd.org/changeset/base/233465 Log: Correct failure to attach the PV block front device on Citrix XenServer configurations that advertise the multi-page ring extension, but only allow a single page of ring s

svn commit: r233961 - head/sys/x86/x86

2012-04-06 Thread Justin T. Gibbs
Author: gibbs Date: Fri Apr 6 21:19:28 2012 New Revision: 233961 URL: http://svn.freebsd.org/changeset/base/233961 Log: Fix interrupt load balancing regression, introduced in revision 222813, that left all un-pinned interrupts assigned to CPU 0. sys/x86/x86/intr_machdep.c: In int

Re: svn commit: r254138 - in head: share/man/man9 sys/amd64/amd64 sys/arm/arm sys/cddl/contrib/opensolaris/uts/common/fs/zfs sys/dev/agp sys/dev/drm2/i915 sys/dev/drm2/ttm sys/dev/md sys/fs/fuse sys/f

2013-08-20 Thread Justin T. Gibbs
On Aug 13, 2013, at 8:59 AM, Attilio Rao wrote: > On Tue, Aug 13, 2013 at 4:22 PM, Ulrich Spörlein wrote: >> On Fri, 2013-08-09 at 11:11:12 +, Attilio Rao wrote: >>> Author: attilio >>> Date: Fri Aug 9 11:11:11 2013 >>> New Revision: 254138 >>> URL: http://svnweb.freebsd.org/changeset/base/

svn commit: r254591 - in head: cddl/contrib/opensolaris/cmd/zpool cddl/contrib/opensolaris/lib/libzfs/common cddl/contrib/opensolaris/lib/libzpool/common cddl/contrib/opensolaris/lib/libzpool/commo...

2013-08-20 Thread Justin T. Gibbs
Author: gibbs Date: Wed Aug 21 04:10:24 2013 New Revision: 254591 URL: http://svnweb.freebsd.org/changeset/base/254591 Log: Enhance the ZFS vdev layer to maintain both a logical and a physical minimum allocation size for devices. Use this information to automatically increase ZFS's minimum

svn commit: r254608 - in head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs: . sys

2013-08-21 Thread Justin T. Gibbs
Author: gibbs Date: Wed Aug 21 19:40:43 2013 New Revision: 254608 URL: http://svnweb.freebsd.org/changeset/base/254608 Log: Add kstat entries for ZFS compression statistics. sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zio_compress.h: sys/cddl/contrib/opensolaris/uts/common/fs/zfs/z

svn commit: r254671 - in head/sys/i386: i386 xen

2013-08-22 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 22 20:07:06 2013 New Revision: 254671 URL: http://svnweb.freebsd.org/changeset/base/254671 Log: Rename definition of HYPERVISOR_VIRT_START to avoid conflict with upstream Xen definition found in xen/interface/arch-x86/xen-x86_32.h. Submitted by: Roger Pau Monné

svn commit: r255046 - in head/sys: conf dev/xen/timer i386/include/xen i386/xen

2013-08-29 Thread Justin T. Gibbs
Author: gibbs Date: Thu Aug 29 23:11:58 2013 New Revision: 255046 URL: http://svnweb.freebsd.org/changeset/base/255046 Log: Introduce a new, HVM compatible, paravirtualized timer driver for Xen. Use this new driver for both PV and HVM instances. This driver requires a Xen hypervisor that

svn commit: r255139 - head/sys/x86/xen

2013-09-01 Thread Justin T. Gibbs
Author: gibbs Date: Sun Sep 1 23:49:36 2013 New Revision: 255139 URL: http://svnweb.freebsd.org/changeset/base/255139 Log: Conform to style(9). No functional changes. sys/x86/xen/hvm.c: Do not rely on implicit conversion to boolean in expressions (e.g. use "if (rc != 0)" i

svn commit: r255158 - head/sys/i386/xen

2013-09-02 Thread Justin T. Gibbs
Author: gibbs Date: Mon Sep 2 22:22:56 2013 New Revision: 255158 URL: http://svnweb.freebsd.org/changeset/base/255158 Log: Better conformance to style(9) and organizational cleanup. No functional changes. sys/i386/xen/mp_machdep.c: Remove extra newlines. Group externs,

svn commit: r255179 - head/sys/dev/xen/blkback

2013-09-03 Thread Justin T. Gibbs
Author: gibbs Date: Tue Sep 3 13:49:00 2013 New Revision: 255179 URL: http://svnweb.freebsd.org/changeset/base/255179 Log: sys/dev/xen/blkback/blkback.c: Initialize the request id for requests in xbb_get_resources() instead of its previous location in xbb_dispatch_io(). This

svn commit: r255218 - head/sys/dev/xen/blkback

2013-09-04 Thread Justin T. Gibbs
Author: gibbs Date: Wed Sep 4 23:32:49 2013 New Revision: 255218 URL: http://svnweb.freebsd.org/changeset/base/255218 Log: Correct blkback handling of the BLKIF_OP_FLUSH_DISKCACHE opcode. Properly round-trip the "operation code" for client requests. sys/dev/xen/blkback/blkback.c:

svn commit: r255331 - in head/sys: amd64/amd64 amd64/include i386/i386 i386/include i386/xen x86/xen xen

2013-09-06 Thread Justin T. Gibbs
Author: gibbs Date: Fri Sep 6 22:17:02 2013 New Revision: 255331 URL: http://svnweb.freebsd.org/changeset/base/255331 Log: Implement PV IPIs for PVHVM guests and further converge PV and HVM IPI implmementations. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Submitted

svn commit: r255705 - head/sys/i386/xen

2013-09-19 Thread Justin T. Gibbs
Author: gibbs Date: Thu Sep 19 14:41:10 2013 New Revision: 255705 URL: http://svnweb.freebsd.org/changeset/base/255705 Log: sys/i386/xen_mp_machdep.c: Set a 'fake' acpi_id for the i386 PV port, it is needed in order to use VIRQs or IPI event channels. Submitted by: Roger Pau

svn commit: r255725 - head/sys/i386/xen

2013-09-19 Thread Justin T. Gibbs
Author: gibbs Date: Fri Sep 20 04:35:09 2013 New Revision: 255725 URL: http://svnweb.freebsd.org/changeset/base/255725 Log: sys/i386/xen/mp_machdep.c: sys/i386/xen/mptable.c: Set PCPU apic_id and acpi_id fields in a fasion compatible with both UP and SMP configurations. Su

svn commit: r255726 - in head/sys: amd64/amd64 amd64/include dev/acpica dev/xen/control dev/xen/timer dev/xen/xenpci i386/i386 i386/include kern sys x86/acpica x86/isa x86/x86 x86/xen xen

2013-09-19 Thread Justin T. Gibbs
Author: gibbs Date: Fri Sep 20 05:06:03 2013 New Revision: 255726 URL: http://svnweb.freebsd.org/changeset/base/255726 Log: Add support for suspend/resume/migration operations when running as a Xen PVHVM guest. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by

Re: svn commit: r255736 - in head: share/man/man4 sys/amd64/conf sys/conf sys/dev/bxe sys/i386/conf sys/modules/bxe

2013-09-20 Thread Justin T. Gibbs
On Sep 20, 2013, at 2:18 PM, David Christensen wrote: > Author: davidch > Date: Fri Sep 20 20:18:49 2013 > New Revision: 255736 > URL: http://svnweb.freebsd.org/changeset/base/255736 > > Log: > Substantial rewrite of bxe(4) to add support for the BCM57712 and > BCM578XX controllers. > > Appr

svn commit: r255744 - in head/sys: amd64/amd64 amd64/conf amd64/include i386/conf i386/i386 i386/include kern x86/xen xen

2013-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Fri Sep 20 22:59:22 2013 New Revision: 255744 URL: http://svnweb.freebsd.org/changeset/base/255744 Log: Merge Xen PVHVM support into the GENERIC kernel config for both amd64 and i386. Submitted by: Roger Pau Monné Sponsored by: Citrix Systems R&D Reviewed by: gibb

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

2013-09-20 Thread Justin T. Gibbs
Author: gibbs Date: Sat Sep 21 03:52:08 2013 New Revision: 255753 URL: http://svnweb.freebsd.org/changeset/base/255753 Log: Optimize the block size used on ZFS cache devices as is already done for data and log devices. Reported by: Dmitryy Makarov Submitted by: smh Reviewed by: gibb

Re: svn commit: r255744 - in head/sys: amd64/amd64 amd64/conf amd64/include i386/conf i386/i386 i386/include kern x86/xen xen

2013-09-21 Thread Justin T. Gibbs
On Sep 21, 2013, at 2:53 PM, Glen Barber wrote: > On Fri, Sep 20, 2013 at 10:59:22PM +0000, Justin T. Gibbs wrote: >> Author: gibbs >> Date: Fri Sep 20 22:59:22 2013 >> New Revision: 255744 >> URL: http://svnweb.freebsd.org/changeset/base/255744 >> >> Lo

svn commit: r255781 - head/sys/i386/include/xen

2013-09-21 Thread Justin T. Gibbs
Author: gibbs Date: Sun Sep 22 00:54:22 2013 New Revision: 255781 URL: http://svnweb.freebsd.org/changeset/base/255781 Log: Fix compilation of the i386 PAE kernel config. sys/i386/include/xen/xenvar.h: Provide vtomach() when PAE is defined. Approved by: re (blanket Xen) Modif

svn commit: r255783 - head/sys/kern

2013-09-21 Thread Justin T. Gibbs
Author: gibbs Date: Sun Sep 22 02:46:13 2013 New Revision: 255783 URL: http://svnweb.freebsd.org/changeset/base/255783 Log: Fix ia64 and mips kernel builds due to XENHVM=>GENERIC integration in revision 255744. sys/kern/subr_smp.c: IPI_SUSPEND is only available on amd64 and i386.

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

2013-09-21 Thread Justin T. Gibbs
On Sep 21, 2013, at 9:34 PM, Nathan Whitehorn wrote: > On 09/21/13 21:46, Justin T. Gibbs wrote: >> Author: gibbs >> Date: Sun Sep 22 02:46:13 2013 >> New Revision: 255783 >> URL: http://svnweb.freebsd.org/changeset/base/255783 >> >> Log: >>

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

2013-09-22 Thread Justin T. Gibbs
On Sep 22, 2013, at 12:38 AM, Aryeh Friedman wrote: > On Sat, Sep 21, 2013 at 10:46 PM, Justin T. Gibbs wrote: > Author: gibbs > Date: Sun Sep 22 02:46:13 2013 > New Revision: 255783 > URL: http://svnweb.freebsd.org/changeset/base/255783 > > Log: > Fix ia64 and m

svn commit: r255913 - head/sys/x86/xen

2013-09-27 Thread Justin T. Gibbs
Author: gibbs Date: Fri Sep 27 15:17:28 2013 New Revision: 255913 URL: http://svnweb.freebsd.org/changeset/base/255913 Log: sys/x86/xen/hvm.c: Set cpu_ops correctly for Xen hypervisors lacking the vector callback feature. Set preliminary Xen cpu_ops settings during ear

Re: svn commit: r255744 - in head/sys: amd64/amd64 amd64/conf amd64/include i386/conf i386/i386 i386/include kern x86/xen xen

2013-09-27 Thread Justin T. Gibbs
On Sep 27, 2013, at 11:33 PM, Benjamin Kaduk wrote: > On Fri, Sep 20, 2013 at 6:59 PM, Justin T. Gibbs wrote: > Author: gibbs > Date: Fri Sep 20 22:59:22 2013 > New Revision: 255744 > URL: http://svnweb.freebsd.org/changeset/base/255744 > > Log: > Merge Xen PVHVM

svn commit: r256071 - in head/sys: dev/hyperv/vmbus x86/xen

2013-10-05 Thread Justin T. Gibbs
Author: gibbs Date: Sat Oct 5 19:51:09 2013 New Revision: 256071 URL: http://svnweb.freebsd.org/changeset/base/256071 Log: Correct panic caused by attaching both Xen PV and HyperV virtualization aware drivers on Xen hypervisors that advertise support for some HyperV features. x86/xen/h

  1   2   >