On Wed, Mar 23, 2016 at 02:22:59PM -0400, Austin S. Hemmelgarn wrote: > Currently, we don't allow the user to try and rebalance to a dup profile > on a multi-device filesystem. In most cases, this is a perfectly sensible > restriction as raid1 uses the same amount of space and provides better > protection. > > However, when reshaping a multi-device filesystem down to a single device > filesystem, this requires the user to convert metadata and system chunks > to single profile before deleting devices, and then convert again to dup, > which leaves a period of time where metadata integrity is reduced. > > This patch removes the single-device-only restriction from converting to > dup profile to remove this potential data integrity reduction. > > Signed-off-by: Austin S. Hemmelgarn <ahferro...@gmail.com>
Ack. I did exactly same patch a week ago, the changelogs sound equivalent to me, so I'll drop my patch and take yours. http://repo.or.cz/linux-2.6/btrfs-unstable.git/commitdiff/d9929bfeec0abf24ae7fdbc5855914fe7f3886c9?hp=b562e44f507e863c6792946e4e1b1449fbbac85d I did the btrfs-progs side as well, that prints a warning but otherwise lets the user create dup on multi-dev filesystem. http://repo.or.cz/btrfs-progs-unstable/devel.git/commitdiff/22c67c3105c887f541d7353d79d9e11b68e70998 -- 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