[PATCH]Erase block header(revision 1)
Artem B. Bityutskiy
dedekind at yandex.ru
Mon Sep 26 05:08:59 EDT 2005
zhao forrest wrote:
> I agree that version field is not used in my patch after compat_fset,
> incompat_fset and rocompat_fset are introduced in my patch.
> But I'm not sure if we should keep this field. Artem,
> What's your opinion about this?
Well, expect that EBH format may be changed in future, for example if
some Mr.Smith will and one more per-eraseblock field. The same may in
principle happen with any other node type. In this case, we may use the
'version' filed as the FS format identifier. So, IMO, the field is not
useless.
>> > + uint8_t compat_fset;
>> > + uint8_t incompat_fset;
>> > + uint8_t rocompat_fset;
>> > + jint32_t erase_count; /* the erase count of this erase block */
>> > + jint16_t dsize; /* the size of additional data behind node_crc */
I still not really like the data[] field. At least the name... Is it
just for future EBH extentions?
--
Best Regards,
Artem B. Bityuckiy,
St.-Petersburg, Russia.
More information about the linux-mtd
mailing list