Re: git: b19740f4ce7a - main - swap_pager: lock vnode in swapdev_strategy()

From: Peter Jeremy <peterj_at_freebsd.org>
Date: Mon, 29 Nov 2021 02:01:37 UTC
On 2021-Nov-28 20:43:39 -0500, Yoshihiro Ota <ota@j.email.ne.jp> wrote:
>I wonder creating /etc/rc.d/nfsswap that depends on nfsclient can give a smoother shutdown like swaplate depends on mountlate.

/etc/rc.d/swaplate already attempts a swapoff but the check in
swapoff_one() is sufficiently rubbery that the check will often fail,
leaving the swap device active.

-- 
Peter Jeremy