Brian Behlendorf 6d1d976b2c Modify vdev_elevator_switch() to use elevator_change()
As of Linux 2.6.36 an elevator_change() interface was added.
This commit updates vdev_elevator_switch() to use this interface
when available, otherwise it falls back to the usermodehelper
method.

Original-patch-by: foobarz <sysop@xeon.(none)>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #906
2012-10-03 13:31:44 -07:00
..
2012-08-27 11:47:44 -07:00
2010-08-31 13:41:27 -07:00
2010-08-31 13:41:27 -07:00
2011-04-19 10:10:47 -07:00
2010-08-31 13:41:27 -07:00
2010-08-31 13:41:27 -07:00
2010-08-31 13:41:27 -07:00
2011-01-28 12:45:19 -08:00
2010-08-31 13:41:27 -07:00
2012-07-26 13:40:18 -07:00
2010-08-31 13:41:27 -07:00