From: Coly Li <colyli@suse.de>
To: Kai Krakow <kai@kaishome.de>
Cc: "Eric Wheeler" <bcache@lists.ewheeler.net>,
linux-bcache@vger.kernel.org,
"Frédéric Dumas" <f.dumas@ellis.siteparc.fr>,
"Kent Overstreet" <kent.overstreet@gmail.com>
Subject: Re: Consistent failure of bcache upgrading from 5.10 to 5.15.2
Date: Mon, 7 Feb 2022 16:13:51 +0800 [thread overview]
Message-ID: <e7caa84c-6bd1-bc81-caa1-6e7d7c3298a5@suse.de> (raw)
In-Reply-To: <CAC2ZOYsHY=7-zJ8WApgC6rhaMyFLp+-=83hD1pdzB2xBrSEfUg@mail.gmail.com>
On 2/7/22 4:10 PM, Kai Krakow wrote:
> Am Mo., 7. Feb. 2022 um 08:37 Uhr schrieb Coly Li <colyli@suse.de>:
>
>> For the problem reported by Kai in this thread, the dmesg
>>
>> [ 27.334306] bcache: bch_cache_set_error() error on
>> 04af889c-4ccb-401b-b525-fb9613a81b69: empty set at bucket 1213, block
>> 1, 0 keys, disabling caching
>> [ 27.334453] bcache: cache_set_free() Cache set
>> 04af889c-4ccb-401b-b525-fb9613a81b69 unregistered
>> [ 27.334510] bcache: register_cache() error sda3: failed to run cache set
>> [ 27.334512] bcache: register_bcache() error : failed to register device
>>
>> tells that the mate data is corrupted which probably by uncompleted meta data write, which some other people and I countered too (some specific bcache block size on specific device). Update to latest stable kernel may solve the issue, but I don't verify whether the regression is fixed or not.
> As far as I can tell, the problem hasn't happened again since. I think
> I saw the problem in 5.15.2 (the first 5.15.x I tried), and it was
> fixed probably by 'bcache: Revert "bcache: use bvec_virt"' in 5.15.3.
> I even tried write-back mode again on multiple systems and it is
> stable. OTOH, I must say that I only enabled writeback caching after
> using btrfs metadata hinting patches which can move metadata to native
> SSD devices - so bcache will no longer handle btrfs metadata writes or
> reads. Performance-wise, this seems a superior setup, even bcache
> seems to struggle with btrfs metadata access patterns. But I doubt it
> has anything to do with whether the 5.15.2 problem triggers or
> doesn't, just wanted to state that for completeness.
Copied. Thank you for the information. And by your information, I am
triggered by this report to find hardware to debug another existing
issue for years. This is a powerful motivation from community :-)
Coly Li
prev parent reply other threads:[~2022-02-07 8:16 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-16 10:10 Consistent failure of bcache upgrading from 5.10 to 5.15.2 Kai Krakow
2021-11-16 11:02 ` Coly Li
2021-11-18 10:27 ` Kai Krakow
2021-11-20 0:06 ` Eric Wheeler
2021-11-23 8:54 ` Coly Li
2021-11-23 9:30 ` Kai Krakow
2022-01-06 15:32 ` Coly Li
2022-01-06 2:51 ` Eric Wheeler
2022-01-06 9:25 ` Frédéric Dumas
2022-01-06 15:55 ` Coly Li
2022-01-08 6:57 ` Coly Li
2022-01-06 15:49 ` Coly Li
2022-02-07 6:11 ` Coly Li
2022-02-07 7:37 ` Coly Li
2022-02-07 8:10 ` Kai Krakow
2022-02-07 8:13 ` Coly Li [this message]
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=e7caa84c-6bd1-bc81-caa1-6e7d7c3298a5@suse.de \
--to=colyli@suse.de \
--cc=bcache@lists.ewheeler.net \
--cc=f.dumas@ellis.siteparc.fr \
--cc=kai@kaishome.de \
--cc=kent.overstreet@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;
as well as URLs for NNTP newsgroup(s).