From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH] block: replace BKL with global mutex Date: Tue, 1 Jun 2010 17:37:55 -0400 Message-ID: <20100601213755.GA1004@infradead.org> References: <1275428028-10901-1-git-send-email-arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1275428028-10901-1-git-send-email-arnd@arndb.de> Sender: linux-kernel-owner@vger.kernel.org To: Arnd Bergmann Cc: Jens Axboe , Vivek Goyal , Tejun Heo , Frederic Weisbecker , FUJITA Tomonori , "Martin K. Petersen" , Steven Rostedt , Douglas Gilbert , Ingo Molnar , John Kacur , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org List-Id: linux-scsi@vger.kernel.org NAK. You're really only creation a mini-BKL here without sorting out the locking. Please go through the individual callers and sort them out. Start by pushing the remaining ioctls to the unlocked version and moving the BKL into the ->open and ->release methods.