On Mon, Mar 31, 2014 at 2:06 PM, Sitsofe Wheeler <sitsofe@xxxxxxxxx> wrote: > On Mon, Mar 31, 2014 at 01:47:21PM +0200, Daniel Smedegaard Buus wrote: >> >> I'm trying to figure out what the correct way of taking down a bcache >> cache device is. >> >> If I echo 1 to /sys/block/BACKING_DEVICE/bcache/detach, and then to >> /sys/fs/bcache/*/unregister, the system will hang. The detach part >> goes well, but immediately after unregistering, it will crash. > > Try sleeping at least two seconds between the operations. > Hi Sitsofe, thanks for replying :) I actually tried sleeping for five seconds, I'll try upping it and see what happens. -- To unsubscribe from this list: send the line "unsubscribe linux-bcache" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html