[Yaffs] lazyLoaded field needed?

Charles Manning Charles.Manning at trimble.co.nz
Thu Jan 26 02:52:07 GMT 2006


No it is not currently needed. I used it in some experimental stuff that
I dumped. I will probably use it again some time, hopefully soon when I
play with the lazy loading again, but it would be safe to pull it out.

BTW The idea with lazy loading is to speed up mount scanning by not
loading all the object details at scan time. Instead, we can defer this
to when the file is accessed. This saves time and defers detail loading
to first file access.

 

> -----Original Message-----
> From: yaffs-bounces at stoneboat.aleph1.co.uk 
> [mailto:yaffs-bounces at stoneboat.aleph1.co.uk] On Behalf Of Todd Poynor
> Sent: Thursday, 26 January 2006 3:00 p.m.
> To: yaffs at stoneboat.aleph1.co.uk
> Subject: [Yaffs] lazyLoaded field needed?
> 
> yaffs_ObjectStruct 8-bit field lazyLoaded was added 9 months 
> ago in commit
> http://www.aleph1.co.uk/cgi-bin/viewcvs.cgi/yaffs2/yaffs_guts.
> h?r1=1.3&r2=1.4
> 
> Nothing seems to use it, is it needed?
> 
> Index: yaffs_guts.h
> ===================================================================
> RCS file: /home/aleph1/cvs/yaffs2/yaffs_guts.h,v
> retrieving revision 1.17
> diff -u -r1.17 yaffs_guts.h
> --- yaffs_guts.h	7 Dec 2005 21:49:18 -0000	1.17
> +++ yaffs_guts.h	26 Jan 2006 01:42:02 -0000
> @@ -393,8 +393,6 @@
>  				 * until the inode is released.
>  				 */
>  
> -	__u8 lazyLoaded;	/* Vital info has been loaded 
> from tags. Not all info available. */
> -
>  	__u16 sum;		/* sum of the name to speed searching */
>  
>  	struct yaffs_DeviceStruct *myDev;	/* The device I'm on */
> 
> _______________________________________________
> yaffs mailing list
> yaffs at stoneboat.aleph1.co.uk
> http://stoneboat.aleph1.co.uk/cgi-bin/mailman/listinfo/yaffs
> 



More information about the yaffs mailing list