All of lore.kernel.org
 help / color / mirror / Atom feed
From: Rolf Fokkens <rolf-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
To: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Detaching a caching device
Date: Sun, 15 Sep 2013 18:54:15 +0200	[thread overview]
Message-ID: <5235E637.10008@rolffokkens.nl> (raw)
In-Reply-To: <5235D578.8020406-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>

Yep, works indeed.

Dispite the alarming description :-)

Suggestion for alternative text:  "Detaches all caching devices and 
closes them; if any data is present in the caching devices it will ..."

On 09/15/2013 05:42 PM, Rolf Fokkens wrote:
> On 09/15/2013 05:20 PM, Gabriel de Perthuis wrote:
>> Cache sets have an 'unregister' action: 
>> /sys/fs/bcache/<uuid>/unregister The reference docs are in 
>> bcache.txt. 
>> http://atlas.evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt?h=bcache-dev#n367 
>
> I noteced that one, but it looks kind of scary to me:
> |"Detaches all backing devices and closes the cache devices; if dirty data is present it will disable writeback caching and wait for it to be flushed.|
> Sounds like one of these:
> - the /dev/cache* devices are gone; if so: that's definitely not what 
> I want.
> - or at least the the baching devices are detached; that also sounds 
> bad. I don't want to detacht the backing devices at all, I want to 
> detacht the caching device.
>
> The text is somewhat confusing to me. I'll give it a try, it's only a VM.

  parent reply	other threads:[~2013-09-15 16:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-15 15:07 Detaching a cachine device Rolf Fokkens
     [not found] ` <5235CD22.8000507-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-15 15:20   ` Gabriel de Perthuis
     [not found]     ` <5235D578.8020406@rolffokkens.nl>
     [not found]       ` <5235D578.8020406-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-15 16:54         ` Rolf Fokkens [this message]
     [not found]           ` <5235E637.10008-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-15 17:34             ` bcache-status shows now output when caching device detached Rolf Fokkens
     [not found]               ` <5235EFB6.2060008-6w2rdlBuEQTpMFipWq+H6g@public.gmane.org>
2013-09-18 23:53                 ` Darrick J. Wong

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=5235E637.10008@rolffokkens.nl \
    --to=rolf-6w2rdlbueqtpmfipwq+h6g@public.gmane.org \
    --cc=g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.