On 8/2/19 6:10 PM, Josef Bacik wrote:
In testing block group removal it's sometimes handy to be able to create block groups on demand. Add an ioctl to allow us to force allocation from userspace.
Gave this a try and it works as advertised, though I noticed that the redundancy level is ignored, e.g. adding a single metadata chunk will add a new "single" chunk even when the metadata level is dup. Doing a balance -mconvert dup,soft fixes that right up, but it's IMHO unexpected. Can you put a cherry on top and create the new chunk according to its dup level? thanks :) Holger