Searched hist:79690 (Results 1 - 1 of 1) sorted by relevance

/freebsd-11-stable/sys/ufs/ufs/
H A Dufs_dirhash.cdiff 79690 Fri Jul 13 18:50:38 MDT 2001 iedowse Return a locked struct buf from ufsdirhash_lookup() to avoid one
extra getblk/brelse sequence for each lookup. We already had this
buf in ufsdirhash_lookup(), so there was no point in brelse'ing it
only to have the caller immediately reaquire the same buffer.

This should make the case of sequential lookups marginally faster;
in my tests, sequential lookups with dirhash enabled are now only
around 1% slower than without dirhash.

Completed in 56 milliseconds