From owner-svn-src-head@FreeBSD.ORG Mon Mar 16 20:02:56 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 C3E3B86A for ; Mon, 16 Mar 2015 20:02:56 +0000 (UTC) Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) (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 91B25BEC for ; Mon, 16 Mar 2015 20:02:56 +0000 (UTC) Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id D87A920834 for ; Mon, 16 Mar 2015 16:02:47 -0400 (EDT) Received: from frontend1 ([10.202.2.160]) by compute5.internal (MEProxy); Mon, 16 Mar 2015 16:02:49 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=x-sasl-enc:content-type:mime-version :subject:from:in-reply-to:date:content-transfer-encoding :message-id:references:to; s=smtpout; bh=wCv1anyIj1Re1Vrkm67LQg/ I9GM=; b=TsEYC9ZzT4NLxncWhXQZ7x+EHpH48CS3p32+SvezTFlsBCA4r4yzXR2 qYqw9m+kFzxGDeSUrP1BQV/CDX0LO+ArBQvQ59NcqBDUEKSbhka8yW3AEWqST+FD c8LlVfNCDnvt3VFNJx5Qn/Ekf6jvlyoI6KIHW5CJIJo4k15spcP0= X-Sasl-enc: PzUGfG/LhgOusGxReuE8flt1JYFuU6c+6pmkpr8ryzwL 1426536169 Received: from mittlerweile.west.isilon.com (unknown [67.182.131.225]) by mail.messagingengine.com (Postfix) with ESMTPA id 50C1FC0029D; Mon, 16 Mar 2015 16:02:49 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Subject: Re: svn commit: r280153 - head/sys/kern From: Benno Rice In-Reply-To: <201503162000.t2GK09Mm001419@svn.freebsd.org> Date: Mon, 16 Mar 2015 13:02:48 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <086E7CF9-2DC3-4DF1-9D77-7A20A8E93515@FreeBSD.org> References: <201503162000.t2GK09Mm001419@svn.freebsd.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-Mailer: Apple Mail (2.2070.6) 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: Mon, 16 Mar 2015 20:02:56 -0000 Of course by bp->bio_done I mean bp->bio_data. Pointy hat to: benno > On Mar 16, 2015, at 1:00 PM, Benno Rice wrote: >=20 > Author: benno > Date: Mon Mar 16 20:00:09 2015 > New Revision: 280153 > URL: https://svnweb.freebsd.org/changeset/base/280153 >=20 > Log: > Reset bp->bio_done to unmapped_buf when removing a transient map in = biodone. >=20 > Submitted by: Scott Ferris > Sponsored by: EMC / Isilon Storage Division > Reviewed by: kib >=20 > Modified: > head/sys/kern/vfs_bio.c >=20 > Modified: head/sys/kern/vfs_bio.c > = =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/sys/kern/vfs_bio.c Mon Mar 16 19:29:19 2015 = (r280152) > +++ head/sys/kern/vfs_bio.c Mon Mar 16 20:00:09 2015 = (r280153) > @@ -3611,6 +3611,7 @@ biodone(struct bio *bp) > bp->bio_flags |=3D BIO_UNMAPPED; > start =3D trunc_page((vm_offset_t)bp->bio_data); > end =3D round_page((vm_offset_t)bp->bio_data + = bp->bio_length); > + bp->bio_data =3D unmapped_buf; > pmap_qremove(start, OFF_TO_IDX(end - start)); > vmem_free(transient_arena, start, end - start); > atomic_add_int(&inflight_transient_maps, -1); >=20