From: Sitsofe Wheeler <sitsofe@yahoo.com>
To: Daniel Smedegaard Buus <danielbuus@gmail.com>
Cc: linux-bcache@vger.kernel.org
Subject: Re: Correct way to remove a cache device?
Date: Mon, 31 Mar 2014 13:37:57 +0100 [thread overview]
Message-ID: <20140331123757.GA9561@sucs.org> (raw)
In-Reply-To: <CAHnuAewV9d31DEcJ+NB_biX4GGTpiWkpBm2Xc0BNHEjd_VmMsA@mail.gmail.com>
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@gmail.com> 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/
next prev parent reply other threads:[~2014-03-31 12:37 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-03-31 11:47 Correct way to remove a cache device? Daniel Smedegaard Buus
2014-03-31 12:06 ` Sitsofe Wheeler
2014-03-31 12:13 ` Daniel Smedegaard Buus
2014-03-31 12:30 ` Daniel Smedegaard Buus
2014-03-31 12:37 ` Sitsofe Wheeler [this message]
2014-03-31 12:42 ` Daniel Smedegaard Buus
2014-03-31 13:04 ` Daniel Smedegaard Buus
2014-03-31 13:39 ` Sitsofe Wheeler
2014-04-01 7:01 ` Daniel Smedegaard Buus
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140331123757.GA9561@sucs.org \
--to=sitsofe@yahoo.com \
--cc=danielbuus@gmail.com \
--cc=linux-bcache@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox