[Lustre-discuss] Why does lustre use 2 SUPER_MAGIC ?

Andreas Dilger andreas.dilger at oracle.com
Wed Jun 30 02:07:01 PDT 2010


On 2010-06-30, at 01:43, Maxence Dunnewind wrote:
> I saw in lustre code that it uses 2 SUPER__MAGIC : 
> - LUSTRE_SUPER_MAGIC = 0x0BD00BD1
> - LL_SUPER_MAGIC = 0x0BD00BD0
> 
> It seems most of the files are using the first one as s_magic
> (file->f_entry->f_sb->s_magic).
> 
> What's the difference between them, when each is used ? 

LUSTRE_SUPER_MAGIC is used for server mountpoints, LL_SUPER_MAGIC is used for client mountpoints.

Cheers, Andreas
--
Andreas Dilger
Lustre Technical Lead
Oracle Corporation Canada Inc.




More information about the lustre-discuss mailing list