Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp29753044rwd; Wed, 5 Jul 2023 17:20:10 -0700 (PDT) X-Google-Smtp-Source: APBJJlHjK/QVW5hOc5rHT+VSg84p5gVzIVrjzHy8jzR2/fmEMNk+XqvUiG0MWCxbaZQhLYJIJpWu X-Received: by 2002:a05:6871:68f:b0:1b0:6d81:7de6 with SMTP id l15-20020a056871068f00b001b06d817de6mr666669oao.15.1688602810604; Wed, 05 Jul 2023 17:20:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688602810; cv=none; d=google.com; s=arc-20160816; b=cMvKVlKCT78A4qEgZg6E+vbIvrLVwdsAcJR5MaZMunIK//bHWG/lfmmsL6Fl+W3krA fypjCXQepWV7efa59CSToNSQ0cFvtsVykjM+SVwu/oqxfZTwasTSpLznQLIUbDvT19YC aLpXm3+Dl0QZViEz3WgfgP7aZ0rgXt1UNlZ7xBQ8r7ad/577zNKvaOcBe8sNeZt4ZH3u J6ThtJ1egl+99m5OvcuhUUs34bAeIIxeq7KmWBzRJDXO3tEky1hbdNV2JM8rq+cdPhy1 IN2HN/aFPggP6QB5qWwecvkkhBOrQDC4sUAPsW4OjiWTzKgJDepERn6pHuSHMhDmYAq7 y/jA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=iOQE62OYivPDcIWQRBdgTeJN43McprGP3CwTMl0b6mY=; fh=Zg23x5q0c9wgwhYSuagIhHYT0pkrHN40bAHbX3vpi9w=; b=EuHnFyKlxgSNIk3Oo9xr+GHDheFpMoWRYQXe0EZB9pDct7xyk942j/TNcF5CqJ+/1V JpL3xQ9WKsf0r4flbGLq+HZAef0y9YxKx2VjRgCimyCc3b3uaIdt63jydzZkjfSOWRlx WS9+gnPUlhPVRrBmEec3p00IvBkFVLozdR6J8hcbVvHxyo7tpdaaTCA5KU6mRHOsG0XO 37l/2do3YK6LWJNk3SIWqHwUafyWvYjuWUE+wGLjSiBrxt7Yi4bH1pOcqe6DsjIK0hBV P+ePgQUxLpvKrdF1yew5kr/qqYAt8FhpisSc9WKEGdVp6sYd2eKt/cUio5uc3jigxWMJ H0Rg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=LikA3OcM; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x6-20020a17090a9dc600b00262ee7c6cafsi407366pjv.87.2023.07.05.17.19.58; Wed, 05 Jul 2023 17:20:10 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-ext4-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.org header.s=k20201202 header.b=LikA3OcM; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232372AbjGFASX (ORCPT + 99 others); Wed, 5 Jul 2023 20:18:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55688 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232704AbjGFASW (ORCPT ); Wed, 5 Jul 2023 20:18:22 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 035AE19AD; Wed, 5 Jul 2023 17:18:18 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 171A6617E1; Thu, 6 Jul 2023 00:18:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPS id 16A93C433B8; Thu, 6 Jul 2023 00:18:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1688602695; bh=HpMG+tyy/PpsvKEb8NWliRWVb2DUG5Z8rXMZJ3Y3mkc=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=LikA3OcMzLtL2uR3eKzQF0LeVsSNlJMLK11D/oOQ9aYM0WA8UsDwj10GcOrJC8tjt pOtPDyPeQukRBF4JtgJ+YubOhUz7XE54fcrit2sn66Vdd3x7HS1eQYlvPRjNX5zd92 jbiBLti3sH7MFOCUBJiPHyJ4F+VPb+WyALiwovY5jyWvkCE4p8ezOZqmUEYC5vv9fY v4sL7Nm2aJYhzPUkvH3ccCI0wtBJ09fMx9u1UWMg3moBDCd7LRGoHd2Z5SlXNCn/EI 8zubzYmjfskHw8c7CvYiw2po7nMHPqBCXwQ7gLh1SlEOU9UZq29FGodMiixx1gmjKs hUJbESOiaXfLQ== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id F0210C691EF; Thu, 6 Jul 2023 00:18:14 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [f2fs-dev] [PATCH v2 0/6] fs: Fix directory corruption when moving directories From: patchwork-bot+f2fs@kernel.org Message-Id: <168860269498.29151.2669410551132746914.git-patchwork-notify@kernel.org> Date: Thu, 06 Jul 2023 00:18:14 +0000 References: <20230601104525.27897-1-jack@suse.cz> In-Reply-To: <20230601104525.27897-1-jack@suse.cz> To: Jan Kara Cc: viro@ZenIV.linux.org.uk, brauner@kernel.org, tytso@mit.edu, miklos@szeredi.hu, djwong@kernel.org, linux-f2fs-devel@lists.sourceforge.net, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, jaegeuk@kernel.org, linux-ext4@vger.kernel.org X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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-ext4@vger.kernel.org Hello: This series was applied to jaegeuk/f2fs.git (dev) by Christian Brauner : On Thu, 1 Jun 2023 12:58:20 +0200 you wrote: > Hello, > > this patch set fixes a problem with cross directory renames originally reported > in [1]. To quickly sum it up some filesystems (so far we know at least about > ext4, udf, f2fs, ocfs2, likely also reiserfs, gfs2 and others) need to lock the > directory when it is being renamed into another directory. This is because we > need to update the parent pointer in the directory in that case and if that > races with other operation on the directory (in particular a conversion from > one directory format into another), bad things can happen. > > [...] Here is the summary with links: - [f2fs-dev,v2,1/6] ext4: Remove ext4 locking of moved directory https://git.kernel.org/jaegeuk/f2fs/c/3658840cd363 - [f2fs-dev,v2,2/6] Revert "udf: Protect rename against modification of moved directory" https://git.kernel.org/jaegeuk/f2fs/c/7517ce5dc4d6 - [f2fs-dev,v2,3/6] Revert "f2fs: fix potential corruption when moving a directory" https://git.kernel.org/jaegeuk/f2fs/c/cde3c9d7e2a3 - [f2fs-dev,v2,4/6] fs: Establish locking order for unrelated directories (no matching commit) - [f2fs-dev,v2,5/6] fs: Lock moved directories https://git.kernel.org/jaegeuk/f2fs/c/28eceeda130f - [f2fs-dev,v2,6/6] fs: Restrict lock_two_nondirectories() to non-directory inodes (no matching commit) You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html