Btrfs-progs: partial mkfs/convert, error handling, cleanups
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest13 patches 2 repliesIn review
Patches in v1 No applies recorded yet
Reviews trailers per patch
2 of 13 patches have a Reviewed-by or Acked-by.
| Patch | Anand Jain |
|---|---|
| 1/13 | R-b |
| 2/13 | |
| 3/13 | |
| 4/13 | |
| 5/13 | R-b |
| 6/13 | |
| 7/13 | |
| 8/13 | |
| 9/13 | |
| 10/13 | |
| 11/13 | |
| 12/13 | |
| 13/13 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/13] Btrfs-progs: partial mkfs/convert, error handling, cleanups
Hi,
this series mainly improves error handling in mkfs and convert, plus the collaterals. There were too many BUG_ONs, now there are 0 in mkfs.c. There's still work to do, eg. in the generic functions.
The improvement idea is to be able to safely leave around an unfinished filesystem image, so the error handling is just "report & return". The signature is intentionally bogus until the entire filesystem is constructed.
This is now in devel.
David Sterba (13):
btrfs-progs: pass OPEN_CTREE flags as unsigned
btrfs-progs: make superblock reading/scanning api more generic
btrfs-progs: introduce signature for a partially set up filesystem
btrfs-progs: mkfs: do not scan partially initialized devices
btrfs-progs: two staged filesystem creation
btrfs-progs: mkfs: return errors from block group creation functions
btrfs-progs: mkfs: improve error handling in main()
btrfs-progs: mkfs: improve error handling in recow_roots
btrfs-progs: document all btrfs_open_ctree_flags
btrfs-progs: mkfs: switch BUG_ON to error handling in
traverse_directory
btrfs-progs: mkfs: handle and report transaction commit failures
btrfs-progs: mkfs: help and usage now to to stdout
btrfs-progs: mkfs: clean up make_image
btrfs-convert.c | 7 +- btrfstune.c | 2 +- chunk-recover.c | 8 +- cmds-check.c | 2 +- cmds-filesystem.c | 2 +- ctree.h | 7 ++ disk-io.c | 66 ++++++++++----- disk-io.h | 69 ++++++++++----- mkfs.c | 246 ++++++++++++++++++++++++++++++++++++------------------ super-recover.c | 3 +- utils.c | 22 +++-- volumes.c | 4 +- volumes.h | 2 +- 13 files changed, 299 insertions(+), 141 deletions(-)
Signature · 1 line
2.7.1