summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2011-02-25 11:26:41 -0800
committerBrian Behlendorf <[email protected]>2011-02-25 11:37:11 -0800
commitfdcd952b4d93f9c9d9ec89a95ef6e2964c27da95 (patch)
treeca6af7fa72441aa1d2c08d0ebca6e83907593445 /.gitignore
parent4c0d8e50b99b4f3b4a9b7bc67ac7fc4e406f5755 (diff)
Fix set block scheduler warnings
There were two cases when attempting to set the vdev block device scheduler which would causes console warnings. The first case was when the vdev used a loop, ram, dm, or other such device which doesn't support a configurable scheduler. In these cases attempting to set a scheduler is pointless and can be safely skipped. The secord case is slightly more troubling. We were seeing transient cases where setting the elevator would return -EFAULT. On retry everything is fine so there appears to be a small window where this is possible. To handle that case we silently retry up to three times before reporting the warning. In all of the above cases the warning is harmless and at worse you may see slightly different performance characteristics from one or more of your vdevs.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions