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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 85326C433EF for ; Tue, 22 Feb 2022 18:45:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232716AbiBVSpi (ORCPT ); Tue, 22 Feb 2022 13:45:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35080 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233215AbiBVSpi (ORCPT ); Tue, 22 Feb 2022 13:45:38 -0500 Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9B931F1E98 for ; Tue, 22 Feb 2022 10:45:11 -0800 (PST) Received: by mail-pl1-x632.google.com with SMTP id i1so2603680plr.2 for ; Tue, 22 Feb 2022 10:45:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:in-reply-to:references:subject:message-id:date :mime-version:content-transfer-encoding; bh=PMKYEWCDCMsP4EK+SamWNZKxFF4vjTSgauaCayRBeKE=; b=LYsSVxBz4ZoO4mbf1cPAomiWeU/r9SdwrB5IlF+jMaPMYf1cB43yDNtRO4zN9h0ZEy PwIT6hmUg3e1w5FduDfj28IUdcJrJeAEWbsyNTab3SYWJkV9ZDZrUTIg6Uz90oaI1gB2 l2wMa4FslXUzTXk/waMamxX6JgI0sysQDojzo2kYSkt2Az7H904t9VYCF4j024Nu/h8B MG/Uv9qgi99vVMxm8bCekh8EBNwyK7RCN2QkUskXthwQK2H4zrGpEBYVTgPm6Jnz8wuE 528AchVO9s1FHtOh5QTXGbAZ1o2YXOaqEhzgOx2R++f5zNbrMU5tr5RQG0Z9H6pnWToT udxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject :message-id:date:mime-version:content-transfer-encoding; bh=PMKYEWCDCMsP4EK+SamWNZKxFF4vjTSgauaCayRBeKE=; b=PJBIvLW/ltY3VVrU+6QrIZ+q3H3b1jjuyvrKCeJjkfnjvU0QaXbJua3x0wwppLUTwU sxtOJ6Wh4yD1wNKWvGcd4bVjE5HjrkF+GLFGwqpxYFrOkk8t5Bf/9ThUoIhBHY0SdsZh BM+B4cqEpK7eu7fNjof2LUF9RmbsTc0LOGiA+hZTP1UlgkCzR2PR8twMVzoBXUsSPos9 GA0+cEecIYZ7m7srKEW6NdK5W6FumrgkymSJmB6yTbaZWdrAryRImOGu3OYBEvSA8QcA eOjc6/zOUU8d/kBgTVTLhAg+rBrNmUsC5bJpkdw4cKKZjRzYSyC7C0WDvTX2nRBIL1hE cawA== X-Gm-Message-State: AOAM532zIos3npEDzt7T/lIWolG6TVkJZuR2RBGiBfteDnLLsZ+n9JkA iEOECvZiw9o+ziqvaq7YfXAiww== X-Google-Smtp-Source: ABdhPJwVYUrpMLzoTC9DCrhh59J61hLYFFnmLSX4NjObGw5vXjSBgqRUPjrThvaBsAcomdiQ4hgixg== X-Received: by 2002:a17:902:7b81:b0:14f:1b7e:c83c with SMTP id w1-20020a1709027b8100b0014f1b7ec83cmr24535613pll.119.1645555511056; Tue, 22 Feb 2022 10:45:11 -0800 (PST) Received: from [127.0.1.1] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id q2sm18362284pfj.94.2022.02.22.10.45.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Feb 2022 10:45:10 -0800 (PST) From: Jens Axboe To: kernel-team@fb.com, Stefan Roesch , io-uring@vger.kernel.org, linux-fsdevel@vger.kernel.org Cc: viro@zeniv.linux.org.uk In-Reply-To: <20220215180328.2320199-1-shr@fb.com> References: <20220215180328.2320199-1-shr@fb.com> Subject: Re: [PATCH v3 0/2] io-uring: Make statx api stable Message-Id: <164555550976.110748.6933069169641927964.b4-ty@kernel.dk> Date: Tue, 22 Feb 2022 11:45:09 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Tue, 15 Feb 2022 10:03:26 -0800, Stefan Roesch wrote: > One of the key architectual tenets of io-uring is to keep the > parameters for io-uring stable. After the call has been submitted, > its value can be changed. Unfortunaltely this is not the case for > the current statx implementation. > > Patches: > Patch 1: fs: replace const char* parameter in vfs_statx and do_statx with > struct filename > Create filename object outside of do_statx and vfs_statx, so io-uring > can create the filename object during the prepare phase > > [...] Applied, thanks! [1/2] fs: replace const char* parameter in vfs_statx and do_statx with struct filename commit: 30512d54fae354a2359a740b75a1451b68aa3807 [2/2] io-uring: Copy path name during prepare stage for statx commit: 1e0561928e3ab5018615403a2a1293e1e44ee03e Best regards, -- Jens Axboe