Re: Should block-number-in-file vars be using blkcnt_t?

Eric Sandeen <[email protected]> Mon, 21 Aug 2006 11:13:01 -0500
Newsgroups gmane.comp.file-systems.ext2.devel
Message-ID <[email protected]>
Eric Sandeen wrote:
> The blkcnt_t type recently went into to 2.6 to handle "large single 
> files" as a configuration option; i.e. more than 32 bits of blocks in a 
> file offset.  Right now this seems to be used only in the inode's 
> i_blocks field.  Looking over Takashi Sato's patches to increase the 
> maximum size of a file in ext3, I wonder if it might be a good idea to 
> start using blkcnt_t in ext3, wherever we are counting blocks in a file?
> 

Hmm replying to myself is bad form... :) but I guess that type is 
intended to hold sectors, not filesystem blocks... so scratch that.

-Eric

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642