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(-)

-- 
2.7.1

--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to