Re: Correct way to remove a cache device?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 31, 2014 at 02:30:06PM +0200, Daniel Smedegaard Buus wrote:
> On Mon, Mar 31, 2014 at 2:13 PM, Daniel Smedegaard Buus
> <danielbuus@xxxxxxxxx> wrote:
> > I actually tried sleeping for five seconds, I'll try upping it and see
> > what happens.
> 
> Hmmm, it's pretty flaky. At first, increasing the wait time to ten
> seconds seemed to work. I then tried again, and this time I got to get
> a (script-produced) message about /sys/fs/bcache/*/stop not existing,
> which means it actually doesn't fail on the unregister part, but some
> time after the detach part. It's not consistent, though.
> 
> Is the sequence incorrect? I.e. detach, then unregister? I actually
> had it the other way around at first, but my debugging led me to try
> to switch them.

To the best of my knowledge you're not doing anything wrong - it's been
flaky for me too. Offhand I think I could detach the front device, wait,
then stop the backing device but I have a feeling doing it over and over
always resulted in problems (such as the one described on
https://bugzilla.redhat.com/show_bug.cgi?id=1074492 ) until the system
was rebooted...

-- 
Sitsofe | http://sucs.org/~sits/
--
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




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux