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:06:24 +0100 [thread overview]
Message-ID: <20140331120623.GA28637@sucs.org> (raw)
In-Reply-To: <CAHnuAexDhxuzPrdA5OqOudL6-reAceM0CfAzKH=vQ+S2_++OYw@mail.gmail.com>
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.
--
Sitsofe | http://sucs.org/~sits/
next prev parent reply other threads:[~2014-03-31 12:06 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 [this message]
2014-03-31 12:13 ` Daniel Smedegaard Buus
2014-03-31 12:30 ` Daniel Smedegaard Buus
2014-03-31 12:37 ` Sitsofe Wheeler
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=20140331120623.GA28637@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