Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Tue, 6 Nov 2001 02:04:18 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Tue, 6 Nov 2001 02:04:09 -0500 Received: from leibniz.math.psu.edu ([146.186.130.2]:27826 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Tue, 6 Nov 2001 02:04:01 -0500 Date: Tue, 6 Nov 2001 02:03:59 -0500 (EST) From: Alexander Viro To: Richard Gooch cc: alain@linux.lu, Linus Torvalds , linux-kernel@vger.kernel.org Subject: Re: Poor floppy performance in kernel 2.4.10 In-Reply-To: <200111060701.fA671hL20646@vindaloo.ras.ucalgary.ca> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 6 Nov 2001, Richard Gooch wrote: > Alexander Viro writes: > > BTW, here's one more devfs rmmod race: check_disk_changed() in > > fs/devfs/base.c. Calling ->check_media_change() with no protection > > whatsoever. If rmmod happens at that point... > > How is this different from a call to fs/block_dev.c:check_disk_change() > which also has no protection? It's called either from driver itself (and then whatever protects caller protects it as well) or after we'd pinned the thing down by blkdev_get(). - 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/