Re: [PATCH][v2] btrfs: add an ioctl to force chunk allocation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <josef@xxxxxxxxxxxxxx>
---
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 <holger@xxxxxxxxxxxxxxxxxxxxxx>

Now works as intended - very nice, thanks!

-h



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux