[Yaffs] Some recent CVS changes

Charles Manning manningc2@actrix.gen.nz
Wed, 6 Apr 2005 13:13:22 +1200


Hi YAFFSers

I have done some recent changes:

1) linux-kernel/... :Added a rudimentary kernel patch-in script for 2.6.x=
=20
kernels. My main box is still running 2.4.18 (8-O) which has limited the=20
testing a bit... must really get switched to 2.6.x.  I have done **some**=
=20
testing on this, but it is likely flakey at present.  What it does is cre=
ates=20
softlinks/symlinks from the kernel tree to a yaffs tree. It also modifies=
 the=20
fs/Kconfig file to include the yaffs Kconfig. I will do some more testing=
,=20
but any improvements/suggestions very welcome.

2) yaffs_guts.c: Set nErasedBlocks to zero during initialisation. This fi=
xed=20
some problems with remounting a file system if the yaffs_Device structure=
 was=20
not reinitialised.

3) yaffs_fs.c: Added short op caching to the Linux VFS wrapper. This can=20
vastly improve performance of short reads & writes.

-- Charles