Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 27 Oct 2001 15:19:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 27 Oct 2001 15:19:17 -0400 Received: from leibniz.math.psu.edu ([146.186.130.2]:24733 "EHLO math.psu.edu") by vger.kernel.org with ESMTP id ; Sat, 27 Oct 2001 15:19:13 -0400 Date: Sat, 27 Oct 2001 15:19:48 -0400 (EDT) From: Alexander Viro To: alain@linux.lu cc: Linus Torvalds , Richard Gooch , linux-kernel@vger.kernel.org Subject: Re: Poor floppy performance in kernel 2.4.10 In-Reply-To: <200110271913.f9RJDup01632@hitchhiker.org.lu> 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 Sat, 27 Oct 2001, Alain Knaff wrote: > And "mapping" itself seems to point to i_data of the device's inode > structure (not the device entry's inode, but the device's itself). > Which means that if the inode is put (all references to the block > device closed), and later the same major/minor is reopened, it may Stop here. bdev->bd_inode is destroyed only when bdev is destroyed. If we make block_device long-living (i.e. they stay around until all pages are evicted from cache _or_ device gets unregistered) ->bd_inode will follow. - 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/