lkml.org 
[lkml]   [2000]   [Sep]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: ext2 caches

> Hi,
> We would like to do some operations on a ext2 disk while it is mounted
> read-only.
> The problem is that our operations have no effects because everithing is
> cached.
> Is it possible to shrink all the caches, especially the superblock
> caches and to reload the changes?
> We used prune_dcache (kernel 2.2.14) and dev_fsync . It has some effect
> but none on the superblock and
> the root of the disk.

As far as I can remember the superblock is only read when the fs is
mounted. Changing the superblock when mounted doesn't reload it. Only a
mount does. This probably because chaging the superblock at runtime
doesn't make sense.

You might want to look at the RAID code, as it does some nice magic with
superblocks.


> Thanks by advance
> -- Fred and Tom


Igmar

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

\
 
 \ /
  Last update: 2005-03-22 12:38    [W:0.052 / U:0.788 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site