From owner-svn-src-head@FreeBSD.ORG Tue Mar 17 00:38:36 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EAAAEB5C; Tue, 17 Mar 2015 00:38:36 +0000 (UTC) Received: from aslan.scsiguy.com (mail.scsiguy.com [70.89.174.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C2547FB8; Tue, 17 Mar 2015 00:38:36 +0000 (UTC) Received: from jt-mbp.sldomain.com (slboulder.spectralogic.com [192.30.190.3] (may be forged)) (authenticated bits=0) by aslan.scsiguy.com (8.14.9/8.14.9) with ESMTP id t2H0cY7V063636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 16 Mar 2015 18:38:35 -0600 (MDT) (envelope-from gibbs@scsiguy.com) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: svn commit: r280133 - head/usr.sbin/bhyve From: "Justin T. Gibbs" In-Reply-To: <201503160916.t2G9G01e095354@svn.freebsd.org> Date: Mon, 16 Mar 2015 18:38:29 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <6A7A51CE-9EAA-4F62-BECB-3CFDD708E06E@scsiguy.com> References: <201503160916.t2G9G01e095354@svn.freebsd.org> To: Alexander Motin X-Mailer: Apple Mail (2.2070.6) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Mar 2015 00:38:37 -0000 On Mar 16, 2015, at 3:16 AM, Alexander Motin wrote: >=20 > Author: mav > Date: Mon Mar 16 09:15:59 2015 > New Revision: 280133 > URL: https://svnweb.freebsd.org/changeset/base/280133 >=20 > Log: > Increase S/G list size of 32 to 33 entries. >=20 > 32 entries are not enough for the worst case of misaligned 128KB = request, > that made FreeBSD to chunk large quests in odd pieces. >=20 > MFC after: 2 weeks >=20 > Modified: > head/usr.sbin/bhyve/block_if.h > head/usr.sbin/bhyve/pci_virtio_block.c >=20 > Modified: head/usr.sbin/bhyve/block_if.h > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/usr.sbin/bhyve/block_if.h Mon Mar 16 01:15:08 2015 = (r280132) > +++ head/usr.sbin/bhyve/block_if.h Mon Mar 16 09:15:59 2015 = (r280133) > @@ -39,7 +39,7 @@ > #include > #include >=20 > -#define BLOCKIF_IOV_MAX 32 /* not practical to be = IOV_MAX */ > +#define BLOCKIF_IOV_MAX 33 /* not practical to be = IOV_MAX */ Shouldn=E2=80=99t these be derived from MAXPHYS? =E2=80=94 Justin=