public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* A question about frag merge in JFFS2
@ 2005-12-16  9:47 zhao forrest
  2005-12-19 11:57 ` Artem B. Bityutskiy
  0 siblings, 1 reply; 2+ messages in thread
From: zhao forrest @ 2005-12-16  9:47 UTC (permalink / raw)
  To: dedekind; +Cc: linux-mtd

Hi, Artem

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?

Thanks,
Forrest

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: A question about frag merge in JFFS2
  2005-12-16  9:47 A question about frag merge in JFFS2 zhao forrest
@ 2005-12-19 11:57 ` Artem B. Bityutskiy
  0 siblings, 0 replies; 2+ messages in thread
From: Artem B. Bityutskiy @ 2005-12-19 11:57 UTC (permalink / raw)
  To: zhao forrest; +Cc: linux-mtd

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.

-- 
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-12-19 11:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16  9:47 A question about frag merge in JFFS2 zhao forrest
2005-12-19 11:57 ` Artem B. Bityutskiy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox