Hi All,
I'm interested in exploring the logic that selects the vdev for a newly
created file. I've spent some time in the metaslab.c file but this appears
to be weighting slab selection within a vdev .not really the logic I'm
looking for. I expect vdev selection is a simple algorithm that
Hi Duff,
... I expect vdev selection is a simple algorithm
that rotates through vdevs with some additional logic to handle the case
where the vdev is full.
The vdev selection policy is in metaslab_alloc_dva(). You are right that
it is a simple algorithm that rotates through the vdevs. Apart