All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nix <nix@esperi.org.uk>
To: Kai Krakow <hurikhan77@gmail.com>
Cc: linux-bcache@vger.kernel.org
Subject: Re: bcache crashes at boot time
Date: Wed, 21 Jun 2017 22:57:39 +0100	[thread overview]
Message-ID: <87d19xt358.fsf@esperi.org.uk> (raw)
In-Reply-To: <20170621191035.5995b87c@jupiter.sol.kaishome.de> (Kai Krakow's message of "Wed, 21 Jun 2017 19:10:35 +0200")

On 21 Jun 2017, Kai Krakow outgrape:

> Am Wed, 21 Jun 2017 12:05:26 +0100
> schrieb Nix <nix@esperi.org.uk>:
>> The system in question is an oldie that restarts by mounting as much
>> as it can readonly and then doing a reboot (when bcache would
>> routinely whine about timeouts): the things it manages to remount
>> readonly does not usually include / is bcache usually unhappy about
>> this sort of thing? Would it prefer it if I was able to unmount it
>> properly? If so, it's time to upgrade that machine... it's only that
>> I've had an oops before now when stopping bcaches (early in test, not
>> preserved because I thought I'd made a mistake), so I thought it
>> might be unhappy about *that*, as well.
>
> Does your SSD support power loss protection (PLP)?

It's an Intel DC3510, so one of the few that verifiably supports it and
has been verified to have the damn thing actually work: it's quite new
and its SMART logs report that the capacitors used to implement PLP work
fine. I'm also keeping my XFS logs (journals) on there, and they were
fine as well. (XFS routinely keeps stuff only in the log on a normal
shutdown, on the assumption that it'll be able to replay them on remount
without unnecessarily delaying the umount for a potentially huge
metadata update: if the logs were corrupted, it would have told me so
very loudly at startup.)

I think we can rule out the SSD itself as a cause.

> Having no PLP or enabling device write caching (e.g. by means of
> hdparm) could result in unwanted data corruptions...

This wasn't a powerdown, just a reboot. SMART reported no reset of the
SSD across the reboot.

-- 
NULL && (void)

  reply	other threads:[~2017-06-21 21:57 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05 12:38 bcache crashes at boot time Igor Pavlenko
2017-06-20 22:04 ` Eric Wheeler
2017-06-21 11:05   ` Nix
2017-06-21 17:10     ` Kai Krakow
2017-06-21 21:57       ` Nix [this message]
2017-06-22  0:47     ` Eric Wheeler
2017-06-22 11:24       ` Nix

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=87d19xt358.fsf@esperi.org.uk \
    --to=nix@esperi.org.uk \
    --cc=hurikhan77@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 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.