K 10 svn:author V 5 markj K 8 svn:date V 27 2021-05-27T13:07:30.276844Z K 7 svn:log V 691 ufs: Avoid M_WAITOK allocations when building a dirhash At this point the directory's vnode lock is held, so blocking while waiting for free pages makes the system more susceptible to deadlock in low memory conditions. This is particularly problematic on NUMA systems as UMA currently implements a strict first-touch policy. ufsdirhash_build() already uses M_NOWAIT for other allocations and already handled failures for the block array allocation, so just convert to M_NOWAIT. PR: 253992 Reviewed by: markj, mckusick, vangyzen (cherry picked from commit f17a5900850b4d449a91cbe9c61dfb62373c3cd1) Git Hash: 8340548bc84bf1cbfa678febb08e0aa0293fd935 Git Author: dgmorris@earthlink.net END