Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751857AbbFZGRa (ORCPT ); Fri, 26 Jun 2015 02:17:30 -0400 Received: from TYO200.gate.nec.co.jp ([210.143.35.50]:38791 "EHLO tyo200.gate.nec.co.jp" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729AbbFZGRY convert rfc822-to-8bit (ORCPT ); Fri, 26 Jun 2015 02:17:24 -0400 From: Junichi Nomura To: Jens Axboe , "torvalds@linuxfoundation.org" CC: "linux-kernel@vger.kernel.org" , "Christoph Hellwig" , Mike Snitzer , "device-mapper development" Subject: Re: [GIT PULL] Core block IO bits for 4.2 Thread-Topic: [GIT PULL] Core block IO bits for 4.2 Thread-Index: AQHQr1SM6CE+M9ksEUC6yDrFuS3iz529uWGA Date: Fri, 26 Jun 2015 06:15:12 +0000 Message-ID: <20150626061510.GA15036@xzibit.linux.bs1.fc.nec.co.jp> References: <20150625143716.GA13739@kernel.dk> In-Reply-To: <20150625143716.GA13739@kernel.dk> Accept-Language: ja-JP, en-US Content-Language: ja-JP X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.34.125.85] Content-Type: text/plain; charset="iso-2022-jp" Content-ID: <9435C87A9B9A0B4A84F5D31022C095BF@gisp.nec.co.jp> Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 962 Lines: 25 Hi Jens, On 06/25/15 23:37, Jens Axboe wrote: > block, dm: don't copy bios for request clones this change should not be pushed to mainline yet. Firstly, Christoph has a newer version of the patch that fixes silent data corruption problem: https://www.redhat.com/archives/dm-devel/2015-May/msg00229.html And the new version still depends on LLDDs to always complete requests to the end when error happens, while block API doesn't enforce such a requirement. If the assumption is ever broken, the inconsistency between request and bio (e.g. rq->__sector and rq->bio) will cause silent data corruption: https://www.redhat.com/archives/dm-devel/2015-June/msg00022.html -- Jun'ichi Nomura, NEC Corporation -- 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/