On Tue, 13 Nov 2012 17:25:46 +0100, Bart Noordervliet wrote: > Hi Stefan, > > I gave your patchset a whirl and it worked like a charm. Thanks a lot > for your work. I was confused for a moment by the fact that the > operation doesn't immediately resize btrfs to use all of the new > device's available space. But after a bit of thought I suppose that is > intentional to make it easy to return to a device of similar size as > the original.
Yes, replace and resize is an operation that intentionally requires two manual steps, since the step backwards, to shrink a device, can take a long time. > One suggestion remains: I would prefer the operation to leave some > record of what has happened in the system log. Other operations like > device add and device delete do and I think it makes sense to have a > log trail of such invasive operations on the filesystem. That's a good idea. I have now added such KERN_INFO log messages. > Tested-by: Bart Noordervliet <b...@noordervliet.net> Thanks for testing and for your feedback :) -- 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