svn commit: r280243 - in stable/10: sys/dev/virtio/block usr.sbin/bhyve

2015-03-19 Thread Alexander Motin
Author: mav Date: Thu Mar 19 09:53:00 2015 New Revision: 280243 URL: https://svnweb.freebsd.org/changeset/base/280243 Log: MFC r279651, r279652, r279657: Add support for TOPOLOGY feature of virtio block device. Passing through physical block size/offset from underlying storage allows gu

svn commit: r280244 - stable/10/usr.sbin/bhyve

2015-03-19 Thread Alexander Motin
Author: mav Date: Thu Mar 19 09:54:48 2015 New Revision: 280244 URL: https://svnweb.freebsd.org/changeset/base/280244 Log: MFC r279654: Report logical/physical sector sizes for virtual SATA disk. Modified: stable/10/usr.sbin/bhyve/block_if.c stable/10/usr.sbin/bhyve/block_if.h stable/10/u

svn commit: r280245 - stable/10/usr.sbin/bhyve

2015-03-19 Thread Alexander Motin
Author: mav Date: Thu Mar 19 09:56:38 2015 New Revision: 280245 URL: https://svnweb.freebsd.org/changeset/base/280245 Log: MFC r279658, r279673, r279675: Implement cache flush for ahci-hd and for virtio-blk over device. Modified: stable/10/usr.sbin/bhyve/block_if.c stable/10/usr.sbin/bhyv

svn commit: r280276 - in stable/10/sys/dev: ahci ata mvs siis

2015-03-20 Thread Alexander Motin
Author: mav Date: Fri Mar 20 08:28:11 2015 New Revision: 280276 URL: https://svnweb.freebsd.org/changeset/base/280276 Log: MFC r279963: Fix SATA Gen3 speed constants. Modified: stable/10/sys/dev/ahci/ahci.h stable/10/sys/dev/ata/ata-all.h stable/10/sys/dev/mvs/mvs.h stable/10/sys/dev/si

svn commit: r280363 - stable/10/usr.sbin/bhyve

2015-03-23 Thread Alexander Motin
Author: mav Date: Mon Mar 23 11:48:25 2015 New Revision: 280363 URL: https://svnweb.freebsd.org/changeset/base/280363 Log: MFC r280293: Add missing variable initialization. Reported by: Coverity CID: 1288938 Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties:

svn commit: r280370 - stable/10/usr.sbin/bhyve

2015-03-23 Thread Alexander Motin
Author: mav Date: Mon Mar 23 14:36:53 2015 New Revision: 280370 URL: https://svnweb.freebsd.org/changeset/base/280370 Log: MFC r279957, r280017: Add DSM TRIM command support for virtual AHCI disks. It works only for virtual disks backed by ZVOLs and raw devices supporting BIO_DELETE. Vir

Re: svn commit: r280363 - stable/10/usr.sbin/bhyve

2015-03-23 Thread Alexander Motin
t; 1 error generated. > *** [pci_ahci.o] Error code 1 > > This is on 10.1-Stable Yes, it was my fault. Should be fixed by r280370. Sorry. > On Mon, 23 Mar 2015, Alexander Motin wrote: > >> Author: mav >> Date: M

svn commit: r280678 - stable/10/sys/geom/mirror

2015-03-26 Thread Alexander Motin
Author: mav Date: Thu Mar 26 08:36:08 2015 New Revision: 280678 URL: https://svnweb.freebsd.org/changeset/base/280678 Log: MFC r279913: Fix couple BIO_DELETE bugs in geom_mirror. Do not report GEOM::candelete if none of providers support BIO_DELETE. If consumer still requests BIO_DELETE,

svn commit: r280679 - stable/10/sbin/camcontrol

2015-03-26 Thread Alexander Motin
Author: mav Date: Thu Mar 26 08:38:53 2015 New Revision: 280679 URL: https://svnweb.freebsd.org/changeset/base/280679 Log: MFC r280249: Add camcontrol subcommands to control APM and AAM levels. Sponsored by: iXsystems, Inc. Modified: stable/10/sbin/camcontrol/camcontrol.8 stable/10/sbi

svn commit: r280731 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:41:49 2015 New Revision: 280731 URL: https://svnweb.freebsd.org/changeset/base/280731 Log: MFC r279975: Use ahci_write_fis_d2h() for commands completion. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed) Modifie

svn commit: r280732 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:42:55 2015 New Revision: 280732 URL: https://svnweb.freebsd.org/changeset/base/280732 Log: MFC r279960: Add support for PIO variants of READ/WRITE commands for AHCI disks. AHCI API hides all PIO specifics, so this functionality is almost free. Modified:

svn commit: r280733 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:43:45 2015 New Revision: 280733 URL: https://svnweb.freebsd.org/changeset/base/280733 Log: MFC r279965: Polish AHCI disk identify data and fix speed negotiation. Modified: stable/10/usr.sbin/bhyve/ahci.h stable/10/usr.sbin/bhyve/pci_ahci.c Directory Propertie

svn commit: r280734 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:44:58 2015 New Revision: 280734 URL: https://svnweb.freebsd.org/changeset/base/280734 Log: MFC r279967: Change prdbc value reporting. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbi

svn commit: r280736 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:47:02 2015 New Revision: 280736 URL: https://svnweb.freebsd.org/changeset/base/280736 Log: MFC r279975: Improve NCQ errors reporting for virtual AHCI disks. While this implementation is still not perfect, previous was just broken. Modified: stable/10/usr.s

svn commit: r280735 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:46:12 2015 New Revision: 280735 URL: https://svnweb.freebsd.org/changeset/base/280735 Log: MFC r279968: Remove incorrect SERR register setting. At this point we have nothing to report through that register. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Dir

svn commit: r280738 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:47:54 2015 New Revision: 280738 URL: https://svnweb.freebsd.org/changeset/base/280738 Log: MFC r279976: Add support for NCQ variant of DSM TRIM for virtual AHCI disks. The code is not really tested yet due to lack of initiator support. Modified: stable/10/

svn commit: r280739 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:48:44 2015 New Revision: 280739 URL: https://svnweb.freebsd.org/changeset/base/280739 Log: MFC r279977: Fix NOP and IDLE commands for virtual AHCI disks. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed) Modifie

svn commit: r280740 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:49:33 2015 New Revision: 280740 URL: https://svnweb.freebsd.org/changeset/base/280740 Log: MFC r279979: Slightly polish virtual AHCI CD reporting. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed) Modified: stab

svn commit: r280741 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:50:26 2015 New Revision: 280741 URL: https://svnweb.freebsd.org/changeset/base/280741 Log: MFC r279987: Add checksums to identify data and NCQ command error log. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed)

svn commit: r280742 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:51:20 2015 New Revision: 280742 URL: https://svnweb.freebsd.org/changeset/base/280742 Log: MFC r280004: Give block I/O interface multiple (8) execution threads. On parallel random I/O this allows better utilize wide storage pools. To not confuse prefetcher

svn commit: r280743 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:52:57 2015 New Revision: 280743 URL: https://svnweb.freebsd.org/changeset/base/280743 Log: MFC r280026, r280041: Modify virtqueue helpers added in r253440 to allow queuing. Original virtqueue design allows queued and out-of-order processing, but helpers a

svn commit: r280744 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:53:59 2015 New Revision: 280744 URL: https://svnweb.freebsd.org/changeset/base/280744 Log: MFC r280037: Rewrite virtio block device driver to work asynchronously and use the block I/O interface. Asynchronous operation, based on r280026 change, allows to n

svn commit: r280745 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:54:55 2015 New Revision: 280745 URL: https://svnweb.freebsd.org/changeset/base/280745 Log: MFC r280040: Give AHCI disk serial based on backing file path same as for virtio block. It is still not good that they may intersect on different hosts, but that is

svn commit: r280746 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:55:54 2015 New Revision: 280746 URL: https://svnweb.freebsd.org/changeset/base/280746 Log: MFC r280042: Close potential race on blockif_close(). Reported by: vangyzen Modified: stable/10/usr.sbin/bhyve/block_if.c Directory Properties: stable/10/ (prop

svn commit: r280747 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:56:44 2015 New Revision: 280747 URL: https://svnweb.freebsd.org/changeset/base/280747 Log: MFC r280044: According to Linux and QEMU, s/n equal to buffer is not zero-terminated. This makes same s/n reported for both virtio and AHCI drivers. Modified: stab

svn commit: r280748 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:57:38 2015 New Revision: 280748 URL: https://svnweb.freebsd.org/changeset/base/280748 Log: MFC r280126: Pre-allocate one extra request per processing thread. Processing threads call callbacks before freeing requests. As result, new requests may arrive befo

svn commit: r280749 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:58:30 2015 New Revision: 280749 URL: https://svnweb.freebsd.org/changeset/base/280749 Log: MFC r280133: Increase S/G list size of 32 to 33 entries. 32 entries are not enough for the worst case of misaligned 128KB request, that made FreeBSD to chunk large qu

svn commit: r280750 - stable/10/usr.sbin/bhyve

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 08:59:21 2015 New Revision: 280750 URL: https://svnweb.freebsd.org/changeset/base/280750 Log: MFC r280154: Report that we may have write cache, and that we do support FLUSH. Modified: stable/10/usr.sbin/bhyve/pci_virtio_block.c Directory Properties: stable/10/

svn commit: r280751 - stable/10/usr.sbin/powerd

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 09:01:25 2015 New Revision: 280751 URL: https://svnweb.freebsd.org/changeset/base/280751 Log: MFC r280286: Add comment explaining existing powerd behavior on SMP systems. Modified: stable/10/usr.sbin/powerd/powerd.c Directory Properties: stable/10/ (props chan

svn commit: r280753 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 09:28:30 2015 New Revision: 280753 URL: https://svnweb.freebsd.org/changeset/base/280753 Log: MFC r279927: Make DIOCGATTR in device mode handle "GEOM::candelete". Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zvol.c Directory Properties: sta

svn commit: r280754 - in stable/10/sys: cam/ata sys

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 09:31:28 2015 New Revision: 280754 URL: https://svnweb.freebsd.org/changeset/base/280754 Log: MFC r270832 (by imp): Add a few defines and packet types for SATA 3.2 and FPDMA (First Party DMA). Modified: stable/10/sys/cam/ata/ata_all.c stable/10/sys/sys/ata.h

svn commit: r280755 - stable/10/sys/sys

2015-03-27 Thread Alexander Motin
Author: mav Date: Fri Mar 27 09:32:34 2015 New Revision: 280755 URL: https://svnweb.freebsd.org/changeset/base/280755 Log: MFC r273445 (by imp): Add defines for various FIRST PARTY DMA SEND subcommands. Modified: stable/10/sys/sys/ata.h Directory Properties: stable/10/ (props changed)

svn commit: r280803 - stable/10/sys/dev/virtio/pci

2015-03-29 Thread Alexander Motin
Author: mav Date: Sun Mar 29 07:46:59 2015 New Revision: 280803 URL: https://svnweb.freebsd.org/changeset/base/280803 Log: MFC r280090: Hide virtio features negotiation messages under bootverbose. Those messages are noisy, but useless for average user. Modified: stable/10/sys/dev/virtio/

svn commit: r280839 - stable/10/sys/amd64/vmm

2015-03-30 Thread Alexander Motin
Author: mav Date: Mon Mar 30 07:11:49 2015 New Revision: 280839 URL: https://svnweb.freebsd.org/changeset/base/280839 Log: MFC r280134: Report ARAT (APIC-Timer-always-running) feature for virtual CPU. This makes FreeBSD guest to not avoid using LAPIC timer, preferring HPET due to worrie

svn commit: r280896 - stable/10/sbin/camcontrol

2015-03-31 Thread Alexander Motin
Author: mav Date: Tue Mar 31 07:21:53 2015 New Revision: 280896 URL: https://svnweb.freebsd.org/changeset/base/280896 Log: MFC r280166: Make ATA power management commands to work on SCSI HBAs via PASS THROUGH. Modified: stable/10/sbin/camcontrol/camcontrol.c Directory Properties: stable/1

svn commit: r280898 - in stable/10/sys/cam: ata scsi

2015-03-31 Thread Alexander Motin
Author: mav Date: Tue Mar 31 07:26:39 2015 New Revision: 280898 URL: https://svnweb.freebsd.org/changeset/base/280898 Log: MFC r280172: Improve ATA and SCSI versions printing. There is no "SCSI-6" and "ATA-9", but there is "SPC-4" and "ACS-2". Modified: stable/10/sys/cam/ata/ata_all.c

svn commit: r281012 - stable/10/sys/geom/mirror

2015-04-02 Thread Alexander Motin
Author: mav Date: Fri Apr 3 06:16:20 2015 New Revision: 281012 URL: https://svnweb.freebsd.org/changeset/base/281012 Log: MFC r280756, r280758: Fix bug on memory allocation error in split method. While there, use bioq_takefirst() in place where it is convenient. Modified: stable/10/sys/

svn commit: r281104 - stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2015-04-04 Thread Alexander Motin
Author: mav Date: Sun Apr 5 06:53:29 2015 New Revision: 281104 URL: https://svnweb.freebsd.org/changeset/base/281104 Log: MFC r280822: Some cosmetic polishing. No functional change. Modified: stable/10/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/arc.c Directory Properties: stable/10/

svn commit: r281140 - in stable/10/sys/dev: ahci ata ata/chipsets mvs siis

2015-04-06 Thread Alexander Motin
Author: mav Date: Mon Apr 6 08:23:06 2015 New Revision: 281140 URL: https://svnweb.freebsd.org/changeset/base/281140 Log: MFC r280393: Reduce priority of ATA/SATA drivers. Legacy ata(4) -> BUS_PROBE_LOW_PRIORITY; more functional ahci(4), siis(4), mvs(4) -> BUS_PROBE_DEFAULT; BUS_PROBE_

svn commit: r281305 - stable/10/sys/vm

2015-04-09 Thread Alexander Motin
Author: mav Date: Thu Apr 9 10:11:47 2015 New Revision: 281305 URL: https://svnweb.freebsd.org/changeset/base/281305 Log: MFC r280702: Make swapper release orphaned (lost) GEOM provider. Swap device is still reported as enabled, and system still may crash later if some swapped-out kernel

svn commit: r281301 - stable/10/sys/geom

2015-04-09 Thread Alexander Motin
Author: mav Date: Thu Apr 9 10:08:11 2015 New Revision: 281301 URL: https://svnweb.freebsd.org/changeset/base/281301 Log: MFC r280686: Report withered providers as such alike to GEOMs. Modified: stable/10/sys/geom/geom_dump.c Directory Properties: stable/10/ (props changed) Modified: st

svn commit: r281298 - stable/10/sys/geom

2015-04-09 Thread Alexander Motin
Author: mav Date: Thu Apr 9 10:05:58 2015 New Revision: 281298 URL: https://svnweb.freebsd.org/changeset/base/281298 Log: MFC r280685: When searching for provider by name, prefer non-withered one. Modified: stable/10/sys/geom/geom_subr.c Directory Properties: stable/10/ (props changed)

svn commit: r281303 - in stable/10: lib/libgeom sbin/geom/class/part sys/geom/part

2015-04-09 Thread Alexander Motin
Author: mav Date: Thu Apr 9 10:10:05 2015 New Revision: 281303 URL: https://svnweb.freebsd.org/changeset/base/281303 Log: MFC r280687: Make GEOM_PART work in presence of previous withered self. Modified: stable/10/lib/libgeom/geom_xml2tree.c stable/10/sbin/geom/class/part/geom_part.c sta

svn commit: r281487 - stable/10/sys/kern

2015-04-13 Thread Alexander Motin
Author: mav Date: Mon Apr 13 09:17:57 2015 New Revision: 281487 URL: https://svnweb.freebsd.org/changeset/base/281487 Log: MFC r280850: Periodically wake up threads waiting for vmem(9) resources, so they could ask for resource reclamation again. This is kind of dirty hack, but as last r

svn commit: r281488 - stable/10/usr.sbin/ctld

2015-04-13 Thread Alexander Motin
Author: mav Date: Mon Apr 13 09:18:56 2015 New Revision: 281488 URL: https://svnweb.freebsd.org/changeset/base/281488 Log: MFC r281163: Make ctld to not exit on ECONNABORTED on accept(). That is not really an error for the main process. Modified: stable/10/usr.sbin/ctld/ctld.c Directory

svn commit: r281520 - in stable/10: sys/rpc usr.sbin/nfsd

2015-04-14 Thread Alexander Motin
Author: mav Date: Tue Apr 14 09:58:10 2015 New Revision: 281520 URL: https://svnweb.freebsd.org/changeset/base/281520 Log: MFC r281199: Remove hard limits on number of accepting NFS connections. Limits of 5 connections set long ago creates problems for SPEC benchmark. Make the NFS follow

svn commit: r281826 - in stable/10/sys/dev: aac aacraid advansys aha ahb amr buslogic bwi bwn ciss ct dpt ida if_ndis iir mlx mly trm twe

2015-04-21 Thread Alexander Motin
Author: mav Date: Tue Apr 21 11:27:50 2015 New Revision: 281826 URL: https://svnweb.freebsd.org/changeset/base/281826 Log: MFC r280347: Remove MAXBSIZE use from drivers where it has nothing to do. In some cases limits are just not needed, in others -- DFLTPHYS is the right constant to use

svn commit: r281976 - stable/10/sys/dev/virtio/block

2015-04-24 Thread Alexander Motin
Author: mav Date: Sat Apr 25 06:49:18 2015 New Revision: 281976 URL: https://svnweb.freebsd.org/changeset/base/281976 Log: MFC r281698: Do not report stripe size if it is equal to sector size. Modified: stable/10/sys/dev/virtio/block/virtio_blk.c Directory Properties: stable/10/ (props

svn commit: r282306 - stable/10/usr.sbin/bhyve

2015-05-01 Thread Alexander Motin
Author: mav Date: Fri May 1 17:29:45 2015 New Revision: 282306 URL: https://svnweb.freebsd.org/changeset/base/282306 Log: MFC r281666: Make virtual AHCI more careful with I/O lengths. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed) Modified

svn commit: r282307 - stable/10/usr.sbin/bhyve

2015-05-01 Thread Alexander Motin
Author: mav Date: Fri May 1 17:30:59 2015 New Revision: 282307 URL: https://svnweb.freebsd.org/changeset/base/282307 Log: MFC r281700: Workaround bhyve virtual disks operation on top of GEOM providers. GEOM does not support scatter/gather lists in its I/Os. Such requests are cut in pi

svn commit: r282308 - stable/10/usr.sbin/bhyve

2015-05-01 Thread Alexander Motin
Author: mav Date: Fri May 1 17:33:17 2015 New Revision: 282308 URL: https://svnweb.freebsd.org/changeset/base/282308 Log: MFC r281782: Don't set bits that should be zero for SATA devices. Old value made Linux think that it is PATA device with SATA bridge. Modified: stable/10/usr.sbin/bh

svn commit: r282310 - stable/10/share/man/man4

2015-05-01 Thread Alexander Motin
Author: mav Date: Fri May 1 17:35:10 2015 New Revision: 282310 URL: https://svnweb.freebsd.org/changeset/base/282310 Log: MFC r281923, r281924: Add link to mvs(4). Modified: stable/10/share/man/man4/ada.4 Directory Properties: stable/10/ (props changed) Modified: stable/10/share/man/man

svn commit: r282361 - in stable/10/sys: cddl/contrib/opensolaris/uts/common/fs/zfs kern sys

2015-05-03 Thread Alexander Motin
Author: mav Date: Sun May 3 07:13:14 2015 New Revision: 282361 URL: https://svnweb.freebsd.org/changeset/base/282361 Log: MFC r281026, r281108, r281109: Make ZFS ARC track both KVA usage and fragmentation. Even on Illumos, with its much larger KVA, ZFS ARC steps back if KVA usage reach

svn commit: r282362 - stable/10/sys/fs/nfsclient

2015-05-03 Thread Alexander Motin
Author: mav Date: Sun May 3 07:16:47 2015 New Revision: 282362 URL: https://svnweb.freebsd.org/changeset/base/282362 Log: MFC r281738: Change wcommitsize default from one empirical value to another. The new value is more predictable with growing RAM size: hibufspace maxvnode

svn commit: r282427 - stable/10/sys/net

2015-05-04 Thread Alexander Motin
Author: mav Date: Mon May 4 19:33:51 2015 New Revision: 282427 URL: https://svnweb.freebsd.org/changeset/base/282427 Log: MFC r281765: Activate write-only optimization if bpf device opened with O_WRONLY. dhclient opens bpf as write-only to send packets. It never reads received packets

svn commit: r282568 - stable/10/sys/kern

2015-05-06 Thread Alexander Motin
Author: mav Date: Wed May 6 21:06:32 2015 New Revision: 282568 URL: https://svnweb.freebsd.org/changeset/base/282568 Log: MFC r281825: Rewrite physio() to not allocate pbufs for unmapped I/O. pbufs is a limited resource, and their allocator is not SMP-scalable. So instead of always alloc

svn commit: r282569 - stable/10/sys/kern

2015-05-06 Thread Alexander Motin
Author: mav Date: Wed May 6 21:08:16 2015 New Revision: 282569 URL: https://svnweb.freebsd.org/changeset/base/282569 Log: MFC r281860: Make AIO to not allocate pbufs for unmapped I/O like r281825. While there, make few more performance optimizations. On 40-core system doing many 512-b

svn commit: r282839 - stable/10/usr.sbin/bhyve

2015-05-13 Thread Alexander Motin
Author: mav Date: Wed May 13 10:18:44 2015 New Revision: 282839 URL: https://svnweb.freebsd.org/changeset/base/282839 Log: MFC r281764, r282563: Disable RX/TX queues notifications when not needed. This reduces CPU load and doubles iperf throughput, reaching 2-3Gbit/s. Sponsored by: iXs

svn commit: r282840 - stable/10/usr.sbin/bhyve

2015-05-13 Thread Alexander Motin
Author: mav Date: Wed May 13 10:21:00 2015 New Revision: 282840 URL: https://svnweb.freebsd.org/changeset/base/282840 Log: MFC r281766, r281767: Report link as up only if we managed to open tap device. It would be cool to report tap device status, but it has no such API. Modified: stab

svn commit: r282844 - stable/10/usr.sbin/bhyve

2015-05-13 Thread Alexander Motin
Author: mav Date: Wed May 13 10:29:45 2015 New Revision: 282844 URL: https://svnweb.freebsd.org/changeset/base/282844 Log: MFC r282344: Handle ATA_SEND_FPDMA_QUEUED as NCQ in ahci_port_stop(). Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed)

svn commit: r282845 - stable/10/usr.sbin/bhyve

2015-05-13 Thread Alexander Motin
Author: mav Date: Wed May 13 10:30:53 2015 New Revision: 282845 URL: https://svnweb.freebsd.org/changeset/base/282845 Log: MFC r282345: Initialize PxCMD on reset and make its read-only bits such. Modified: stable/10/usr.sbin/bhyve/pci_ahci.c Directory Properties: stable/10/ (props changed

svn commit: r282846 - stable/10/usr.sbin/bhyve

2015-05-13 Thread Alexander Motin
Author: mav Date: Wed May 13 10:35:34 2015 New Revision: 282846 URL: https://svnweb.freebsd.org/changeset/base/282846 Log: MFC r282364, r282429, r282524: Implement BSY reporting and in-order execution of non-NCQ commands. Block command queue on BSY or DRQ bits set or device error reported

svn commit: r282862 - stable/10/sys/cam/ctl

2015-05-13 Thread Alexander Motin
Author: mav Date: Wed May 13 15:23:53 2015 New Revision: 282862 URL: https://svnweb.freebsd.org/changeset/base/282862 Log: MFC r282565: Handle EDQUOT backend storage errors same as ENOSPC. Modified: stable/10/sys/cam/ctl/ctl_backend_block.c Directory Properties: stable/10/ (props changed)

svn commit: r283457 - stable/10/sys/fs/nfsclient

2015-05-24 Thread Alexander Motin
Author: mav Date: Sun May 24 17:16:30 2015 New Revision: 283457 URL: https://svnweb.freebsd.org/changeset/base/283457 Log: MFC r282881: Do not promote large async writes to sync. Present implementation of large sync writes is too strict and so can be quite slow. Instead of doing that, ex

svn commit: r284006 - stable/10/sys/dev/ahci

2015-06-04 Thread Alexander Motin
Author: mav Date: Fri Jun 5 00:35:17 2015 New Revision: 284006 URL: https://svnweb.freebsd.org/changeset/base/284006 Log: MFC r283936: Restore AHCI quirks printing as base16. smh@ at r278034 made it base17, that is somewhat odd. :) Modified: stable/10/sys/dev/ahci/ahci.h Directory Prope

svn commit: r284158 - stable/10/sys/cam/ctl

2015-06-08 Thread Alexander Motin
Author: mav Date: Mon Jun 8 16:24:43 2015 New Revision: 284158 URL: https://svnweb.freebsd.org/changeset/base/284158 Log: MFC r284044: Fix wrong function name in error message. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys

svn commit: r284586 - stable/10/sys/cam/ctl

2015-06-18 Thread Alexander Motin
Author: mav Date: Fri Jun 19 00:53:15 2015 New Revision: 284586 URL: https://svnweb.freebsd.org/changeset/base/284586 Log: MFC r284013: Allow setting only WWNN or only WWPN. Modified: stable/10/sys/cam/ctl/scsi_ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sy

svn commit: r284800 - stable/10/sys/dev/isp

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:23:35 2015 New Revision: 284800 URL: https://svnweb.freebsd.org/changeset/base/284800 Log: MFC r284540: In case of target mode disable at least ISP2532 return invalid zero ct_rxid value on CTIO completion. Try to workaround that using tag_id from the CCB, p

svn commit: r284795 - stable/10/sys/cam/ctl

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:08:46 2015 New Revision: 284795 URL: https://svnweb.freebsd.org/changeset/base/284795 Log: MFC r284641: Fix REPORT LUNS command output for the case when same LUN mapped to same port several times. While it is unusual configuration, it is not illegal. Modifie

svn commit: r284799 - stable/10/sys/dev/isp

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:22:37 2015 New Revision: 284799 URL: https://svnweb.freebsd.org/changeset/base/284799 Log: MFC r274675 (by jhb), r274708: Convert the refire_notify_ack timer from timeout(9) to callout(9). Modified: stable/10/sys/dev/isp/isp_freebsd.c stable/10/sys/dev/isp/

svn commit: r284802 - stable/10/sys/dev/isp

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:25:40 2015 New Revision: 284802 URL: https://svnweb.freebsd.org/changeset/base/284802 Log: MFC r284698: Dump additional config bytes for INIT_FIRMWARE_MULTI_ID. Modified: stable/10/sys/dev/isp/isp.c Directory Properties: stable/10/ (props changed) Modified

svn commit: r284801 - stable/10/sys/dev/isp

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:24:47 2015 New Revision: 284801 URL: https://svnweb.freebsd.org/changeset/base/284801 Log: MFC r284697: Add logging of executed mailbox command names. Previously those commands were logged only as part of register dump, that is not very readable. Modified:

svn commit: r284794 - stable/10/sys/cam/ctl

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:07:32 2015 New Revision: 284794 URL: https://svnweb.freebsd.org/changeset/base/284794 Log: MFC r284622: Remove device queue freeze handling and replace it with dummy. At this point CTL has no known use case for device queue freezes. Same time existing (cons

svn commit: r284796 - stable/10/sys/cam/ctl

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:09:39 2015 New Revision: 284796 URL: https://svnweb.freebsd.org/changeset/base/284796 Log: MFC r284639: Introduce separate lock for tokens to reduce ctl_lock scope. Modified: stable/10/sys/cam/ctl/ctl_private.h stable/10/sys/cam/ctl/ctl_tpc.c Directory Proper

svn commit: r284793 - stable/10/sys/cam/ctl

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:06:24 2015 New Revision: 284793 URL: https://svnweb.freebsd.org/changeset/base/284793 Log: MFC r284541: Change ATIO/INOT counting to prevent periph destruction while requests are still running inside CTL. Modified: stable/10/sys/cam/ctl/scsi_ctl.c Directory

svn commit: r284797 - stable/10/sys/cam/ctl

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:10:51 2015 New Revision: 284797 URL: https://svnweb.freebsd.org/changeset/base/284797 Log: MFC r284627: Remove some dead and duplicate LUN enabling code. Modified: stable/10/sys/cam/ctl/ctl.c stable/10/sys/cam/ctl/ctl_frontend.h Directory Properties: stable

svn commit: r284798 - stable/10/sys/cam/ctl

2015-06-25 Thread Alexander Motin
Author: mav Date: Thu Jun 25 07:11:48 2015 New Revision: 284798 URL: https://svnweb.freebsd.org/changeset/base/284798 Log: MFC r284640: Bring per-port LUN enable/disable code up to date: - remove last remnants of never implemented multiple targets support; - implement missing support for L

svn commit: r284904 - stable/10/sys/dev/isp

2015-06-28 Thread Alexander Motin
Author: mav Date: Sun Jun 28 09:24:02 2015 New Revision: 284904 URL: https://svnweb.freebsd.org/changeset/base/284904 Log: MFC r284681: Rewrite port database handling for target mode. Previous implementation was too fragile to initiator parameters changes. In case of port role change it c

svn commit: r284905 - stable/10/sys/dev/isp

2015-06-28 Thread Alexander Motin
Author: mav Date: Sun Jun 28 09:25:13 2015 New Revision: 284905 URL: https://svnweb.freebsd.org/changeset/base/284905 Log: MFC r284727: Add dev.isp.X.role sysctl in addition to tunable. It (mostly) allows to enable/disable initiator mode in run time. Target mode control is blocked here to

svn commit: r284906 - stable/10/sys/dev/isp

2015-06-28 Thread Alexander Motin
Author: mav Date: Sun Jun 28 09:26:14 2015 New Revision: 284906 URL: https://svnweb.freebsd.org/changeset/base/284906 Log: MFC r284748: Fix reported_gone setting, missed in some cases. This makes driver better track reported CAM_SEL_TIMEOUTs to properly report device reappearance later.

svn commit: r284907 - stable/10/sys/dev/isp

2015-06-28 Thread Alexander Motin
Author: mav Date: Sun Jun 28 09:27:34 2015 New Revision: 284907 URL: https://svnweb.freebsd.org/changeset/base/284907 Log: MFC r284808: Remove limitations on setting WWNNs starting from 2. It is odd that driver first tries to generate synthetic WWNN based on WWPN starting from 2, but then

svn commit: r284908 - stable/10/usr.sbin/ctld

2015-06-28 Thread Alexander Motin
Author: mav Date: Sun Jun 28 09:41:10 2015 New Revision: 284908 URL: https://svnweb.freebsd.org/changeset/base/284908 Log: MFC r284765, r284875: Teach ctld about CTL's physical_port and virtual_port fields. This allows ctld to work with isp(4) virtual ports, specifying them as isp0/1, i

svn commit: r286761 - stable/10/usr.sbin/bhyve

2015-08-13 Thread Alexander Motin
Author: mav Date: Fri Aug 14 04:23:17 2015 New Revision: 286761 URL: https://svnweb.freebsd.org/changeset/base/286761 Log: MFC r286621, r286622: Fix couple minor typos. Modified: stable/10/usr.sbin/bhyve/bhyve.8 Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbi

svn commit: r286800 - stable/10/sys/cam/ata

2015-08-15 Thread Alexander Motin
Author: mav Date: Sat Aug 15 11:05:44 2015 New Revision: 286800 URL: https://svnweb.freebsd.org/changeset/base/286800 Log: MFC r286447: Don't panic if disk lost TRIM support due to switching to PIO mode. Modified: stable/10/sys/cam/ata/ata_da.c Directory Properties: stable/10/ (props ch

svn commit: r286801 - stable/10/usr.sbin/ctld

2015-08-15 Thread Alexander Motin
Author: mav Date: Sat Aug 15 11:08:30 2015 New Revision: 286801 URL: https://svnweb.freebsd.org/changeset/base/286801 Log: MFC r286456: Remove some code duplication. Modified: stable/10/usr.sbin/ctld/login.c Directory Properties: stable/10/ (props changed) Modified: stable/10/usr.sbin/ct

svn commit: r286817 - stable/10/sys/cam/ctl

2015-08-15 Thread Alexander Motin
Author: mav Date: Sun Aug 16 00:35:48 2015 New Revision: 286817 URL: https://svnweb.freebsd.org/changeset/base/286817 Log: MFC r286514: Remove verbose CTL messages. Reporting SCSI errors to console is often useless, pollutes logs and may affect performance. For debugging there is kern.ca

svn commit: r286818 - stable/10/share/man/man4

2015-08-15 Thread Alexander Motin
Author: mav Date: Sun Aug 16 00:36:48 2015 New Revision: 286818 URL: https://svnweb.freebsd.org/changeset/base/286818 Log: MFC r286516: Document kern.cam.ctl.debug sysctl. Modified: stable/10/share/man/man4/ctl.4 Directory Properties: stable/10/ (props changed) Modified: stable/10/share/

svn commit: r286819 - stable/10/lib/libgeom

2015-08-15 Thread Alexander Motin
Author: mav Date: Sun Aug 16 00:37:47 2015 New Revision: 286819 URL: https://svnweb.freebsd.org/changeset/base/286819 Log: MFC r286719: Revert part of r280687, reporting "1" (true) for empty value. For example, it made gpart partitions without label report "1" as label. Modified: stable/

svn commit: r286928 - stable/10/sys/cam/ctl

2015-08-19 Thread Alexander Motin
Author: mav Date: Wed Aug 19 17:41:49 2015 New Revision: 286928 URL: https://svnweb.freebsd.org/changeset/base/286928 Log: MFC r286320: Issue all reads of single XCOPY segment simultaneously. During vMotion and Clone VMware by default runs multiple sequential 4MB XCOPY requests same time.

svn commit: r286930 - stable/10/sys/cam/ctl

2015-08-19 Thread Alexander Motin
Author: mav Date: Wed Aug 19 17:43:36 2015 New Revision: 286930 URL: https://svnweb.freebsd.org/changeset/base/286930 Log: MFC r286345: Relax serialization of SYNCHRONIZE CACHE commands. Before this change SYNCHRONIZE CACHE commands were executed exclusively, as if they had ORDERED tag.

svn commit: r286931 - stable/10/sys/cam/ctl

2015-08-19 Thread Alexander Motin
Author: mav Date: Wed Aug 19 17:47:47 2015 New Revision: 286931 URL: https://svnweb.freebsd.org/changeset/base/286931 Log: MFC r286353: Pass SYNCHRONIZE CACHE command parameters to backends. At this point IMMED flag is translated to MNT_NOWAIT flag of VOP_FSYNC(), hoping that file system

svn commit: r287016 - in stable/10: . share/man/man4 sys/arm/mv sys/boot/forth sys/conf sys/dev/ata sys/dev/ata/chipsets sys/modules/ata/atapci/chipsets sys/modules/ata/atapci/chipsets/ataadaptec s...

2015-08-22 Thread Alexander Motin
Author: mav Date: Sat Aug 22 07:32:47 2015 New Revision: 287016 URL: https://svnweb.freebsd.org/changeset/base/287016 Log: MFC r280451: Remove from legacy ata(4) driver support for hardware, supported by newer and more functional drivers ahci(4), siis(4) and mvs(4). This removes about 3

svn commit: r287022 - in stable/10/sys: dev/ata dev/ata/chipsets sys

2015-08-22 Thread Alexander Motin
Author: mav Date: Sat Aug 22 07:45:49 2015 New Revision: 287022 URL: https://svnweb.freebsd.org/changeset/base/287022 Log: MFC r286448: Disable 32-bit PIO for 6Gbit/s Intel SATA controllers. For some reason 32-bit PIO writes are not working on 6Gbit/s Intel SATA ports, while 16/32-bit PIO

svn commit: r287024 - stable/10/sys/dev/ahci

2015-08-22 Thread Alexander Motin
Author: mav Date: Sat Aug 22 15:36:20 2015 New Revision: 287024 URL: https://svnweb.freebsd.org/changeset/base/287024 Log: MFC r285020: Disable port multiplier support on Marvell 88SE61xx chips. According to report, some recent unrelated changes in the driver triggered timeouts when testi

svn commit: r287026 - stable/10/usr.sbin/ctld

2015-08-22 Thread Alexander Motin
Author: mav Date: Sat Aug 22 16:59:27 2015 New Revision: 287026 URL: https://svnweb.freebsd.org/changeset/base/287026 Log: MFC r286462: Refactor early stages of security negotiation. Modified: stable/10/usr.sbin/ctld/login.c Directory Properties: stable/10/ (props changed) Modified: stab

Re: svn commit: r287016 - in stable/10: . share/man/man4 sys/arm/mv sys/boot/forth sys/conf sys/dev/ata sys/dev/ata/chipsets sys/modules/ata/atapci/chipsets sys/modules/ata/atapci/chipsets/ataadaptec

2015-08-25 Thread Alexander Motin
On 25.08.2015 13:37, Gleb Smirnoff wrote: > On Sat, Aug 22, 2015 at 07:32:48AM +0000, Alexander Motin wrote: > A> Author: mav > A> Date: Sat Aug 22 07:32:47 2015 > A> New Revision: 287016 > A> URL: https://svnweb.freebsd.org/changeset/base/287016 > A> > A>

svn commit: r287285 - stable/10/sys/dev/ata

2015-08-29 Thread Alexander Motin
Author: mav Date: Sat Aug 29 10:52:16 2015 New Revision: 287285 URL: https://svnweb.freebsd.org/changeset/base/287285 Log: MFC r286814, r286816: Remove UMA allocation of ATA requests. After CAM replaced old ATA stack, this driver processes no more then one request at a time per channel.

svn commit: r287286 - stable/10/sys/cam/ata

2015-08-29 Thread Alexander Motin
Author: mav Date: Sat Aug 29 10:53:53 2015 New Revision: 287286 URL: https://svnweb.freebsd.org/changeset/base/287286 Log: MFC r287025: Remove some code duplication by using biofinish(). Modified: stable/10/sys/cam/ata/ata_da.c Directory Properties: stable/10/ (props changed) Modified: s

svn commit: r287498 - stable/10/sys/cam/ctl

2015-09-06 Thread Alexander Motin
Author: mav Date: Sun Sep 6 09:41:08 2015 New Revision: 287498 URL: https://svnweb.freebsd.org/changeset/base/287498 Log: MFC r287432: Fix copy-paste bug introduced in r275458. Modified: stable/10/sys/cam/ctl/ctl.c Directory Properties: stable/10/ (props changed) Modified: stable/10/sys

svn commit: r288142 - stable/10/sys/cam/scsi

2015-09-22 Thread Alexander Motin
Author: mav Date: Wed Sep 23 05:14:48 2015 New Revision: 288142 URL: https://svnweb.freebsd.org/changeset/base/288142 Log: MFC r287866: Fix fixed sense writing when passed more data then it can fit. Modified: stable/10/sys/cam/scsi/scsi_all.c Directory Properties: stable/10/ (props change

<    1   2   3   4   5   6   7   8   9   >