public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Payne <nick.payne-CkBdp7X+a1oIQCUVoCVjmQ@public.gmane.org>
To: Gabriel de Perthuis <g2p.code-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: Can't enable writeback
Date: Sun, 18 Aug 2013 07:39:05 +1000	[thread overview]
Message-ID: <520FED79.4070306@internode.on.net> (raw)
In-Reply-To: <kunruq$541$1@ger.gmane.org>

On 17/08/13 22:56, Gabriel de Perthuis wrote:
>> I try to enable writeback:
>>
>>     sudo echo writeback > /sys/block/bcache0/cache_mode
>>
>> it returns the error
>>
>>     bash: /sys/block/bcache0/cache_mode: No such file or directory
> You're confusing bcache0 with bcache0/bcache
>
>      echo writeback |sudo tee -a /sys/block/bcache0/bcache/cache_mode
>
> will work.

Thanks, that works. The command I was originally trying to use is what 
is shown in the documentation at 
http://evilpiepirate.org/git/linux-bcache.git/tree/Documentation/bcache.txt. 
It has

     # echo writeback > /sys/block/bcache0/cache_mode

as the command to run.

      reply	other threads:[~2013-08-17 21:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-17 12:00 Can't enable writeback Nick Payne
2013-08-17 12:56 ` Gabriel de Perthuis
2013-08-17 21:39   ` Nick Payne [this message]

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=520FED79.4070306@internode.on.net \
    --to=nick.payne-ckbdp7x+a1oiqcuvocvjmq@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox