]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Set "none" scheduler if available (initramfs)
authorcolmbuckley <colm@tuatha.org>
Mon, 19 Aug 2019 22:11:47 +0000 (23:11 +0100)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Mon, 19 Aug 2019 22:11:46 +0000 (15:11 -0700)
commitf6fbe25664629d1ae6a3b186f14ec69dbe6c6232
treec3997769ae12cc2007a2f2cb46fef9efb540399c
parent1a26cb6160949d1aa16a91714c88fd927423209f
Set "none" scheduler if available (initramfs)

Existing zfs initramfs script logic will attempt to set the 'noop'
scheduler if it's available on the vdev block devices. Newer kernels
have the similar 'none' scheduler on multiqueue devices; this change
alters the initramfs script logic to also attempt to set this scheduler
if it's available.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Garrett Fields <ghfields@gmail.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Colm Buckley <colm@tuatha.org>
Closes #9042
contrib/initramfs/scripts/zfs.in