Subject: Re: Redoing file system suspension API (update)
To: YAMAMOTO Takashi <yamt@mwd.biglobe.ne.jp>
From: Bill Studenmund <wrstuden@netbsd.org>
List: tech-kern
Date: 06/21/2006 14:45:27
--h56sxpGKRmy85csR
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Wed, Jun 21, 2006 at 09:45:36PM +0900, YAMAMOTO Takashi wrote:
> >=20
> > Why do you think "lookup_parent()" does not change file system data/met=
adata?
>=20
> lookup_parent does its own vngate_enter/leave dance.
>=20
> each path components can belong to different filesystems than dvp
> and i want to avoid to do vngate_enter multiple filesystems simultaneousl=
y.
Agreed.
> > What if we make lookup() gate-aware?
> >=20
> > - add struct mount *ni_gate, *ni_dgate to struct nameidata
> > - add an option KEEPGATES to namei() so namei() either leaves
> > the gates on return or keeps them if KEEPGATES is given.
>=20
> i hesitate to complicate namei, which is already too complex...
Agreed.
Take care,
Bill
--h56sxpGKRmy85csR
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (NetBSD)
iD8DBQFEmb33Wz+3JHUci9cRAqEDAKCXJuXv3a0KhsVgKhp3EdDTBLl4PQCdEcoA
WqKGLVHmzPH6iCkGKTs0Uis=
=oOU/
-----END PGP SIGNATURE-----
--h56sxpGKRmy85csR--