Date: Tue, 4 Nov 2008 18:56:12 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ufs/ufs ufs_dirhash.c Message-ID: <200811041856.mA4IuOA4041333@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-11-04 18:56:12 UTC FreeBSD src repository Modified files: sys/ufs/ufs ufs_dirhash.c Log: SVN rev 184651 on 2008-11-04 18:56:12Z by jhb Quiet a WITNESS warning with the dirhash sx locks by setting the DUPOK flag. Specifically, if two threads race to create a dirhash for a directory, then one might already have created a private dirhash structure (and locked it) when it realizes the directory now has a structure and tries to lock that one. Revision Changes Path 1.28 +10 -1 src/sys/ufs/ufs/ufs_dirhash.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200811041856.mA4IuOA4041333>