On 04/21/2017 12:31 PM, Hans van Kranenburg wrote: > Doh, > > On 04/21/2017 12:26 PM, Hans van Kranenburg wrote: >> [...] >> >> == Thinking out of the box == >> >> Technically, converting from DUP to single could also mean: >> * Flipping one bit in the block group type flags to 0 for each block >> group item >> * Flipping one bit in the chunk type flags and removing 1 stripe struct >> for each metadata chunk item >> * Removing the > > Removing the dev extent objects for all removed stripes from the dev tree. > >> * Anything else? >> >> How feasible would it be to write btrfs-progs style conversion to do this?
>From the feedback on IRC already, to clear things up: I'm *not* proposing/asking for this kind of functionality to be officially available or added to mainline btrfs-progs and be supported for every user to use. I understand that's a whole different kind of discussion. I only mean... would there be any great show-stopper for this idea which would mean I couldn't technically do it myself in a 'one-off' style. -- Hans van Kranenburg -- 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