linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Lyle <mlyle@lyle.org>
To: Clemens Eisserer <linuxhippy@gmail.com>
Cc: linux-bcache@vger.kernel.org
Subject: Re: Enabling discard rendered caching device unuseable
Date: Tue, 7 Nov 2017 10:17:53 -0800	[thread overview]
Message-ID: <CAJ+L6qeOVY_KofXsZKihHrbHaYzQTKYAh0Shm7Givj+f8=PiBg@mail.gmail.com> (raw)
In-Reply-To: <CAFvQSYTrzA=i6Xww3vGRs+Wu3sHg_hjXMY1JmEdfNb8hD2Phxw@mail.gmail.com>

Clemens--

I'm sorry for this experience; I've added discard to my list of things
to review.

I suggest avoiding discard for bcache; since the cache device grows
until it is nearly full and is kept in that state, there is little
benefit from it.

Mike

On Mon, Nov 6, 2017 at 2:04 AM, Clemens Eisserer <linuxhippy@gmail.com> wrote:
> Hi,
>
> After using bcache for 9 months without any issues, I discovered the
> "discard" flag for the caching device.
> Running 4.13.5 I gave it a try, however after reboot the caching
> device failed to register with:
>
> At reboot bcache failed with:
> prio_read() bad csum reading priorities
> prio_read() bad magic reading priorities
>
> The SSD used as caching device was a OCZ-OCTANE with the latest
> firmware, which worked (and works) flawlessly for years and has no
> SMART issues.
>
> Best regards, Clemens
> --
> 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:[~2017-11-07 18:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-06 10:04 Clemens Eisserer
2017-11-07 18:17 ` Michael Lyle [this message]
2018-01-15  9:31   ` Clemens Eisserer

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='CAJ+L6qeOVY_KofXsZKihHrbHaYzQTKYAh0Shm7Givj+f8=PiBg@mail.gmail.com' \
    --to=mlyle@lyle.org \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linuxhippy@gmail.com \
    --subject='Re: Enabling discard rendered caching device unuseable' \
    /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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).