Re: [Ocfs2-devel] a puzzle about is_global_system_inode function

2017-10-24 Thread Larry Chen
Hi changwei, alex, and Joseph, Really appreciate your help. Thanks Larry Chen On 10/24/2017 9:16 PM, ge changwei wrote: > > On 24/10/2017 8:23 PM, Larry Chen wrote: >> On 10/24/2017 7:04 PM, Joseph Qi wrote: >>> GLOBAL_INODE_ALLOC_SYSTEM_INODE is used for system files inode >>> allocation, you

Re: [Ocfs2-devel] a puzzle about is_global_system_inode function

2017-10-24 Thread ge changwei
On 24/10/2017 8:23 PM, Larry Chen wrote: > On 10/24/2017 7:04 PM, Joseph Qi wrote: >> GLOBAL_INODE_ALLOC_SYSTEM_INODE is used for system files inode >> allocation, you can refer to ocfs2-tools for details. > So it won't be used as an allocator after mkfs.ocfs2.  Is that true?? Hi Larry, I think

Re: [Ocfs2-devel] a puzzle about is_global_system_inode function

2017-10-24 Thread Larry Chen
On 10/24/2017 7:04 PM, Joseph Qi wrote: > GLOBAL_INODE_ALLOC_SYSTEM_INODE is used for system files inode > allocation, you can refer to ocfs2-tools for details. So it won't be used as an allocator after mkfs.ocfs2.  Is that true?? Thanks, Larry Chen > > Thanks, > Joseph > > On 17/10/24 18:39,

Re: [Ocfs2-devel] a puzzle about is_global_system_inode function

2017-10-24 Thread Joseph Qi
GLOBAL_INODE_ALLOC_SYSTEM_INODE is used for system files inode allocation, you can refer to ocfs2-tools for details. Thanks, Joseph On 17/10/24 18:39, Larry Chen wrote: > Hi all, > > Function is_global_system_inode checks whether the type is > in the range [OCFS2_FIRST_ONLINE_SYSTEM_INODE , >

[Ocfs2-devel] a puzzle about is_global_system_inode function

2017-10-24 Thread Larry Chen
Hi all, Function is_global_system_inode checks whether the type is in the range [OCFS2_FIRST_ONLINE_SYSTEM_INODE , OCFS2_LAST_GLOBAL_SYSTEM_INODE ]. But why the range does not include GLOBAL_INODE_ALLOC_SYSTEM_INODE ?? enum {      GLOBAL_INODE_ALLOC_SYSTEM_INODE,