Re: Consistent failure of bcache upgrading from 5.10 to 5.15.2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2/7/22 2:11 PM, Coly Li wrote:
On 1/6/22 11:49 PM, Coly Li wrote:
On 1/6/22 10:51 AM, Eric Wheeler wrote:


I'm not sure how to format it 4k, but this is how Frédéric set it to 512
bytes and fixed his issue:

# intelmas start -intelssd 0 -nvmeformat LBAFormat=0
# intelmas start -intelssd 1 -nvmeformat LBAFormat=0

Copied. Let me try to find Intel P3700 firstly.

Thanks to Lenovo, they lent me P3700 PCIe SSD for bcache testing and debug. Now I format the card to 4K sector size and see the new 4k sector size from fdisk output.

I start to run fio with 8 io jobs and 256 io depth, 4K random write. Let me see what may happen. If any one has advice to reproduce the non-aligned I/O error more easily, please hint me.

BTW, just for extra clarifying,

The original issue reported by Kai in this thread, is not related to 4Kn issue. It is very probably a kernel regression as I replied to his first email.

What I am working on, is the problem originally reported by Eric which happened on 4Kn devices. I will update the situation on that thread later.

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.

Coly Li




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Linux ARM Kernel]     [Linux Filesystem Development]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux