SATA IO errors after ''block: fix segment split"

From: Ming Lei
Date: Sun Dec 20 2015 - 20:26:36 EST


Hi,

Both Andre and Diethard reported that the following kind of
SATA write IO errors on 32bit(ARM/i386) with PAE after the
commit 578270bfb(block: fix segment split):

[ 103.736982] ata1.00: exception Emask 0x0 SAct 0x3ffff0 SErr 0x0
action 0x6 frozen
[ 103.744476] ata1.00: failed command: WRITE FPDMA QUEUED
[ 103.749707] ata1.00: cmd 61/00:20:48:6b:41/08:00:0a:00:00/40 tag 4
ncq 1048576 out
[ 103.749707] res 40/00:00:00:00:00/00:00:00:00:00/00 Emask
0x4 (timeout)
[ 103.764659] ata1.00: status: { DRDY }

Unfortunately I can't reproduce the issue on QEMU with i686 plus
PAE after runing kinds of IO loads on the AHCI SATA drive.

But the commit 578270bfb(block: fix segment split) is quite simple and
straight-forward, and I can't see what is wrong with this change.

Looks size of the faulted I/O is always 1Mbytes in Diethard's reports(it
is in private email and I can show that if anyone need the logs), and seems
it is highly possiblly related with the commit b54ffb73cadc ("block:
remove bio_get_nr_vecs()"), which is another similar SATA report by
Linus.


Thanks,
Ming Lei
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/