Re: bcache and suspend

Killian De Volder
2016-10-27T22:22:41Z

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
>>>