lkml.org 
[lkml]   [2003]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectBlock device invalidate cached blocks
I'm working on a block device driver for linux.

Linux caches the blocks read from my block device, which is fine. I've
mounted a read-only filesystem on the block device. But sometimes on
the back end the file system will change. Is there a way I can cause the
kernel to just flush all its cached blocks? Or even better invalidate
just the few blocks that have changed?

Thanks--
Dave

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

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.037 / U:4.788 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site