[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: some XFS questions



On Mon, 2003-01-27 at 02:38, Kwon SoonSon wrote:

> 2. in the superblock(xfs_sb), I see "realtime block"
> and
> "realtime extent". Can anyone please let me know
> what the realtime block/extent mean?

xfs has a "realtime" feature (somewhat misnamed) where data goes to a
different partition, and uses a more deterministic allocator - generally
allocates in larger chunks.  you do an fcntl on the file to designate it
as realtime, then do direct I/O to it.  This is still buggy on Linux,
and is not supported.  See the mkfs.xfs man page for how to make an fs
w/ a realtime subvolume.

 
> 3. in xfs_dinode_core, there is di_projid.
> What is this for?

Irix has the concepts of user, group, and project, I believe.  Probably
not used on Linux, but retained for on-disk compat.

> 4. according to the 1993 design document, the inode
> number of xfs_agi used to be devided into 3 parts
> but now it is 2 parts. I think this should have some
> reasoning but don't know the details. Why?

That one is probably lost in the mists of time.  Perhaps Steve knows.
Actually, I thought that the inode number -was- still 3 parts, for ag #,
ag block #, and inode # in that block.


-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@sgi.com   SGI, Inc.         651-683-3102