From: Kai Krakow <hurikhan77@gmail.com>
To: linux-bcache@vger.kernel.org
Subject: Re: journal replay at each boot problematic?
Date: Mon, 27 Mar 2017 22:51:33 +0200 [thread overview]
Message-ID: <20170327225133.4aa977dd@jupiter.sol.kaishome.de> (raw)
In-Reply-To: CAFvQSYSTFPu9yPj-i2E+G53V_Auet8WTQk9q1vAUFQZe=VUWjQ@mail.gmail.com
Am Mon, 27 Mar 2017 13:33:57 +0200
schrieb Clemens Eisserer <linuxhippy@gmail.com>:
> Hi,
>
> I am using bcache in writeback-mode for a very slow (~100kb/s write
> speed) backing device.
>
> At each boot I see messages like the following:
> > bcache: bch_journal_replay() journal replay done, 2297 keys in 86
> > entries, seq 71136
>
> Are these messages indicating an unclean shutdown / some kind of
> rollback operation - or is it part of "normal" bcache initialization?
As far as the docs tell, bcache is designed to shut down unclean. So
this is expected behavior in write-back mode.
To cleanly detach a bcache, you would need to first put it in
write-through or write-around mode and wait for write-back to finish.
In turn, this mode should also avoid these messages at boot.
--
Regards,
Kai
Replies to list-only preferred.
next prev parent reply other threads:[~2017-03-27 20:52 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-27 11:33 journal replay at each boot problematic? Clemens Eisserer
2017-03-27 20:51 ` Kai Krakow [this message]
2017-03-29 12:27 ` Clemens Eisserer
2017-03-29 17:52 ` Kai Krakow
2017-03-29 17:59 ` Kai Krakow
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=20170327225133.4aa977dd@jupiter.sol.kaishome.de \
--to=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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox