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.2 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 08226C43603 for ; Thu, 5 Dec 2019 00:16:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D84C420409 for ; Thu, 5 Dec 2019 00:16:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728459AbfLEAQT (ORCPT ); Wed, 4 Dec 2019 19:16:19 -0500 Received: from mail-pl1-f172.google.com ([209.85.214.172]:40817 "EHLO mail-pl1-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728011AbfLEAQT (ORCPT ); Wed, 4 Dec 2019 19:16:19 -0500 Received: by mail-pl1-f172.google.com with SMTP id g6so428420plp.7; Wed, 04 Dec 2019 16:16:18 -0800 (PST) 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=QXOTNbfvt4PQWE1w6GCGy81Vtob2l8oNprwO21T/FYw=; b=AUCmDxMl8POPp4XTUrkOvywntVNS/GSITi++pgoQinhP0W/pqLrTm4QhpuhbjCUKXI dpHH2pYh/3/poaczzL6Vl5JrWGJEBYI9IT4RAoYe+xMAlVQxpClo9uRQIarpQtnlHpTE 2aWvmcjnGnuiv0tBOAqolGAhhYnRr8C692inPfaX4MTGh1S2cqI2r1zq/iZcnxVWviZs FLx3sq6RUXcQ0mZXA/OGfTQ+fOjYvqKJ4kcn7n1HsToajLfzLOIdwtSmPAlFkoUfVibM 8SMHuEFq877fQQlkUWh/zGksy6WIzSXtmzfuqDvZakWgiB1ev7pwCJQTsSz0wgbcficB jA6A== X-Gm-Message-State: APjAAAW1o74uLrZIA9tXnUGD/LhS2PzuTCFqBZUnhzE9tswBDC1oGAZP AKssTV3Fk5C1KUCqvfd/GuM= X-Google-Smtp-Source: APXvYqyfQGVYaulKAcmWLg8fai9mIRBmWJGk9hRhnBoL3l1xWDIXRBc1Ryagoc5Iin7/tcdwRgWdAw== X-Received: by 2002:a17:90a:23a9:: with SMTP id g38mr6397637pje.128.1575504978148; Wed, 04 Dec 2019 16:16:18 -0800 (PST) Received: from desktop-bart.svl.corp.google.com ([2620:15c:2cd:202:4308:52a3:24b6:2c60]) by smtp.gmail.com with ESMTPSA id s22sm7374112pjr.5.2019.12.04.16.16.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 04 Dec 2019 16:16:17 -0800 (PST) Subject: Re: Data corruption in kernel 5.1+ with iSER attached ramdisk To: Ming Lei , Stephen Rust Cc: 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 , Sagi Grimberg , Max Gurtovoy References: <20191203005849.GB25002@ming.t460p> <20191203031444.GB6245@ming.t460p> <20191203124558.GA22805@ming.t460p> <20191204010529.GA3910@ming.t460p> <20191204230225.GA26189@ming.t460p> From: Bart Van Assche Message-ID: <683a4567-6b34-ac3b-93ff-74d788ac4242@acm.org> Date: Wed, 4 Dec 2019 16:16:15 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 MIME-Version: 1.0 In-Reply-To: <20191204230225.GA26189@ming.t460p> 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 On 12/4/19 3:02 PM, Ming Lei wrote: > On Wed, Dec 04, 2019 at 12:23:39PM -0500, Stephen Rust wrote: >> Presumably non-brd devices, ie: real scsi devices work for these test >> cases because they accept un-aligned buffers? > > Right, not every driver supports such un-aligned buffer. > > I am not familiar with RDMA, but from the trace we have done so far, > it is highly related with iser driver. Hi Stephen, Do you need the iSER protocol? I think that the NVMeOF and SRP drivers also support RoCE and that these align data buffers on a 512 byte boundary. Bart.