Maxence Dunnewind
2010-Jun-30 07:43 UTC
[Lustre-discuss] Why does lustre use 2 SUPER_MAGIC ?
Heya, 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 ? Regards, Maxence -- Maxence DUNNEWIND Contact : maxence at dunnewind.net Site : http://www.dunnewind.net 06 32 39 39 93 GPG : 18AE 61E4 D0B0 1C7C AAC9 E40D 4D39 68DB 0D2E B533 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.lustre.org/pipermail/lustre-discuss/attachments/20100630/5438abb0/attachment.bin
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.