xfs
[Top] [All Lists]

Re: question on log option

To: Kwon SoonSon <ksoonson@xxxxxxxxxxx>
Subject: Re: question on log option
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Thu, 6 Feb 2003 09:06:55 -0600 (CST)
Cc: xfs <linux-xfs@xxxxxxxxxxx>
In-reply-to: <20030206133833.63799.qmail@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
Hi - 

THe log is not in each ag, it is in an ag close to the middle of the
filesystem.  The "logagno" is the ag that holds the log.

Hence logagno = (xfs_agnumber_t)(agcount / 2);

-Eric


On Thu, 6 Feb 2003, [euc-kr] Kwon SoonSon wrote:

> Hello XFS folks:
> 
> I would like to know some of detailed design of XFS 
> implementations.
> 
> 1. Could anyone please let me know why the log
> is distributed among the ag if the log is set to
> "internal"?
> If I am wrong, please let me know how the log is
> generated. (superblock-log-ag-ag-ag... or 
> superblock-ag(sb...log)-ag(sb..log)-ag(sb...log)...)
> which is correct?
> 
> 2. Regarding the source code,(line 1771: xfs_mkfs.c)
> logagno = (xfs_agnumber_t)(agcount / 2);
> Could anyone please let me know what the "logagno" is
> for? Doesn't this mean log is generated per each ag?
> 
> Thanks very much....
> 
> _____________________________________________________________________
> µðÁöÅ» Ä«¸Þ¶ó¿Í Âû¶± ±ÃÇÕ- ¾ßÈÄ! »çÁø
> http://kr.photos.yahoo.com/
> µ·µÇ´Â Áß°íÂ÷ ¼îÇθô - ¾ßÈÄ! ÀÚµ¿Â÷
> http://autos.yahoo.co.kr/autos/
> 
> 



<Prev in Thread] Current Thread [Next in Thread>