Re: [Yaffs] yaffs background processing: phase 1

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Charles Manning
Date:  
To: yaffs
Subject: Re: [Yaffs] yaffs background processing: phase 1
On Wednesday 10 March 2010 09:11:24 Hugo Etchegoyen wrote:
> Charles,
>
> I've been trying the version with block refreshing and I think it is OK
> for static wear-leveling.
>
> I just want to point out two typos:
>
> (1) In Kconfig the option YAFFS_DISABLE_BLOCK_REFRESHING is qualified as
> "boot" instead of "bool".


Thanks. Fixed in cvs.

>
> (2) In yaffs_fs.c the file /proc/yaffs is created read-only (S_IRUGO |
> S_IFREG). Adding S_IWUSR allowed me to configure tracing options by
> writing to the file -- very nice!


The current permissions allow /proc/yaffs to be written by root. It is better
to limit this, IMHO.

>
> Hugo
>
> Charles Manning escribió:
> > Hi All
> >
> > I've just added the first phase of background processing to yaffs for
> > Linux.
> >
> > This moves directory updating into the background which reduces the
> > amount of writing needed when updating directories.
> >
> > Phase 2 will move some garbage collection into background too.
> >
> > -- Charles
> >
> >
> > _______________________________________________
> > yaffs mailing list
> >
> > http://lists.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs