Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2455785rwr; Fri, 28 Apr 2023 10:31:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6DcIhZWnH1uY0mLwYEOyspllr1+gS9Y8uqf/eSdDL8XxXMs9xmFIzZgJZqkh6zsDvLA85n X-Received: by 2002:a05:6a21:6d82:b0:d9:77f7:d62e with SMTP id wl2-20020a056a216d8200b000d977f7d62emr6757678pzb.36.1682703073089; Fri, 28 Apr 2023 10:31:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682703073; cv=none; d=google.com; s=arc-20160816; b=LXgBeKfF2PF5/B0U6aC5frUxwNLefK1/lG0hukEuEfRicHnfk7SPQNxRFf0M9PorOu AWMH2SPmRB5IIVU+BQovX7kODGLwoyVb9J6ZGXjH6Ap7HkM+1x39bD/YCDz7UBEIWXEX LjHqOB3J/zFQJglI+76vJ/xnHMHrgAdvCdrhqcncYBnr9KCJMdPMh9jZp/xOYGgx5pHs p/u095dh3pWQZFw6ZxtnmfYjsRg3jsgQNfKRUR8SSTrnCfNwHMyhyjN5ItiDibn42hl/ Z811xocYmsECPVvghMkeeFHouajpP6R8SCAyyqJi1FSbpmz3F7Ln1/SqjZPp5PXaSLaA Mu+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=mx+u+e8F3tpe9jME3ZkNhf/uGT2LdeSIrgmUdMOCoHA=; b=SwIKdZk9TEKrRnK0Fn885qKtUYEy3CbW0FiMAxCPlBDBf7U9u3QGTyPPR9gKC29o9U X8zNOfVe2UqH+t/S27zEAq5o1DrJz4rZv0FVewf43mp6+FPLhl9upUjJ0/qtdJCffHva tdiaWc9fCvErLpFY2ZjxPbVOf4r7eFnauPCPRs2B1cbJRMn+mdfTgkrsraFvxBO1SOUf PI+NFXalWtSm8vlNH7qw3pVZfTLOnlPKYzfXm5RzZxw/eUJ8N6mvhDM7cjuc2iOcsq1C YNhv98tmXehK73N/RQHM0ZHSze+pBo+PeEnf6xscB3BgCq80PgNGJMGS/5HasmqNeEdS YPsA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=StkHpsTF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d10-20020a63d64a000000b00524b0295005si21891963pgj.558.2023.04.28.10.30.39; Fri, 28 Apr 2023 10:31:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel-dk.20221208.gappssmtp.com header.s=20221208 header.b=StkHpsTF; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346172AbjD1R2V (ORCPT + 99 others); Fri, 28 Apr 2023 13:28:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346262AbjD1R2S (ORCPT ); Fri, 28 Apr 2023 13:28:18 -0400 Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CB89F1733 for ; Fri, 28 Apr 2023 10:28:16 -0700 (PDT) Received: by mail-il1-x131.google.com with SMTP id e9e14a558f8ab-32ae537c23fso3862935ab.0 for ; Fri, 28 Apr 2023 10:28:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20221208.gappssmtp.com; s=20221208; t=1682702896; x=1685294896; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=mx+u+e8F3tpe9jME3ZkNhf/uGT2LdeSIrgmUdMOCoHA=; b=StkHpsTFpc04mYRpir23kIUT3IfSMOjigxosKHgX+gCeWel7dyhRfqGvXbHUZwOaj5 cOmpDi3mLtJz1AcA9iR3BmwiuJ2G29nre1arFQstFKx8fo7wCREJHYvPPagMXM5Pv67v CGQc9H89+myfRH8sV3i5udBtHw1LMoZj4bEJmm6XkLju7wGfcsTSRbQ25G/Yrxq8HNdo 9k8pTj0NfwdNMyUF7oBvrqgu8uj5CNNJZ0sAJn+Y3KlOC8s4abk9wsZHUojThtZnGUao 1BI5+xbPnnEDtyZ+OziPsSMtxIFr83qa5KTVmeR23CRHek3oKvSC5oJq2elYhPFhVF5j Uxjw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682702896; x=1685294896; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=mx+u+e8F3tpe9jME3ZkNhf/uGT2LdeSIrgmUdMOCoHA=; b=JqHMksCN+BjLaPP8gcUgyMDaXTM+DXVycDceu0PM7TwsyoW4akR09PMtKIDITk20BC QYcFnQwGjj3K7woesP0CvwRyjdA69uLmkdeb5AiG6XZKUD4EzeVrJAHwELT2eRfQGsxp gpJWm3Lo2jIqamuzTVyRjz9NcdojJWBcHgzODBm7ZoGhFtpLnLmf572UeftV5u2ZOZMQ e3rhxqjV/vqNZqEYR/7cKRkLCkHae5wyePGy+8+ds/FpcNgcyakY3epeG/iOndFu9w65 fh4NHiXW2I5+TdsdlJPzQvFvcrBkIPpotkZoHtBqBdEN4kRCUQyIVGK95xB8f9GUfSn1 zsgg== X-Gm-Message-State: AC+VfDy3VL8/wbOjgmeIdD8tq3j7zDUyapY3uLYgXFN7vk5VOxG+J0fh 80oq2fKT4j00jOuOLgKXLN6G/Q== X-Received: by 2002:a05:6602:1696:b0:760:dfd3:208d with SMTP id s22-20020a056602169600b00760dfd3208dmr4267661iow.0.1682702896169; Fri, 28 Apr 2023 10:28:16 -0700 (PDT) Received: from [192.168.1.94] ([96.43.243.2]) by smtp.gmail.com with ESMTPSA id d123-20020a026281000000b00405f36ed05asm6225655jac.55.2023.04.28.10.28.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 28 Apr 2023 10:28:15 -0700 (PDT) Message-ID: <678232fa-fd02-37b7-3048-a124c4ffdc71@kernel.dk> Date: Fri, 28 Apr 2023 11:28:14 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v2 0/3] io_uring: Pass the whole sqe to commands Content-Language: en-US To: Breno Leitao , io-uring@vger.kernel.org, linux-nvme@lists.infradead.org, asml.silence@gmail.com Cc: leit@fb.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, sagi@grimberg.me, hch@lst.de, kbusch@kernel.org, ming.lei@redhat.com References: <20230421114440.3343473-1-leitao@debian.org> From: Jens Axboe In-Reply-To: <20230421114440.3343473-1-leitao@debian.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,NICE_REPLY_A,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 4/21/23 5:44?AM, Breno Leitao wrote: > These three patches prepare for the sock support in the io_uring cmd, as > described in the following RFC: > > https://lore.kernel.org/lkml/20230406144330.1932798-1-leitao@debian.org/ > > Since the support linked above depends on other refactors, such as the sock > ioctl() sock refactor[1], I would like to start integrating patches that have > consensus and can bring value right now. This will also reduce the patchset > size later. > > Regarding to these three patches, they are simple changes that turn > io_uring cmd subsystem more flexible (by passing the whole SQE to the > command), and cleaning up an unnecessary compile check. > > These patches were tested by creating a file system and mounting an NVME disk > using ubdsrv/ublkb0. Looks mostly good to me, do agree with Christoph's comments on the two patches. Can you spin a v3? Would be annoying to miss 6.4 with this, as other things will be built on top of it. -- Jens Axboe