HomeFreeBSD

Fix spurious -EFAULT when setting I/O scheduler

Description

Fix spurious -EFAULT when setting I/O scheduler

Occasionally we would see an -EFAULT returned when setting the
I/O scheduler on a vdev. This was caused an improperly formatted
user mode helper command.

This commit restructures the command to something simpler, allocates
space for it dynamically to save stack, and removes the retry logic
which is no longer needed.

Closes #169

Details

Provenance
Brian Behlendorf <behlendorf1@llnl.gov>Authored on Apr 22 2011, 8:50 PM
Parents
rG6a8f9b6bf0de: Enforce ARC meta-data limits
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rGe2448b0e62f7: Fix spurious -EFAULT when setting I/O scheduler (authored by Brian Behlendorf <behlendorf1@llnl.gov>).Apr 22 2011, 9:55 PM