[RFC] [PATCH] VM & VFS changes
Andre Guibert de Bruet
andy at siliconlandmark.com
Wed Jun 1 13:07:33 GMT 2005
On Wed, 1 Jun 2005, Poul-Henning Kamp wrote:
> In message <20050601083308.D69811 at lexi.siliconlandmark.com>, Andre Guibert de B
> ruet writes:
> Don Lewis wrote:
>>> 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".
PHK,
How would you suggest implementing this? A TAILQ in global scope and a new
struct?
Did you get a chance to look at the patch? Do you have additional comments
on it?
Thanks,
Andy
/* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */
/* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */
/* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */
/* WWW: siliconlandmark.com * Tormenting bytes since 1980. */
More information about the freebsd-current
mailing list