Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 31 Mar 2003 12:14:50 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 31 Mar 2003 12:14:50 -0500 Received: from inet-mail1.oracle.com ([148.87.2.201]:36813 "EHLO inet-mail1.oracle.com") by vger.kernel.org with ESMTP id ; Mon, 31 Mar 2003 12:14:49 -0500 Date: Mon, 31 Mar 2003 09:24:04 -0800 From: Joel Becker To: Roman Zippel Cc: bert hubert , Greg KH , Alan Cox , Andries.Brouwer@cwi.nl, Linux Kernel Mailing List , Wim Coekaerts Subject: Re: 64-bit kdev_t - just for playing Message-ID: <20030331172403.GM32000@ca-server1.us.oracle.com> References: <1048805732.3953.1.camel@dhcp22.swansea.linux.org.uk> <20030327234820.GE1687@kroah.com> <20030328180545.GG32000@ca-server1.us.oracle.com> <20030331083157.GA29029@outpost.ds9a.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Burt-Line: Trees are cool. User-Agent: Mutt/1.5.4i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2220 Lines: 53 On Mon, Mar 31, 2003 at 10:52:53AM +0200, Roman Zippel wrote: > > Can you envision solutions based on 16 bit kdev_t infrastructure? > > I know that 16bit is getting small (but with dynamic assignment even > that is still enough for most people), but OTOH I don't understand the > obsession for 64bit. 32bit is more than enough on a 32bit system. There are big companies out there that require thousands of disks. Many don't want to use hardware raid, they just want JBOD. There are installations today with 2k-4k disks covering the gamut from massive databases to HPC to research facilities. Today. A 32bit dev_t with the 12/20 Linus split provides 64k minors. That's 16k disks with our current 15-partitions-per limit. But if someone wants 35 partitions (I've seen that somewhere) you're down to 8k. And the places using 2-4k disks today will be getting to 8k disks soon after 2.6 becomes usable, if not before. They will likely hit 16k disks before 2.6 becomes an afterthought. > Somehow it sounds that we just have to introduce a huge dev_t and all our > problems are magically solved and I doubt that. If people want to encode 64bit dev_t is not a panacea. However, if we have to do this change, we want to do it once. This only solves the space issue. All of the other issues, such as naming, are orthogonal to this change. Holding one change until everything else has been written is silly. > (Slowly I'm getting the feeling that there is some sort of 64bit dev_t > conspiracy going on here, with the amount of answers I'm (not) getting > here.) There is no conspiracy. Everyone agrees we need more dev_t space. Peter, Andries, and others see it like I do; we only want to do this once, and we already can see a day when 20bits of minors isn't enough. Joel -- Life's Little Instruction Book #207 "Swing for the fence." Joel Becker Senior Member of Technical Staff Oracle Corporation E-mail: joel.becker@oracle.com Phone: (650) 506-8127 - 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/