From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5230CC2BA12 for ; Thu, 2 Apr 2020 22:17:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3053C2073B for ; Thu, 2 Apr 2020 22:17:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2389402AbgDBWRA (ORCPT ); Thu, 2 Apr 2020 18:17:00 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:54487 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726963AbgDBWRA (ORCPT ); Thu, 2 Apr 2020 18:17:00 -0400 Received: by mail-wm1-f68.google.com with SMTP id c81so5124113wmd.4; Thu, 02 Apr 2020 15:16:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=GMAAF1z1HDrpyRd0Ju0XEsYC0WrWOpuIWNSFdw2NHFQ=; b=HyESLoDBBU3/sj7clsewJVzrebqgnSsjWcp+e354WYk8EPPfv82HgylYnGlu3igxH/ dwubjS8hjabkvAO5+45mSWbUKjRzEV7dxDsTyLv5QIm4A/qkXPIsGYa9bZexyYxisFhb j+sta8Bi4Vgx1w1tlGO3EXgMDGAELhSGrCQ8NY/SX0oRryoDa4ni3WHZXqmJUR3FvXOX jiYedamA0tol1G0xnX+uT9RKLfQ5X0ULmk8OqlO/BWnEkRcYwTyqSyhNlgayTERcb157 17nl0K/gn4ud881Sh1YVZpNDd1v72HOin1YT1z62gljT345fzbJqFEOLnhLVKmWUbMnQ lDWg== X-Gm-Message-State: AGi0PuZ29cmsmJN/DfEmX4fMiJu3OFayMH/Vytg6Rw3FUG0ubt5Domgp jFmXrMYNcFQ9iJQtPt2v+iM= X-Google-Smtp-Source: APiQypJxYdZHUHEdAKxNnoT93/Q4YYR7kkFS2HmhMw+028JCYZRHf6fQt1XBj/oalhRDin/42PQmLg== X-Received: by 2002:a1c:9652:: with SMTP id y79mr5441978wmd.89.1585865818193; Thu, 02 Apr 2020 15:16:58 -0700 (PDT) Received: from ?IPv6:2601:647:4802:9070:9069:e334:a021:3782? ([2601:647:4802:9070:9069:e334:a021:3782]) by smtp.gmail.com with ESMTPSA id z12sm9478177wrt.27.2020.04.02.15.16.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 02 Apr 2020 15:16:57 -0700 (PDT) Subject: Re: Data corruption in kernel 5.1+ with iSER attached ramdisk To: Stephen Rust Cc: Ming Lei , Rob Townley , Christoph Hellwig , Jens Axboe , linux-block@vger.kernel.org, linux-rdma@vger.kernel.org, linux-scsi@vger.kernel.org, martin.petersen@oracle.com, target-devel@vger.kernel.org, Doug Ledford , Jason Gunthorpe , Max Gurtovoy References: <20191203005849.GB25002@ming.t460p> <20191203031444.GB6245@ming.t460p> <20191203124558.GA22805@ming.t460p> <20191204010529.GA3910@ming.t460p> <20191204230225.GA26189@ming.t460p> <95750c05-eb49-d1db-311f-4edf9b4fd6ec@grimberg.me> From: Sagi Grimberg Message-ID: <1f6bc60e-7f2b-d959-f1ce-5055752e2323@grimberg.me> Date: Thu, 2 Apr 2020 15:16:53 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-rdma-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rdma@vger.kernel.org > Hi Sagi, > >> Does the attached patch work for you? > > This patch _does_ work for our tests. I see all the writes aligned to > 512 bytes as, I think, would be expected. Thanks! Good to hear, I'll wait for your further testing before submitting it as a patch as I don't have resources to test this thoroughly at the moment. Thanks, Sagi