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/
>
>
|