Mailinglist Archive: opensuse-factory (188 mails)

< Previous Next >
Re: [opensuse-factory] Re: Kernel 4.19 causing ext4 corruption
05.12.2018 7:12, Malcolm пишет:
On Tue 04 Dec 2018 09:36:08 PM CST, simonizor wrote:

On Tuesday, December 4, 2018 9:17:41 PM CST, Larry Finger wrote: ...

This corruption issue seems to be caused by blk-mq mode (which doesn't
seem to be enabled by default). It is also not limited to ext4.
There have been reports of it happening on other file systems also.

You can check if you have it enabled by doing the following:

Checking if a drive is using the multi-queue I/O code can be done by
checking for the presence of the /sys/block/DEVICE/mq directory.

More info:

Bug report:

Fix for this bug:
It's been present for awhile now, just not default;

dmesg | grep "io scheduler"

[ 2.793001] io scheduler noop registered
[ 2.793004] io scheduler deadline registered
[ 2.793050] io scheduler cfq registered (default)
[ 2.793052] io scheduler mq-deadline registered
[ 2.793052] io scheduler kyber registered
[ 2.793100] io scheduler bfq registered

I've been using the mq i/o scheduler with btrfs/xfs on ssd's no issues
seen to date.

cat /sys/block/sd[a,b]/queue/scheduler
[mq-deadline] kyber bfq none
[mq-deadline] kyber bfq none

According to Chris Mason, "It triggers when you have scsi devices using
elevator=none over blkmq".

To unsubscribe, e-mail: opensuse-factory+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse-factory+owner@xxxxxxxxxxxx

< Previous Next >