Comment 6 for bug 1377142

Revision history for this message
Kick In (kick-d) wrote : Re: [Bug 1377142] Re: Bcache doesn't allow full unregistering without rebooting

In fact whether you unmount before stopping the bcache or not doesn't
change the behaviour. I did that this way in the description, to show
the process. You just stop the caching device with the echo 1 > ...
But, the backing is still in use, but you have no control over it.
Le 08/10/2014 13:15, Stefan Bader a écrit :
> There does not seem to be clear documentation on this. Just a note that from your description I was not completely sure whether you did unmount before starting the release procedure. I would say unmount is a must.
> Doing so, I also ended up in the state where bcache0 still existed. But I was able to get rid of that by
>
> echo 1 >/sys/block/bcache0/bcache/stop
>