RFC btrfs-progs: get/set allocation_hint for an unmounted filesystem
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest3 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Rename btrfs_device->type to flagscmds/ common/ convert/ +7 more | +20 | 0 replies | |
| 2/3 | Rename dev_item.type in flags in the command output.kernel-shared/ | +2 | 0 replies | |
| 3/3 | Read/change the allocation_hint prop when unmountedcmds/ | +115 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3][RFC] btrfs-progs: get/set allocation_hint for an unmounted filesystem
From: Goffredo Baroncelli <[email protected]>
This patches set allows to change the allocation_hint even for an unmounted filesystem. It does that using the user space btrfs code.
Because the userspace btrfs code is unaware of the allocation_hint if a new (metadata) chunk allocation is required during the changing of this property, the new chunk is allocated without considering the allocation_hint ... hint.
Goffredo Baroncelli (3):
Rename btrfs_device->type to flags
Rename dev_item.type in flags in the command output. Read/change the allocation_hint prop when unmounted
cmds/property.c | 115 ++++++++++++++++++++++++++++++++++++ cmds/rescue-chunk-recover.c | 2 +- common/device-scan.c | 4 +- convert/common.c | 2 +- image/main.c | 6 +- kernel-shared/ctree.h | 8 +-- kernel-shared/disk-io.c | 2 +- kernel-shared/print-tree.c | 8 +-- kernel-shared/volumes.c | 6 +- kernel-shared/volumes.h | 4 +- mkfs/common.c | 2 +- 11 files changed, 137 insertions(+), 22 deletions(-)
Signature · 1 line
2.34.1