Searched hist:178110 (Results 1 - 1 of 1) sorted by relevance
/freebsd-11-stable/sys/ufs/ufs/ | ||
H A D | ufs_dirhash.c | diff 178110 Fri Apr 11 07:48:12 MDT 2008 jeff - Use a lockmgr lock rather than a mtx to protect dirhash. This lock may be held for the duration of the various dirhash operations which avoids many complex unlock/lock/revalidate sequences. - Permit shared locks on lookup. To protect the ip->i_dirhash pointer we use the vnode interlock in the shared case. Callers holding the exclusive vnode lock can run without fear of concurrent modification to i_dirhash. - Hold an exclusive dirhash lock when creating the dirhash structure for the first time or when re-creating a dirhash structure which has been recycled. Tested by: kris, pho |
Completed in 57 milliseconds