]> granicus.if.org Git - zfs/commit
Trim new line from zfs_vdev_scheduler
authorBrian Behlendorf <behlendorf1@llnl.gov>
Tue, 5 Sep 2017 20:41:32 +0000 (13:41 -0700)
committerGitHub <noreply@github.com>
Tue, 5 Sep 2017 20:41:32 +0000 (13:41 -0700)
commite771de534ff88a72b0531a85abc04ffb4333da53
treef907e8f7bc53c483145262d32377b9564c504c16
parentcf7684bc8d57ace26d086027e8059c725fd9ff92
Trim new line from zfs_vdev_scheduler

Add a helper function to trim the tailing new line.  While we're
here use this new hook to immediately apply the new scheduler.

Reviewed-by: Giuseppe Di Natale <dinatale2@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3356
Closes #6573
module/zfs/vdev_disk.c