Hello Wes
The tnode tree is always kept in RAM. It would be difficult to do otherwise
and still keep performance high.
Of course the tnode tree is used when the file is open, but it is also used
when doing garbage collection etc.
I guess something could be done to store the tnode in flash, but that would
require doing updates every time there's gc etc.
Some further info in
http://www.yaffs.net/sites/yaffs.net/files/HowYaffsWorks.pdf in case you
have not read that.
-- Charles
On Tue, Mar 7, 2017 at 4:45 AM, Wes Edens <
wes.k.edens@gmail.com> wrote:
> Is the associated Tnode tree of a file kept in RAM regardless of if the
> file is open? And if so has anyone ever tried freeing Tnodes base on
> whether the file is currently open? I'm just trying to see if there is a
> way to cut RAM usage.
>
> Thank You,
> Wes
>
> _______________________________________________
> yaffs mailing list
> yaffs@stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
>
>