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=-5.3 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,NICE_REPLY_A, 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 8AFA8C4743C for ; Mon, 21 Jun 2021 15:59:43 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 72D6960C3E for ; Mon, 21 Jun 2021 15:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230161AbhFUQB5 (ORCPT ); Mon, 21 Jun 2021 12:01:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229719AbhFUQB4 (ORCPT ); Mon, 21 Jun 2021 12:01:56 -0400 Received: from mail-il1-x132.google.com (mail-il1-x132.google.com [IPv6:2607:f8b0:4864:20::132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 99946C06175F for ; Mon, 21 Jun 2021 08:59:41 -0700 (PDT) Received: by mail-il1-x132.google.com with SMTP id u2so5458564ilk.7 for ; Mon, 21 Jun 2021 08:59:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20150623.gappssmtp.com; s=20150623; h=subject:from:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=tXUoDruRqw6fm0tJ4U5TxS0H24Nor4c/WCllgD/ekng=; b=ZAA163GYntSyFwpWN8NcRUpdGFTpzOMYug2nYdMcr6M3qeW9TgC1PWIXPbSH8RyQVv 2NbApjKRvenz3k8TkWM4OW67hU/0r3ZQOA/FZBmqpDCXwn4ga5GoUd5DE00NUN//VqxF o5nVi7E+RTxL2YupQOhnEfTv3SZvZt4vPIfybxepMsBLmlPbGTBQTAbjdfu1AOY5PcQd 7f9NBlHIt1X1bzAEq9mIsLGfPX3sdn4HoyxePTpm1Rtyo4GDBOrZOluQGpeyME36mVMH 9dsXRqlTY0LYYnEpeA5b1k+Jy+Jrn/RlSwuriYRRwMtSrc7FOiHFn/CowYJxMmFVTxmt 1d9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=tXUoDruRqw6fm0tJ4U5TxS0H24Nor4c/WCllgD/ekng=; b=mAudYF/KgAmbXlE5Vi6A1tXVyvRgeIAfwPCOEQ13f2gtmh7v5OzEapYIIAJOzwBQ46 v5+bLL0fcNY8VwCKScbLpYrK9YUXaMWFbmC1drlyrftVVI53RyXHh7BjB1S36GPHxc2k 992SupMeZwC3FNcq6XUheVv5IgecxKS7A+xdjNT1IA+DZfYpdoit1FN5HMN55fta83oX QAlsIQejXUw22suFpK7ZHABf7fSzh3IdTTaU9N6dAaZoLWMMT5e0roNphu2y2XicnPxe G5k9H3Xo6nHveboKrO7qKELQhZ2fBHq+unxhLZLecy+yAFGemRSDWUADjmrgVcB5PGIt rCZw== X-Gm-Message-State: AOAM532mxWqWr7wZapFyH/+tpIrcDsKnE2+Pe1AEl0bOq9cp6KocyRlS snHigBlbRB//mrXUe/JvljM09uI9inzFSQ== X-Google-Smtp-Source: ABdhPJzIpeqnBFYPefppR8k/Z63jSp8UKaplttn9BkxKxDeigjgqyqj0Zrivb+pEFt7ZYoJUDDC0VA== X-Received: by 2002:a05:6e02:14c4:: with SMTP id o4mr9804037ilk.6.1624291180784; Mon, 21 Jun 2021 08:59:40 -0700 (PDT) Received: from [192.168.1.30] ([65.144.74.34]) by smtp.gmail.com with ESMTPSA id g4sm369749ilk.37.2021.06.21.08.59.40 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 21 Jun 2021 08:59:40 -0700 (PDT) Subject: Re: [PATCH v5 00/10] io_uring: add mkdir, [sym]linkat and mknodat support From: Jens Axboe To: Dmitry Kadashev , Alexander Viro , Christian Brauner Cc: Pavel Begunkov , linux-fsdevel@vger.kernel.org, io-uring@vger.kernel.org References: <20210603051836.2614535-1-dkadashev@gmail.com> Message-ID: <6ea228f7-6be2-712f-01aa-0299e63b3f68@kernel.dk> Date: Mon, 21 Jun 2021 09:59:39 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On 6/21/21 9:57 AM, Jens Axboe wrote: > On 6/2/21 11:18 PM, Dmitry Kadashev wrote: >> This started out as an attempt to add mkdirat support to io_uring which >> is heavily based on renameat() / unlinkat() support. >> >> During the review process more operations were added (linkat, symlinkat, >> mknodat) mainly to keep things uniform internally (in namei.c), and >> with things changed in namei.c adding support for these operations to >> io_uring is trivial, so that was done too. See >> https://lore.kernel.org/io-uring/20210514145259.wtl4xcsp52woi6ab@wittgenstein/ >> >> The first patch is preparation with no functional changes, makes >> do_mkdirat accept struct filename pointer rather than the user string. >> >> The second one leverages that to implement mkdirat in io_uring. >> >> 3-6 just convert other similar do_* functions in namei.c to accept >> struct filename, for uniformity with do_mkdirat, do_renameat and >> do_unlinkat. No functional changes there. >> >> 7 changes do_* helpers in namei.c to return ints rather than some of >> them returning ints and some longs. >> >> 8-10 add symlinkat, linkat and mknodat support to io_uring >> (correspondingly). >> >> Based on for-5.14/io_uring. > > Can you send in the liburing tests as well? Ah nevermind, you already did... -- Jens Axboe