Re: [RFC] [PATCH] VM & VFS changes

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 01 Jun 2005 14:57:25 +0200
In message <20050601083308.D69811_at_lexi.siliconlandmark.com>, Andre Guibert de B
ruet writes:

>> This problem is a bit complicated because there can be various
>> combinations of:
>>
>> 	mounted file systems that reside on swap-backed memory disks
>>
>> 	mounted file systems that reside on vnode-backed memory disks
>>
>> 	vnode-backed memory disks used as swap devices

Maybe the simplest solution is also the best:  keep track of the
dependencies and do the cleanup leaf->root on the resulting tree.

It would not take much more than a simple data structure to let
the various pieces of code (mainly md(4) really) say "this device
depends on this other thing".

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Wed Jun 01 2005 - 10:57:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC