summaryrefslogtreecommitdiffstats
path: root/include/sys
diff options
context:
space:
mode:
authorSerapheim Dimitropoulos <[email protected]>2019-01-17 15:41:12 -0800
committerBrian Behlendorf <[email protected]>2019-01-17 15:41:12 -0800
commit75058f33034d23801818582996d3dc941c545910 (patch)
treebe6ce9948792e6abc7e9aea6ba98d60dcf2cc119 /include/sys
parent52b684236d35c64bb371bd19ce0c87552e368d77 (diff)
Remove unused vdev_t fields
The following fields from the vdev_t struct are not used anywhere. Reviewed-by: George Melikov <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Tony Hutter <[email protected]> Signed-off-by: Serapheim Dimitropoulos <[email protected]> Closes #8285
Diffstat (limited to 'include/sys')
-rw-r--r--include/sys/vdev_impl.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/include/sys/vdev_impl.h b/include/sys/vdev_impl.h
index 5fe05c54b..8f8a8ccf6 100644
--- a/include/sys/vdev_impl.h
+++ b/include/sys/vdev_impl.h
@@ -254,7 +254,6 @@ struct vdev {
uint64_t vdev_islog; /* is an intent log device */
uint64_t vdev_removing; /* device is being removed? */
boolean_t vdev_ishole; /* is a hole in the namespace */
- kmutex_t vdev_queue_lock; /* protects vdev_queue_depth */
uint64_t vdev_top_zap;
vdev_alloc_bias_t vdev_alloc_bias; /* metaslab allocation bias */
@@ -315,16 +314,6 @@ struct vdev {
space_map_t *vdev_obsolete_sm;
/*
- * The queue depth parameters determine how many async writes are
- * still pending (i.e. allocated but not yet issued to disk) per
- * top-level (vdev_async_write_queue_depth) and the maximum allowed
- * (vdev_max_async_write_queue_depth). These values only apply to
- * top-level vdevs.
- */
- 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).
*/