public inbox for linux-bcache@vger.kernel.org
 help / color / mirror / Atom feed
From: Killian De Volder <killian.de.volder@megasoft.be>
To: Shay Gover <govershay@gmail.com>
Cc: linux-bcache@vger.kernel.org
Subject: Re: bcache and suspend
Date: Fri, 28 Oct 2016 00:12:42 +0200	[thread overview]
Message-ID: <58127BDA.2080805@megasoft.be> (raw)
In-Reply-To: <CANM5d8f7o35+Es9629Pb7Em2nKVROjiT=V8iN-qv=U4L4KUJ+g@mail.gmail.com>

What initramfs are you using ?

If you want a simple answer:
- Use a kernel without bcache build in.
- Do not modprobe bcache before resume.

Killian De Volder


On 27-10-16 21:55, Shay Gover wrote:
> Define provider.
> 
> I want to use it for my personal PC. I'm using arch. What exacly do I
> need to do? disable cache before suspend?
> 
> Thanks
> 
> On Thu, Oct 27, 2016 at 10:45 PM, Killian De Volder
> <killian.de.volder@megasoft.be> wrote:
>> Bcache "supports" suspend.
>> However, like all file-systems, you cannot mount it while you are resuming.
>> And bcache is basically automount.
>>
>> I use bcache with suspend, but I have taken special precautions to ensure bcache is never active
>> before attempting a resume. To do this I wrote my own initramfs.
>> If you are using a prebuild initramfs, ask your provider if it supports this.
>>
>> For more info:
>> https://bcache.evilpiepirate.org/FAQ/ "Can I use bcache with suspend/resume?"
>>
>> Killian De Volder
>>
>>
>> On 27-10-16 19:56, Shay Gover wrote:
>>> Hi,
>>>
>>> I saw this:
>>> https://patchwork.kernel.org/patch/8879681/
>>>
>>> So does bcache support suspend?
>>>
>>> Thanks,
>>>
>>> Shay Gover
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
>>> the body of a message to majordomo@vger.kernel.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>

  reply	other threads:[~2016-10-27 22:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-27 17:56 bcache and suspend Shay Gover
2016-10-27 19:45 ` Killian De Volder
2016-10-27 19:55   ` Shay Gover
2016-10-27 22:12     ` Killian De Volder [this message]
2016-10-28 10:02       ` Shay Gover
2016-10-28 11:26         ` Killian De Volder
2016-10-28 11:27           ` Shay Gover

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=58127BDA.2080805@megasoft.be \
    --to=killian.de.volder@megasoft.be \
    --cc=govershay@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