Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sun, 25 Feb 2001 19:55:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sun, 25 Feb 2001 19:55:25 -0500 Received: from ns.virtualhost.dk ([195.184.98.160]:26382 "EHLO virtualhost.dk") by vger.kernel.org with ESMTP id ; Sun, 25 Feb 2001 19:55:10 -0500 Date: Mon, 26 Feb 2001 01:54:56 +0100 From: Jens Axboe To: Alexander Viro Cc: Nate Eldredge , linux-kernel@vger.kernel.org Subject: Re: 2.4.2-ac3: loop threads in D state Message-ID: <20010226015456.A7830@suse.de> In-Reply-To: <20010226014827.Z7830@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ; from viro@math.psu.edu on Sun, Feb 25, 2001 at 07:53:03PM -0500 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Feb 25 2001, Alexander Viro wrote: > > What's the worst that can happen? We do an extra up, but loop_thread > > will still quit once we hit zero lo_pending. And loop_clr_fd > > is still protected by lo_ctl_mutex. > > Well, for one thing you'll get some surprises next time you losetup > the same device ;-) There are more subtle scenarios, but that one > is pretty unpleasant in itself. Ah ok, but that could be solved by just reiniting the sems on each losetup (which probably would be a good idea anyway). But ok, I'll shut up now :-) -- Jens Axboe - 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/