From owner-svn-src-head@freebsd.org Fri Jul 29 18:27:30 2016 Return-Path: Delivered-To: svn-src-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 95535BA7986; Fri, 29 Jul 2016 18:27:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 73DD711C8; Fri, 29 Jul 2016 18:27:30 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from ralph.baldwin.cx (c-73-231-226-104.hsd1.ca.comcast.net [73.231.226.104]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 888DCB945; Fri, 29 Jul 2016 14:27:29 -0400 (EDT) From: John Baldwin To: src-committers@freebsd.org Cc: svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r303501 - in head: sys/kern tests/sys/aio Date: Fri, 29 Jul 2016 11:27:25 -0700 Message-ID: <1511522.uQBgSzC5yd@ralph.baldwin.cx> User-Agent: KMail/4.14.3 (FreeBSD/10.3-STABLE; KDE/4.14.3; amd64; ; ) In-Reply-To: <201607291826.u6TIQFlM009123@repo.freebsd.org> References: <201607291826.u6TIQFlM009123@repo.freebsd.org> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Fri, 29 Jul 2016 14:27:29 -0400 (EDT) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.22 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: Fri, 29 Jul 2016 18:27:30 -0000 On Friday, July 29, 2016 06:26:15 PM John Baldwin wrote: > Author: jhb > Date: Fri Jul 29 18:26:15 2016 > New Revision: 303501 > URL: https://svnweb.freebsd.org/changeset/base/303501 > > Log: > Fix locking issues with aio_fsync(). > > - Use correct lock in aio_cancel_sync when dequeueing job. > - Add _locked variants of aio_set/clear_cancel_function and use those > to avoid lock recursion when adding and removing fsync jobs to the > per-process sync queue. > - While here, add a basic test for aio_fsync(). > > PR: 211390 > Reported by: Randy Westlund > MFC after: 1 week > Sponsored by: Chelsio Communications > Differential Revision: https://reviews.freebsd.org/D7339 Oops, missed: Reviewed by: kib -- John Baldwin