Don't set I/O Scheduler for Partitions
authorBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Mar 2011 21:34:17 +0000 (13:34 -0800)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Thu, 10 Mar 2011 21:34:17 +0000 (13:34 -0800)
commit04516a45b27144cf42bec005ef2de6d505d236a5
tree230d0b4e097ca024bafeb6e659b401dd47e5d9ef
parenta6cba65ccae5a5458f9ab4ac11020716d30ea7f7
Don't set I/O Scheduler for Partitions

ZFS should only change the i/o scheduler for a disk when it has
ownership of the whole disk.  This is basically the same logic as
adjusting the write cache behavior on a disk.  This change updates
the vdev disk code to skip partitions when setting the i/o scheduler.

Closes #152
module/zfs/vdev_disk.c