On Mon, May 11, 2015 at 04:08:41PM +0800, Qu Wenruo wrote: > Qu Wenruo (13): > btrfs-progs: Add CHANGIND_FSID and CHANGING_CHUNK_TREE_ID super flags. > btrfs-progs: Use unified function to implement print_readable_*_flag() > function. > btrfs-progs: Make btrfs-show-super print human readable flag for super > flags. > btrfs-progs: Add open_ctree check for uuid changing. > btrfs-progs: Export write_tree_block(). > btrfs-progs: Introduce change_header_uuid() function. > btrfs-progs: Introduce change_extents_uuid() function. > btrfs-progs: Introduce change_device_uuid() function. > btrfs-progs: Introduce change_devices_uuid() function. > btrfs-progs: Introduce change_id_prepare() and change_id_done() > functions. > btrfs-progs: Introduce change_uuid() function. All of the above merged (with some minor modifications), this covers patches 1-7 from the first patchset. The btrfstune options are not there, it needs some updates after I dropped the extra option to set the chunk tree uuid. The expected use: * change the fsid to something that user specifies * change the fsid but generate it randomly * if the operation is interrupted, pick up the new fsid and continue automatically, ie. the user does not have to remember uuid (this is for convenience, the new fsid is stored in the superblock already and can be obtained by show-super) * the new chunk tree uuid has to be stored in some block, eg. the root node of the tree_root; then picked from there when the uuid change process is restarted I'll get to that after doing the 4.0.1 release. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
