]> git.proxmox.com Git - mirror_zfs.git/blobdiff - module/zfs/vdev_disk.c
OpenZFS 7614, 9064 - zfs device evacuation/removal
[mirror_zfs.git] / module / zfs / vdev_disk.c
index 87cc2c892943028a8c2c2fc578621c06dcb05f7c..056381c9d83069521e58e9529e1553010be9f47a 100644 (file)
@@ -99,7 +99,7 @@ static void
 vdev_disk_error(zio_t *zio)
 {
 #ifdef ZFS_DEBUG
-       printk("ZFS: zio error=%d type=%d offset=%llu size=%llu "
+       printk(KERN_WARNING "ZFS: zio error=%d type=%d offset=%llu size=%llu "
            "flags=%x\n", zio->io_error, zio->io_type,
            (u_longlong_t)zio->io_offset, (u_longlong_t)zio->io_size,
            zio->io_flags);
@@ -173,8 +173,9 @@ vdev_elevator_switch(vdev_t *v, char *elevator)
        strfree(argv[2]);
 #endif /* HAVE_ELEVATOR_CHANGE */
        if (error)
-               printk("ZFS: Unable to set \"%s\" scheduler for %s (%s): %d\n",
-                   elevator, v->vdev_path, device, error);
+               printk(KERN_NOTICE "ZFS: Unable to set \"%s\" scheduler"
+                   " for %s (%s): %d\n", elevator, v->vdev_path, device,
+                   error);
 }
 
 /*
@@ -842,6 +843,7 @@ vdev_ops_t vdev_disk_ops = {
        NULL,
        vdev_disk_hold,
        vdev_disk_rele,
+       NULL,
        VDEV_TYPE_DISK,         /* name of this vdev type */
        B_TRUE                  /* leaf vdev */
 };