Subject: Re: mfs read operations.
To: Wojciech Puchar <wojtek@wojtek.3miasto.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-kern
Date: 07/23/2001 12:30:31
On Mon, Jul 23, 2001 at 09:16:07PM +0200, Wojciech Puchar wrote:
> could it be changed that when file is deleted all pages belonging to it
> will be unmapped (remapped to /dev/zero back)?
>
> now when i put 50MB file to mfs and then delete it, mfs process has 50MB
> RSS and have to swap it out
Not the way MFS is currently implemented. MFS has no idea when the blocks
of a file are actually freed, because it merely provides backing store
for FFS.
--
-- Jason R. Thorpe <thorpej@zembu.com>