Caching of reads

Ian Campbell icampbell at
Wed Nov 21 10:10:30 EST 2001

> Strange. JFFS2 doesn't do caching - that's supposed to be handle by the 
> Linux VFS/VM. But set CONFIG_JFFS2_FS_DEBUG=1 and 
> echo 9 > /proc/sys/kernel/printk, then see what it's actually being asked 
> to read each time.


I've instrumented my kernel a bit and found that the reads are being
caused by calls to jffs2_follow_link (in order to resolve the sym links
for the libraries needed to load sleep)... 

It's been pointed out to me that the jffs list might be a better place
so I'll take this there... 

Ian Campbell
Design Engineer

Arcom Control Systems Ltd,
Clifton Road,
Cambridge CB1 7EA
United Kingdom

Tel: +44 (0)1223 411200 ext. 3204
E-Mail: icampbell at

The message in this transmission is sent in confidence for the attention of the addressee only and should not be disclosed to any other party. Unauthorised recipients are requested to preserve this confidentiality. Please advise the sender if the addressee is not resident at the receiving end.

This message has been checked for all viruses by MessageLabs Virus Control Centre. 

Company registered in England No. 1608562.
Registered Office: Unit 8, Clifton Road, Cambridge, CB1 7EA, United Kingdom, Tel: 01223 411200.

More information about the linux-mtd mailing list