Hi,
Hello GiovanniOn Friday 06 July 2012 23:28:45 Giovanni Rana wrote:
> Good moorning everybody,
>
> I would like to disable Yaffs caching of pages (at run-time). Is there a
> way to do it?
>
> Best regards,
> Giovanni Rana
There are really three answers to this question...
First, you can disable the cache before mounting by setting
dev->param.n_caches to zero. In Linux you can mount with -o no-cache.
Secondly, you can empty the current cache by using sync().
There is no way to disable the cache once a partition is mounted.
Why do you want to disable the cache? It generally provides speed advantages.
-- Charles
_______________________________________________
yaffs mailing list
yaffs@lists.aleph1.co.uk
http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs