Hello,
Is there some way to cancel a device remove operation? I have discovered that 
if I reboot that will cancel it, but that's not always possible. What I'm after 
is something the same as cancelling scrub.
I keep running into situations where I want to pause a remove operation for 
speed reasons.

Since removing a device involves shrinking it to 0 size first (http://lxr.free-electrons.com/source/fs/btrfs/volumes.c#L1743), I guess you could just run "btrfs filesystem resize" in a loop as a workaround, shrinking it incrementally, and then remove at the end.

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