Re: Should block-number-in-file vars be using blkcnt_t?
Andreas Dilger <[email protected]> Mon, 21 Aug 2006 14:50:23 -0600
| Newsgroups | gmane.comp.file-systems.ext2.devel |
|---|---|
| Message-ID | <[email protected]> |
On Aug 21, 2006 10:31 -0500, 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? I think Takashi also submitted a follow-on patch to introduce ext3_blkcnt for this purpose. It makes the code more clear as to what type of block number is being used, and facilitates increasing this number. Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc. ------------------------------------------------------------------------- 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