Re: Recursive nullfs mounts and r224655

看板FB_current作者時間14年前 (2011/08/07 02:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/4 (看更多)
--IFgKI66spn1gqMCY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Aug 06, 2011 at 04:44:25AM -0400, b. f. wrote: > Recent changes to the kernel (sys/kern/vfs_mount.c, in r224655?) > between r224550 and r224655 have broken my tinderbox setup. It had a > tmpfs filesystem mounted at /T and a UFS filesystem mounted at /U, > and, when setting up the tinderbox, performed: >=20 > mkdir /U/u1 > mkdir /U/u2 > mkdir /T/t1 > mount -t nullfs /T/t1 /U/u1 > mkdir-p /U/u1/u3/u4 > mount -t nullfs /U/u2 /U/u1/u3/u4 > ... >=20 > This worked at r224550 and before. It now fails at the second nullfs > mount, with ENOENT("mount_nullfs: No such file or directory"). r224615 and r224655 must be reverted. The reason for your trouble is that nullfs cannot cache any vnodes, thus reclaiming anything that get reference count of 0. This interacts badly with VOP_VNTOCNP() which has to operate on the vnodes with zero refcount, since we cannot decrement refcount under the namecache lock. Trying to update vptocnp(9) interface is too intrusive change for freeze period. --IFgKI66spn1gqMCY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (FreeBSD) iEYEARECAAYFAk49Uw0ACgkQC3+MBN1Mb4hZdgCg0pLjLMA5p8EMYTOkIBflD63m ecoAoM9+5K5eU2mgTz5J5i+7l7rofw7x =N+Ey -----END PGP SIGNATURE----- --IFgKI66spn1gqMCY--
文章代碼(AID): #1EFO5X9D (FB_current)
文章代碼(AID): #1EFO5X9D (FB_current)