Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760147AbXEVANr (ORCPT ); Mon, 21 May 2007 20:13:47 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755821AbXEVANk (ORCPT ); Mon, 21 May 2007 20:13:40 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:41396 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754732AbXEVANj (ORCPT ); Mon, 21 May 2007 20:13:39 -0400 Date: Tue, 22 May 2007 01:13:26 +0100 From: Al Viro To: Linus Torvalds Cc: Kay Sievers , Ray Lee , Andrey Borzenkov , Uwe Bugla , Ken Chen , Linux Kernel Mailing List , Andrew Morton , Michal Piotrowski Subject: Re: bug in 2.6.22-rc2: loop mount limited to one single iso image Message-ID: <20070522001326.GD4095@ftp.linux.org.uk> References: <200705200124.13026.uwe.bugla@gmx.de> <200705200845.43621.arvidjaar@mail.ru> <2c0942db0705192316s2682807chd23df6f4de29edcb@mail.gmail.com> <20070520062816.GA4095@ftp.linux.org.uk> <2c0942db0705200822j685ec3b2x399a080622b6fc05@mail.gmail.com> <3ae72650705200854x6a2c829fueff3652653fc21da@mail.gmail.com> <2c0942db0705200910t777214efud489f4bc94433bf5@mail.gmail.com> <1179677799.3311.5.camel@lov.localdomain> <20070522001038.GC4095@ftp.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070522001038.GC4095@ftp.linux.org.uk> User-Agent: Mutt/1.4.1i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 926 Lines: 22 On Tue, May 22, 2007 at 01:10:38AM +0100, Al Viro wrote: > On Mon, May 21, 2007 at 09:11:02AM -0700, Linus Torvalds wrote: > > > > > > On Sun, 20 May 2007, Kay Sievers wrote: > > > > > > Right, providing "preallocated" devices, 8 or the number given in > > > max_loop, sounds like the best option until the tools can handle that. > > > > Yes. Can somebody who actually _uses_ loop send a tested patch, please? > > FWIW, I do and I have tested it; what I did *not* do is using a testbox > with dynamic /dev for testing. Mea culpa... > > AFAICS, patch that went to akpm (preallocate max_loop instances) is OK. ... except that it needs to do cleanup on failure in loop_init(). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/