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-11-15 11:05:59 -08:00
2012-09-19 13:39:06 -07:00
2012-10-11 11:09:25 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2012-08-27 12:01:37 -07:00
2012-10-29 08:57:45 -07:00
2012-09-19 13:39:06 -07:00
2012-10-03 13:59:02 -07:00
2010-09-08 12:38:56 -07:00
2012-03-23 12:25:17 -07:00
2011-05-04 10:02:37 -07:00
2012-09-19 13:39:06 -07:00
2010-09-08 12:38:56 -07:00
2012-10-03 13:59:02 -07:00
2010-09-08 12:38:56 -07:00
2012-07-31 09:25:30 -07:00
2012-08-27 12:01:37 -07:00
2012-11-02 15:45:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2012-07-17 09:17:31 -07:00
2012-03-22 13:03:47 -07:00
2012-10-17 08:56:41 -07:00
2012-10-17 08:56:41 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2012-03-07 16:28:00 -08:00
2010-09-08 12:38:56 -07:00
2012-08-08 11:49:37 -07:00
2012-08-27 12:01:37 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2012-10-11 15:07:09 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2011-02-10 09:21:43 -08:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2011-02-23 12:29:38 -08:00
2010-09-08 12:38:56 -07:00
2012-10-17 08:56:41 -07:00
2012-12-18 11:02:28 -08:00
2011-03-02 11:43:50 -08:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2011-09-27 16:12:36 -07:00
2012-07-17 09:22:43 -07:00
2012-10-03 13:32:48 -07:00
2012-12-12 10:47:05 -08:00
2012-02-27 14:08:17 -08:00
2011-02-10 09:27:21 -08:00
2011-02-10 09:27:21 -08:00
2012-06-14 09:49:04 -07:00
2010-09-08 12:38:56 -07:00
2011-03-08 12:44:06 -08:00
2011-11-28 15:45:51 -08:00
2010-09-08 12:38:56 -07:00
2012-11-27 13:46:32 -08:00
2012-12-14 12:18:54 -08:00
2012-12-03 12:10:46 -08:00
2012-10-17 08:56:41 -07:00
2012-06-29 09:56:51 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2010-09-08 12:38:56 -07:00
2012-10-17 08:56:41 -07:00
2012-04-30 12:52:38 -07:00
2010-09-08 12:38:56 -07:00
2012-12-18 11:02:28 -08:00