]> git.proxmox.com Git - mirror_zfs.git/blobdiff - include/sys/vdev_impl.h
Sequential scrub and resilvers
[mirror_zfs.git] / include / sys / vdev_impl.h
index 4c2e3cd2e0af6f62053bbe275d11a4e6948f55d5..5f953a8dbcded96f4b65b6cef480866ffd2be294 100644 (file)
@@ -197,6 +197,13 @@ struct vdev {
        uint64_t        vdev_async_write_queue_depth;
        uint64_t        vdev_max_async_write_queue_depth;
 
+       /*
+        * Protects the vdev_scan_io_queue field itself as well as the
+        * structure's contents (when present).
+        */
+       kmutex_t                        vdev_scan_io_queue_lock;
+       struct dsl_scan_io_queue        *vdev_scan_io_queue;
+
        /*
         * Leaf vdev state.
         */