Question: how to invalidate read cache

From: Guven Demir
Date: Wed Oct 27 2004 - 09:22:14 EST


hi all,

i hope this is the right place to ask question... anyway, it goes like this:

how can i invalidate the read cache for a file system?

the reason i'm asking this question is:

i'm mounting this ntfs partition to my linux box r/o, which i also
used by "another os" running under vmware r/w.

so when this partition gets updated under vmware, linux does not get
the changes until i umount / mount the partition again.

the problem is, i cant do this when the partiton is busy so i'm stuck
with invalid directory entries etc...

so, is there a way to disable or invalidate the read cache for this partition?

thanks in advance.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/