[Bug 260793] 'swapon -a' can crash the system

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jan 2022 01:17:48 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260793

--- Comment #6 from Mark Johnston <markj@FreeBSD.org> ---
(In reply to Peter Much from comment #5)
If trimonce is not set, then savecore will most likely be able to recover a
kernel dump from a dump (swap) device, after which it clears metadata on the
device.  This clearing is what prevents the swap pager from being able to
exclusively "claim" a device.  The kernel has no idea whether swapon intends to
trim the device or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.