On 8/5/19 3:19 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.

Signed-off-by: Josef Bacik <jo...@toxicpanda.com>
---
v1->v2:
- I noticed last week when backporting this that btrfs_chunk_alloc doesn't
   figure out the rest of the flags needed for the type.  Use
   btrfs_force_chunk_alloc instead so that we get the raid settings for the 
alloc
   type we're using.

Tested-by: Holger Hoffstätte <hol...@applied-asynchrony.com>

Now works as intended - very nice, thanks!

-h

Reply via email to