public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
* JFFS2 mounting performance improvement
@ 2006-06-20  8:25 Davide CASCONE
  2006-06-20  8:36 ` Balaji
  2006-06-20  8:47 ` David Woodhouse
  0 siblings, 2 replies; 3+ messages in thread
From: Davide CASCONE @ 2006-06-20  8:25 UTC (permalink / raw)
  To: linux-mtd


It seems that during the JFFS2 mounting, the file system uses the function cfi_intelext_point (in jffs2_scan_medium function) to point to the flash memory. This function refers to the flash memory using the virtual address (map->virt). But if the flash is cached and the burst mode is enabled, it should be better to refer to the flash with the address map->cached (in the same way of cfi_intelext_read function, that calls the map_copy_from function, in which there is a check to verify if the flash is cached). This improves in a considerable way the performance during the mounting phase, reducing the mounting time. 
What do you think about? Do you agree with me? Do you know if there are other points in JFFS2 code that uses the virtual address map->virt instead of map->cached.

Best Regards,
Davide

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

end of thread, other threads:[~2006-06-20  8:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-20  8:25 JFFS2 mounting performance improvement Davide CASCONE
2006-06-20  8:36 ` Balaji
2006-06-20  8:47 ` David Woodhouse

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