Re: What to do about the 2TB limit on HDIO_GETGEO ?

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ric Wheeler <ric@...>
Cc: Matthew Wilcox <matthew@...>, Mark Lord <lkml@...>, Linus Torvalds <torvalds@...>, Jens Axboe <axboe@...>, Jeff Garzik <jgarzik@...>, Tejun Heo <htejun@...>, Greg KH l <gregkh@...>, Andrew Morton <akpm@...>, Linux Kernel <linux-kernel@...>, IDE/ATA development list <linux-ide@...>, linux-scsi <linux-scsi@...>
Date: Tuesday, March 25, 2008 - 12:47 pm

On Tue, Mar 25, 2008 at 11:48:50AM -0400, Ric Wheeler wrote:

Well 2TB, assuming a 4k blocksize, means a block bitmap is 512 megs.
So at least for ext3, 4GB should be just enough, unless you hit
certainly really nasty complicated corruptions (i.e. large number of
blocks claimed by more than one inode, which can happen if an inode
table is written to the wrong location on disk --- on top of some
other portion of the inode table), or if the filesystem has a large
number of files with hard links (such as the case with certain backup
programs).

The plan is to implement some kind of run-length encoding to compress
the in-memory requirements for storing the bitmaps, but that hasn't
been coded yet.  If someone is a staff programmer for one of these
bookshelf NAS manufacturers is interested in implementing such a
beast, they should talk to me; I've thought quite a bit about the
design, and I just need a minion to implement it.  :-)


And ext4 extents will help because it reduces the number of indirect
blocks you have to read, which will significantly reduce the fsck
time.  So there will be improvements on the horizon.

       	  	     		     	- Ted

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Mark Lord, (Tue Mar 25, 9:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 10:31 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Matthew Wilcox, (Tue Mar 25, 11:34 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Ric Wheeler, (Tue Mar 25, 11:48 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 12:47 pm)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Theodore Tso, (Tue Mar 25, 4:51 pm)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Andrew Paprocki, (Tue Mar 25, 11:25 am)
Re: What to do about the 2TB limit on HDIO_GETGEO ?, Greg Freemyer, (Tue Mar 25, 9:51 am)