Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751329AbbLUBZu (ORCPT ); Sun, 20 Dec 2015 20:25:50 -0500 Received: from mail-io0-f194.google.com ([209.85.223.194]:33972 "EHLO mail-io0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750835AbbLUBZr (ORCPT ); Sun, 20 Dec 2015 20:25:47 -0500 MIME-Version: 1.0 Date: Mon, 21 Dec 2015 09:25:47 +0800 Message-ID: Subject: SATA IO errors after ''block: fix segment split" From: Ming Lei To: "linux-ide@vger.kernel.org" , Linux Kernel Mailing List Cc: =?UTF-8?Q?Diethard_Jan=C3=9Fen?= , Andre Przywara , Tejun Heo , Jens Axboe , Linus Torvalds Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1345 Lines: 35 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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/