A question about frag merge in JFFS2
Artem B. Bityutskiy
dedekind at yandex.ru
Mon Dec 19 06:57:08 EST 2005
zhao forrest wrote:
> What will happen for the following case in JFFS2?
> 1 A process write small frags to flash through JFFS2,
> for example the frag length is 15 bytes.
> 2 after some time, when GC is triggered, how merge operation
> proceed? Will GC merge as many frags as possible?
It will merge as many frags as it is needed to form a 4K (pristine)
frag. In case of 15 byte frags it is 4K/15 (+1) frags.
Artem B. Bityutskiy,
More information about the linux-mtd