Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2375473iof; Wed, 8 Jun 2022 03:44:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRgwClvw2NKlRUKaQABXP7fN61CauFsHamLBaAUnZIpHNHsixd1foNYoF2D/BFCp0Gb4KA X-Received: by 2002:a17:90b:1b48:b0:1e8:5885:f8b with SMTP id nv8-20020a17090b1b4800b001e858850f8bmr23211529pjb.122.1654685060928; Wed, 08 Jun 2022 03:44:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654685060; cv=none; d=google.com; s=arc-20160816; b=h+Me7gj+QDcQfOdC80EDlQtVWW4piImZl4zs/eivnx1Z6r68ePDHBgtx0IwU4OFgcB 8y20+rOZR+ix6HSabt5LJKmoH2LdYLB0Ad6ULL8OtSsPzeIx1URYb7K7BN2Aflr/VLCW ywZxPU75OYGq0PUhyQqOHG4yU9JsNb6lqUA1X6VVogVy2wCYbePM9HpKjYRkN3if6ScJ 29dQNI04n2DOL4tw4nNvtsInD+qZMgyJm/z99+fqenwveO1/v/H7+/LrJICKDXySUkgH 6RiUNZuguAD9MG3AwjU7RiItgN4/XxOLrhfXzGKzyaDC1aTRsK0lWglXBDgy+TU0l44G XFLA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from; bh=ABL7qSc15QznxEXI4fZcUA8Fc5sexvRa25Y4b31l7X8=; b=EmeM600ZJ6Ity/79GUPsHtQ+h8+t7E5WlqplbMHPqpMXEtALPQ9b2DBSt8UqpXhHF9 a5IlwWuz0RJDXsQQgHc9CqOHBg9kIQU3gjehvfF8R899F4nNKMqGNaFk9uqKm4+KscPf MAXkJ3ghQYvuZsJqw63S5Uxsg6iRx3d8+rFR29cLso0l/IGF3gVsVWXCArMspUWPVneh ZsO1c/yH2WRpW8kKTi+ImqcDRSXE+aSs7KXkwHVAJmJWFUwhQz1M9AVIvm2+3fjydiRG lJrAoBCrRBEQKZbYGP0lr/LAE53vrbTw/pYF3OZW7x68h1GiWQi4LojQx8Fkf+DNBwFP QXLQ== ARC-Authentication-Results: i=1; mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id k13-20020a056a00134d00b0051c44065606si4995083pfu.357.2022.06.08.03.44.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 Jun 2022 03:44:20 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 93FD616CF5C; Wed, 8 Jun 2022 03:11:00 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236225AbiFHKKH (ORCPT + 99 others); Wed, 8 Jun 2022 06:10:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36136 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236271AbiFHKIT (ORCPT ); Wed, 8 Jun 2022 06:08:19 -0400 X-Greylist: delayed 538 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Wed, 08 Jun 2022 02:51:38 PDT Received: from mail.parknet.co.jp (mail.parknet.co.jp [210.171.160.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 001ED62EE; Wed, 8 Jun 2022 02:51:37 -0700 (PDT) Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id CCA6A2051589; Wed, 8 Jun 2022 18:42:36 +0900 (JST) Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.16.1/8.16.1/Debian-3) with ESMTPS id 2589gZHG171264 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 8 Jun 2022 18:42:36 +0900 Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.16.1/8.16.1/Debian-3) with ESMTPS id 2589gZFp099261 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 8 Jun 2022 18:42:35 +0900 Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.16.1/8.16.1/Submit) id 2589gXI5099260; Wed, 8 Jun 2022 18:42:33 +0900 From: OGAWA Hirofumi To: Javier Martinez Canillas Cc: Lennart Poettering , linux-kernel@vger.kernel.org, Colin Walters , Peter Jones , Alberto Ruiz , Christian Kellner , Chung-Chiang Cheng , Muhammad Usama Anjum , Alexander Larsson , Shuah Khan , linux-kselftest@vger.kernel.org Subject: Re: [PATCH v4 0/4] fat: add support for the renameat2 RENAME_EXCHANGE flag References: <20220601173204.1372569-1-javierm@redhat.com> <05bfb010-6b00-edb1-0e28-889a2ff71503@redhat.com> Date: Wed, 08 Jun 2022 18:42:33 +0900 In-Reply-To: <05bfb010-6b00-edb1-0e28-889a2ff71503@redhat.com> (Javier Martinez Canillas's message of "Wed, 8 Jun 2022 09:56:46 +0200") Message-ID: <87ilpbtrsm.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Javier Martinez Canillas writes: > Hello OGAWA, > > On 6/1/22 19:32, Javier Martinez Canillas wrote: >> Hello, >> >> The series adds support for the renameat2 system call RENAME_EXCHANGE flag >> (which allows to atomically replace two paths) to the vfat filesystem code. >> >> There are many use cases for this, but we are particularly interested in >> making possible for vfat filesystems to be part of OSTree [0] deployments. >> >> Currently OSTree relies on symbolic links to make the deployment updates >> an atomic transactional operation. But RENAME_EXCHANGE could be used [1] >> to achieve a similar level of robustness when using a vfat filesystem. >> >> Patch #1 is just a preparatory patch to introduce the RENAME_EXCHANGE >> support, patch #2 moves some code blocks in vfat_rename() to a set of >> helper functions, that can be reused by tvfat_rename_exchange() that's >> added by patch #3 and finally patch #4 adds some kselftests to test it. >> > > I think that addressed all the issues you pointed out in v3, please let me > know if there's anything else that is needed for this patch series. > > Would these be merged by you or should I ping someone else? I'm not > that familiar with how filesystem patches make into the mainline tree. Sorry, it is just the my issue. I was traveling latest week, so is not reviewing yet. I'll do soon. Thanks. -- OGAWA Hirofumi