Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Sat, 27 Oct 2001 15:26:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Sat, 27 Oct 2001 15:26:17 -0400 Received: from calais.pt.lu ([194.154.192.52]:56313 "EHLO calais.pt.lu") by vger.kernel.org with ESMTP id ; Sat, 27 Oct 2001 15:26:12 -0400 Message-Id: <200110271926.f9RJQcT01766@hitchhiker.org.lu> To: Alexander Viro cc: Linus Torvalds , Richard Gooch , linux-kernel@vger.kernel.org Reply-To: alain@linux.lu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7BIT Subject: Re: Poor floppy performance in kernel 2.4.10 In-Reply-To: Your message of "Sat, 27 Oct 2001 15:19:48 EDT." Date: Sat, 27 Oct 2001 21:26:37 +0200 From: Alain Knaff 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. That would be ok with me. Long live block_device! ;-) Alain - 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/