]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either if
authordougm <dougm@FreeBSD.org>
Sat, 22 Jun 2019 03:16:01 +0000 (03:16 +0000)
committerdougm <dougm@FreeBSD.org>
Sat, 22 Jun 2019 03:16:01 +0000 (03:16 +0000)
commite1145d7ea43b7f4217dfe4faeb2a75f06e4dcfda
treeac967fdccd994b44abc70806ef55ee8295961017
parente18b1f330ae15b72f6adfd1cf25a26ba465f18a9
Modify swapon(8) to invoke BIO_DELETE to trim swap devices, either if
'-E' appears on the swapon command line, or if "trimonce" appears as
an fstab option.

Discussed at: BSDCAN
Tested by: markj
Reviewed by: markj
Approved by: markj (mentor)
Differential Revision:https://reviews.freebsd.org/D20599
sbin/swapon/swapon.8
sbin/swapon/swapon.c
share/man/man5/fstab.5