amotin commented on this pull request.


> @@ -1039,6 +1039,13 @@ metaslab_group_allocatable(metaslab_group_t *mg, 
> metaslab_group_t *rotor,
                if (mg->mg_no_free_space)
                        return (B_FALSE);
 
+               /*
+                * Relax allocation throttling for ditto blocks.  Due to
+                * random imbalances in allocation it tends to push copies
+                * to one vdev, that looks a bit better at the moment.
+                */
+               qmax = qmax * (4 + d) / 4;

I haven't tested that much, neither I would expect there easily reproducible 
difference.  It was only a thought that it could make code less depending on 
specific values I put here.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/688#discussion_r222852537
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/T5b2a8092d211827d-M1421568b590513b32dbf2ca6
Delivery options: https://openzfs.topicbox.com/groups/developer/subscription

Reply via email to