Date: Wed, 1 Jun 2005 09:07:29 -0400 (EDT) From: Andre Guibert de Bruet <andy@siliconlandmark.com> To: Poul-Henning Kamp <phk@phk.freebsd.dk> Cc: current@FreeBSD.org Subject: Re: [RFC] [PATCH] VM & VFS changes Message-ID: <20050601090236.L69811@lexi.siliconlandmark.com> In-Reply-To: <41216.1117630645@critter.freebsd.dk> References: <41216.1117630645@critter.freebsd.dk>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 1 Jun 2005, Poul-Henning Kamp wrote: > In message <20050601083308.D69811@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. */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050601090236.L69811>