lkml.org 
[lkml]   [1997]   [Sep]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: implementation of shrink_dcache_sb
Keith Owens wrote:

> Does this mean that all inodes and the super block for a device are now
> purged when a device is unmounted? Previously the inodes and sb would
> be kept and only purged when the device was remounted *and* a media
> change was flagged.

Hi Keith,
Currently at unmount time shrink_dcache() is called, and the inodes for
the device are invalidated. My patch doesn't change any of this policy;
it just allows shrinking only the dcache for the particular device.

I'm not sure what is done at remount time, so I'll have to look into
that. But I agree with you that it would be safer to invalidate all
inodes if the media might have changed.

Regards,
Bill

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