Print this page
NEX-3729 KRRP changes mess up iostat(1M)
Reviewed by: Alek Pinchuk <alek.pinchuk@nexenta.com>
Reviewed by: Roman Strashkin <roman.strashkin@nexenta.com>

@@ -78,10 +78,11 @@
                 case IODEV_CONTROLLER: return (0);
                 case IODEV_IOPATH_LT: return (0);
                 case IODEV_IOPATH_LI: return (0);
                 case IODEV_NFS: return (0);
                 case IODEV_TAPE: return (0);
+                case IODEV_ZFS: return (0);
                 case IODEV_IOPATH_LTI: return (IODEV_DISK);
                 case IODEV_DISK: return (IODEV_CONTROLLER);
                 case IODEV_PARTITION: return (IODEV_DISK);
         }
         return (IODEV_UNKNOWN);

@@ -676,10 +677,12 @@
                 return (IODEV_NFS);
         if (strcmp(ksp->ks_class, "iopath") == 0)
                 return (IODEV_IOPATH_LTI);
         if (strcmp(ksp->ks_class, "tape") == 0)
                 return (IODEV_TAPE);
+        if (strcmp(ksp->ks_class, "zfs") == 0)
+                return (IODEV_ZFS);
         return (IODEV_UNKNOWN);
 }
 
 /* get the lun/target/initiator from the name, return 1 on success */
 static int