From: "Jan Beulich" Subject: you patch "block: push down BKL into .open and .release" and its changes to xen-blkfront.c Date: Wed, 25 Aug 2010 11:59:23 +0100 Message-ID: <4C7513AB0200007800012130@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: arnd@arndb.de Cc: jaxboe@fusionio.com, Jeremy Fitzhardinge , "xen-devel@lists.xensource.com" , Daniel Stodden List-Id: xen-devel@lists.xenproject.org Arnd, what was the point of adding {,un}lock_kernel() to blkif_open() and blkif_release()? Afaict, the associated bdev is protected by a mutex anyway, so even without Daniel's addition of a mutex to these paths I don't see the need for the BKL here. Thanks, Jan