Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ZFS: add mutex protection to metaslab_class_t.mc_historgram
The mc_histogram fields were unprotected when that code was first written in "Illumos 4976-4984 - metaslab improvements" (OpenZFS f3a7f66). The lock wasn't added until 3dfb57a, though it's unclear exactly which fields it's supposed to protect. In any case, it wasn't until vdev_load was parallelized that any code attempted concurrent access to those fields. Signed-off-by: Alan Somers <[email protected]>
- Loading branch information