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 rotates
through vdevs with some additional logic to handle the case where the vdev
is full. However, I have not yet been able to locate this logic within the
ZFS code. I'm hoping someone can point me to the correct file(s) where I can
study this logic.

 

Thanks,

Duff

 

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to