Hi, I would like to present a unified set of VM and VFS diffs for wider scrutiny and testing. I have been running these diffs since May 10th across daily reboots with no issues. What this patch does: - Adds code that cleanly unmounts swaps (Forcing page-in first) after the final sync but before all of the filesystems are unmounted. This causes references to swap slices in devfs to not be dangling when the machine is rebooted. - Defers unmounting of devfs until all other filesystems are unmounted. - Prints diagnostic messages when non-free dangling vnodes are still active on shutdown. What it doesn't: - Fix the EBUSY error code that is returned on reboot (But it sharply reduces the amount of dangling vnodes. I am still working on this issue). - Vacuum your apartment (Sorry...). The patch is attached to this email. Just in case it doesn't make it to the list, it can also be found online at: http://bling.properkernel.com/freebsd/vm+vfs.shutdown.changes.patch Comments and constructive criticism very welcome. :-) Cheers, Andy PS: This work was sponsored by my employer, Silicon Landmark. If you like what you see, support us. /* Andre Guibert de Bruet * 6f43 6564 7020 656f 2e74 4220 7469 6a20 */ /* Code poet / Sysadmin * 636f 656b 2e79 5320 7379 6461 696d 2e6e */ /* GSM: +1 734 846 8758 * 5520 494e 2058 6c73 7565 6874 002e 0000 */ /* WWW: siliconlandmark.com * Tormenting bytes since 1980. */
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:35 UTC