Re: [osd-dev] [PATCH 1/9] exofs: osd Swiss army knife

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > +#define EXOFS_SUPER_ID	0x10000	/* object ID for on-disk superblock */

And if an OS failure breaks the super block and you have only one how do
you recover it ?

> > +#define EXOFS_BM_ID	0x10001	/* object ID for ID bitmap */
> > +#define EXOFS_ROOT_ID	0x10002	/* object ID for root directory */
> > +#define EXOFS_TEST_ID	0x10003	/* object ID for test object */

Ditto some of the others

> > +	EXOFS_UINT64_MAX = (~0LL),
> > +	EXOFS_MAX_INO_ID = (sizeof(ino_t) * 8 == 64) ? EXOFS_UINT64_MAX :
> > +					(1LL << (sizeof(ino_t) * 8 - 1)),

Ok so thats quite a big number

> > +	uint32_t  s_nextid;	/* Highest object ID used */

but that is a smaller one

> > +	uint32_t  s_numfiles;	/* Number of files on fs */

as is this

> > +	uint32_t  i_atime;        	/* Access time */
> > +	uint32_t  i_ctime;        	/* Creation time */
> > +	uint32_t  i_mtime;        	/* Modification time */

2038 ? - bits are cheap

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux