Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1530681imu; Mon, 5 Nov 2018 23:29:39 -0800 (PST) X-Google-Smtp-Source: AJdET5c47XsWYNcbIOpyE1tL/03w37Rn2pemZW1iOLEOd78QkTgn1Uk12yZvyPTRY6ekwRlO6fz5 X-Received: by 2002:a63:4c23:: with SMTP id z35-v6mr23066295pga.312.1541489379211; Mon, 05 Nov 2018 23:29:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541489379; cv=none; d=google.com; s=arc-20160816; b=am/rH/RnCfYrpcCZO6N7QBxOjq+E1fHp03OvbDSKvZ5Sj3z0K+5k8E4DnkjWR/3sSE MaKEjEk/Dt3N+mAp1lVGIon46bitlP/Vuta3fNidoV8CuiKWMjGcokr3u3laz4xLb49o fKsP4CsjvgLia1Z/w2Zbj0h1dnB/7vvYU8OmWhWLhuks45s1me040KwrE0hCQY8X4c/9 9mT0/j8X+QW5wB5fgeiNKD2pd6MqPwE0eFx24AjCzPFy6uUlBxnT32FrGT5N8noWFy7O cUL54A2qx6vfWLFoOwhgr51yvF4IT9Rzs3hjIfXnajed6mxeSKY92lw4Nv7LP6nTlfYD p+lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=4DS0e1/Mx7JE2alqTDAlfQ7FsMrVaa/GA9priE5a6/U=; b=jDjwBzWw9wvTGAVTP426wdDrH+gicJKvFJ8z2z7fUlnlC3a7o9MopCD/8MwoJcn0dc x024Fq8pYZZO0YzMsfIyhIRQ1aSd7SkxJvO/tBAZY+A76OuyjvgkSqbUGHJ3k4JnQ5xe 21yi8htOB9A1iNfWjc7mxvz07jN3mE8CaVQSwgY3a1Sg3tgYe2J2nHagm2ls/aWpG9BD bHHiWquETuFe6HYYZDGP8VFolXmNu6or1SGaV7y3PtJRmVUEc6oErObC6YG+P17u1StQ lA25jO4UnLssE1jfZNzN4JJzyRA7qBOm8yNa/Cy5puysEl9PtChSZnSJyFzpIM4mDvCK dyZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FAsChPpm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 207-v6si46121635pgb.298.2018.11.05.23.29.23; Mon, 05 Nov 2018 23:29:39 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FAsChPpm; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387579AbeKFQw4 (ORCPT + 99 others); Tue, 6 Nov 2018 11:52:56 -0500 Received: from mail-lf1-f66.google.com ([209.85.167.66]:45379 "EHLO mail-lf1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387457AbeKFQw4 (ORCPT ); Tue, 6 Nov 2018 11:52:56 -0500 Received: by mail-lf1-f66.google.com with SMTP id b20so8043022lfa.12; Mon, 05 Nov 2018 23:29:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=4DS0e1/Mx7JE2alqTDAlfQ7FsMrVaa/GA9priE5a6/U=; b=FAsChPpmmQXC3L0uJan3VFsPlIQ/1eJhSnG1zSxmBcouejDuf82yWvrn2QDXslBxit HPDK+o7FjhvlyL0wPmiSatZJTESIJjJrgdI5i1p6DOUBWpLoTIfJ9Ik1OcoFmMRHTp3G Z/IsADYPvBmsCTnrnXUP4azseRyu5G0pW2kUsocLW978uHTuzuw40HaFHdeaQ2O7Fa+b yjL74ebUIjyifu7vQIB68CdhNYpoYydQKkxho5p4DtguA1c3QKF0XAhTaRpIwZ6ritzt z/cgMZieYvlzSBBcUtPzTtco6Td3v6TQNaacBN1F6rl+p8t4HX4xiQgbYYLCXH/iVmOy OlRw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=4DS0e1/Mx7JE2alqTDAlfQ7FsMrVaa/GA9priE5a6/U=; b=YspT3PF2AkBXNfT6by5aBdv/4JZaBVbCz9L30LQizw9+0f8Z165UlXjs7/qzCg7uGI uZ7DAUMK7q+lW3/SX1wEq2+c0wv9c61aigzJmjFBczmzyhPblF2Im8+uxDW+T4+phD5V dINJwmIganKaWtt98Kp0+w1uKaZUWRV2HWylO04C+kN67NMskn/83dL3E672C/UQfMxs qzed9/BcHin7GzYigWSvviuoMzIqyTk31y+Y5izQAkVZohSyOK1DvtkHpMFYaKn23xES F+ji3aA4uP8tWYhdb2luYCs0fFfPChZ1GTAUD+GPHfBl1uLxi4XbTUiPDEGfdkhbPjpE 1ymA== X-Gm-Message-State: AGRZ1gIusq+VMc5kIVG3m8sVriIWYemjZToMB92CXO/iFrO01P5O15QG pE70Xuw6HHzisfx88OK+kTmS3w8Szh7KqPJkbes= X-Received: by 2002:a19:2a4b:: with SMTP id f72mr13561663lfl.139.1541489341895; Mon, 05 Nov 2018 23:29:01 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jack Wang Date: Tue, 6 Nov 2018 08:28:50 +0100 Message-ID: Subject: Re: BUG: aio/direct-io data corruption in 4.7 To: shapiro.gregory@gmail.com Cc: hch@infradead.org, jnicklin@blockbridge.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, gregory.shapiro@kaminario.com Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gregory Shapiro =E4=BA=8E2018=E5=B9=B411=E6=9C= =885=E6=97=A5=E5=91=A8=E4=B8=80 =E4=B8=8B=E5=8D=884:19=E5=86=99=E9=81=93=EF= =BC=9A > > Hello, my name is Gregory Shapiro and I am a newbie on this list. > I recently encountered data corruption as I got a kernel to > acknowledge write ("io_getevents" system call with a correct number of > bytes) but undergoing write to disk failed. > After investigating the problem I found it is identical to issue found > in direct-io.c mentioned the bellow thread. > https://lore.kernel.org/lkml/20160921141539.GA17898@infradead.org/ > Is there a reason proposed patch didn't apply to the kernel? > When can I expect it to be applied? > Thanks, > Gregory Hi Gregory, Thanks for your info. Have you tried with latest kernel other than 4.7, is the problem still ther= e? Could you share your test case? Regards, Jack Wang