Jorgen Lundman
6c2856726f
Fix using zvol as slog device
...
During the original ZoL port the vdev_uses_zvols() function was
disabled until it could be properly implemented. This prevented
a zpool from use a zvol for its slog device.
This patch implements that missing functionality by adding a
zvol_is_zvol() function to zvol.c. Given the full path to a
device it will lookup the device and verify its major number
against the registered zvol major number for the system. If
they match we know the device is a zvol.
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov >
Closes #1131
2012-12-18 11:02:28 -08:00
..
2012-10-12 10:03:03 -07:00
2012-08-27 12:01:37 -07:00
2012-07-31 09:25:30 -07:00
2012-08-27 12:01:37 -07:00
2012-10-29 08:57:45 -07:00
2012-10-29 08:57:45 -07:00
2010-08-26 14:24:34 -07:00
2010-08-31 13:41:58 -07:00
2012-10-08 10:19:05 -07:00
2012-09-19 13:39:06 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-11-09 12:24:51 -08:00
2010-08-31 08:38:45 -07:00
2012-08-27 12:01:37 -07:00
2012-10-03 13:59:02 -07:00
2012-08-27 12:01:37 -07:00
2012-07-31 09:25:30 -07:00
2012-10-03 13:59:02 -07:00
2012-11-02 15:45:56 -07:00
2012-09-17 11:22:23 -07:00
2012-10-11 15:07:09 -07:00
2010-08-31 13:41:58 -07:00
2012-10-15 16:01:54 -07:00
2010-08-31 08:38:46 -07:00
2012-08-27 12:01:37 -07:00
2012-07-26 13:45:09 -07:00
2012-10-17 08:56:41 -07:00
2012-08-27 12:01:37 -07:00
2010-12-07 16:05:25 -08:00
2012-08-27 12:01:37 -07:00
2010-08-31 13:41:59 -07:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2010-08-31 13:41:58 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-11-30 13:48:17 -08:00
2012-08-27 12:01:37 -07:00
2012-11-02 15:45:56 -07:00
2010-05-28 13:45:14 -07:00
2012-08-27 12:01:37 -07:00
2012-08-27 12:01:37 -07:00
2012-10-22 10:17:10 -07:00
2012-09-19 13:39:05 -07:00
2012-08-27 12:01:37 -07:00
2012-09-19 13:39:05 -07:00
2012-09-19 13:39:05 -07:00
2012-10-15 09:28:43 -07:00
2012-09-19 13:39:05 -07:00
2012-09-19 13:39:05 -07:00
2012-12-18 11:02:28 -08:00
2012-09-05 08:44:58 -07:00
2012-09-05 08:44:58 -07:00
2012-08-27 12:01:37 -07:00
2012-12-03 12:10:46 -08:00
2010-08-31 13:41:58 -07:00
2012-12-12 10:47:05 -08:00
2012-02-09 16:37:48 -08:00
2012-12-05 13:41:30 -08:00
2012-11-15 11:05:59 -08:00
2011-03-02 11:44:34 -08:00
2012-10-03 13:59:02 -07:00
2012-10-11 11:09:21 -07:00
2010-08-31 13:41:50 -07:00
2012-09-17 11:06:58 -07:00
2012-12-10 09:44:45 -08:00
2012-08-25 09:25:56 -07:00
2012-12-05 13:41:30 -08:00
2012-12-14 12:18:54 -08:00
2012-12-03 12:10:46 -08:00
2012-10-17 08:56:46 -07:00
2010-05-28 13:45:14 -07:00
2010-05-28 13:45:14 -07:00
2011-05-04 10:02:37 -07:00
2012-11-02 15:45:59 -07:00
2010-05-28 13:45:14 -07:00
2012-12-13 08:57:11 -08:00
2012-10-03 10:49:45 -07:00
2012-08-27 12:01:37 -07:00
2012-12-03 12:10:46 -08:00
2012-12-14 12:18:54 -08:00
2012-03-15 15:18:29 -07:00
2010-09-17 16:24:15 -07:00
2012-12-18 11:02:28 -08:00