<div dir="ltr">Both master and release now have fixes for a fairly serious but specialized hammer2 bug, updates are recommended if you mount more than one PFS from the same block devices, or if you regularly run things which generate a lot of write activity ot the filesystem.<div><br></div><div>The hammer2 bug is in the bulkfree code.  When more than one PFS is mounted from the same device (which is fairly atypical for most people), there is a window during the bulkfree where blocks might be marked as completely free which are actually not free.  If reallocated prior to the completion of the bulkfree, filesystem corruption can be incurred.</div><div><br></div><div>The fix has been tested thoroughly, we basically ran an unpack and the grok indexer on around 20 million files and periodically ran a bulkfree during the operation over two days to ensure that the code fixes work properly.</div><div><br></div><div>--</div><div><br></div><div>A second bug in the kernel was also fixed, this one related to systems that process many (typically in the millions) of files and directories that are in relatively deep directory trees.   The vnode recycler could get into a situation where it would not be able to make any progress cleaning up inactive directory vnodes due to dangling namecache references cached by the system.  A sufficient number of vnodes in this state could fill-up the inactive vnode list and prevent the system from being able to recycle vnodes and thus also prevent it from being able to allocate new vnodes.</div><div><br></div><div>--</div><div><br></div><div>We will roll a sub-release in a week or two.  The fixes are both in the release tree and in master so anyone who wishes to update can do so from system sources with a few simple commands as outlined in our upgrading page:</div><div><br></div><div><a href="https://www.dragonflybsd.org/docs/handbook/Upgrading/">https://www.dragonflybsd.org/docs/handbook/Upgrading/</a><br></div><div><br></div><div>-Matt</div></div>