Message ID | 20231106065045.895874-1-amir73il@gmail.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp2478872vqu; Sun, 5 Nov 2023 22:51:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IHsKG+duInX4JRQvwwcTWPTG/x033Vi00XStzaPSWUKGFg6mremknLO7ywB8AkhVsIpFZxn X-Received: by 2002:a17:902:be07:b0:1cc:b81d:a786 with SMTP id r7-20020a170902be0700b001ccb81da786mr3452046pls.55.1699253463058; Sun, 05 Nov 2023 22:51:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699253463; cv=none; d=google.com; s=arc-20160816; b=WdwNG4u/cZoxzLN6pypqsv/Ry8aK3ytP/lqXjN9rlRmRso4BhQsqaAy3s0/3SF2tau 9eDykda3uckP0Lz18az7nFeRdhv25GwvUTyi5Rxj1hwh4AD44Md7XKxY4Yx6lzYiq1k3 cf5BRty7gEyCzJ8P0QfbpF+QrxtcG4STYWwBBXRzWdfYbMYRiUaBzi0OIQhJM8Z5/4aB Y0gn4toj3Be7oWoMGbiD3l6OAWQ7ldpiQm7lre9U52FNKNKwEuAY//YBChwSZiy0O4ot alOA17LQkyS1IZIdy+jwbG6RSm52ZHExkNjdZYkWjAEbS5k9Illsa3q4x9QZHQRmY/PF rm1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=NbqQdpAVIW9N67UKj8YDab5KVvVGkqnhm/9Uw2oo0UQ=; fh=jaeMwWutqI8GzTNe6uK8144Nt4dk4/H7Lxb1J/kscxw=; b=Jw7fHKq9XhJ+IVYApH12inCFeTziV2QKGKd5hDx/IOmjfnH1D93hFzLj7ZjdaoSy5q ThE3rhPdASL/sV8c/1hs83Q8kZZWrgxY0KWJAiCSY+E1TzVuxkshb9UjEQeF0SNnAs2X Nra8gU5S4xgfqAinTttYboZK3ZAaiW3OEDjMg1X/t/6sJWrbYwswweGEZbxdCZ2gjCsk z26+AgfMKxqiCzZqOaaedKiCOu6yASzT1JiHTgaW4g4Io3ZaY/t+XcPS6w/WZ0KJnzIm otPeEN4ftdcijHsG3oYUFjrSr349C7Z9AF5WKvABApQyQ0AH0K4fVh4S11oTKfq1xhpA k4oQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=auSbn6bq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id t15-20020a170902e84f00b001c33d339754si8023550plg.136.2023.11.05.22.51.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:51:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=auSbn6bq; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 0522E802D505; Sun, 5 Nov 2023 22:51:01 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230407AbjKFGu6 (ORCPT <rfc822;lhua1029@gmail.com> + 35 others); Mon, 6 Nov 2023 01:50:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44700 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229717AbjKFGu5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 6 Nov 2023 01:50:57 -0500 Received: from mail-wr1-x42f.google.com (mail-wr1-x42f.google.com [IPv6:2a00:1450:4864:20::42f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8985F2; Sun, 5 Nov 2023 22:50:53 -0800 (PST) Received: by mail-wr1-x42f.google.com with SMTP id ffacd0b85a97d-32f78dcf036so3030128f8f.0; Sun, 05 Nov 2023 22:50:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699253452; x=1699858252; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=NbqQdpAVIW9N67UKj8YDab5KVvVGkqnhm/9Uw2oo0UQ=; b=auSbn6bqsFQr4gL+AJoMtZ1R8E7C9VL+LY3TiOqo+VehnA6TCpvuRnVURAarNiu1XJ S8RraXAoqFYz4kdeeuy4tJD8IbxeX+2YbzVLLpV/PraZ7LcFwGojv/qA5ArBdpAzPO5m TkTznnYlyfvYDHINvRzz4WzSCM48tjnrBdJSjeRwDvbFRzZjAkh1rPpdLOU+kPLXaU2t 3qlNS9oFSBCOFsnj0YJPO6ySeWMu62nK1uqmZuVk+R2dPTCPe+iIx+fx7XhUhx5Rg2RN j6V4I+IefHS19maF592oU87hRa++SbPyRw4egUPf15XyjavzVlFEhiwHa0h/VFrmls1f JGmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699253452; x=1699858252; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=NbqQdpAVIW9N67UKj8YDab5KVvVGkqnhm/9Uw2oo0UQ=; b=qkJSF8V7pop6NB5bIPt1hjPaq18ClqJWT0EHVNr+GFO8fctFFnJXxRYYVV/O148MSd woU52syhdgSoZh+7GMiDOvjHVcACfjiAVFG+rGfgPZzp8FsomoGyl70mYCLnx0vXVxcd ayiYGVblwuPtxamVvpTbCj7gccA2Go3sYyGnRA437qKjVqxC3ZxM+c39Bmh7y2xavFYX sQ9Mwy0fb8Y3XjsrB9l2G0Z7Is0gUel0JCDHd9R3I4E7OQ6HMNGJ2/qfGzkS45EOSKSZ U/04Bx1dMBaRVApYUTFArpeVXou5ArpfplE5OT7wKEHkwiw4sqaMB5elaE7FJps6JwKf xBBQ== X-Gm-Message-State: AOJu0YwO9nwdAcH94cmtyoDTtixvE6PYZMfirefaS9BULswBwzWgy+Za YGnSWP0azfZT1CZQ9l2f1RLsPK3FORY= X-Received: by 2002:a5d:5847:0:b0:32f:88f9:ba44 with SMTP id i7-20020a5d5847000000b0032f88f9ba44mr10049314wrf.25.1699253452090; Sun, 05 Nov 2023 22:50:52 -0800 (PST) Received: from amir-ThinkPad-T480.lan ([5.29.249.86]) by smtp.gmail.com with ESMTPSA id r22-20020a05600c35d600b003fee567235bsm11132388wmq.1.2023.11.05.22.50.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Nov 2023 22:50:51 -0800 (PST) From: Amir Goldstein <amir73il@gmail.com> To: Linus Torvalds <torvalds@linux-foundation.org> Cc: Miklos Szeredi <miklos@szeredi.hu>, Christian Brauner <brauner@kernel.org>, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: [GIT PULL] overlayfs update for 6.7 Date: Mon, 6 Nov 2023 08:50:45 +0200 Message-Id: <20231106065045.895874-1-amir73il@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Sun, 05 Nov 2023 22:51:02 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781796399164467886 X-GMAIL-MSGID: 1781796399164467886 |
Series |
[GIT,PULL] overlayfs update for 6.7
|
|
Pull-request
git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-update-6.7Message
Amir Goldstein
Nov. 6, 2023, 6:50 a.m. UTC
Hi Linus, Please pull overlayfs update for 6.7. Most of the changes in this update have been sitting in linux-next for several weeks, based on two prerequisite vfs topic branches. Last week, after the vfs branches were merged, I rebased overlayfs-next to reduce noise. Last week, I also added patches for new mount options to replace the lowerdir append syntax that we disabled in v6.6-rc6 and v6.5.8. This branch has gone through the usual overlayfs test routines and it merges cleanly with master branch of the moment. Thanks, Amir. ---------------------------------------------------------------- The following changes since commit 14ab6d425e80674b6a0145f05719b11e82e64824: Merge tag 'vfs-6.7.ctime' of gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs (2023-10-30 09:47:13 -1000) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-update-6.7 for you to fetch changes up to 24e16e385f2272b1a9df51337a5c32d28a29c7ad: ovl: add support for appending lowerdirs one by one (2023-10-31 00:13:02 +0200) ---------------------------------------------------------------- overlayfs update for 6.7 Contains the following patch sets: - Overlayfs aio cleanups and fixes [1] - Overlayfs lock ordering changes [2] - Add support for nesting overlayfs private xattrs [3] - Add new mount options for appending lowerdirs [4] [1] https://lore.kernel.org/r/20230912173653.3317828-1-amir73il@gmail.com/ [2] https://lore.kernel.org/r/20230816152334.924960-1-amir73il@gmail.com/ [3] https://lore.kernel.org/r/cover.1694512044.git.alexl@redhat.com/ [4] https://lore.kernel.org/r/20231030120419.478228-1-amir73il@gmail.com/ ---------------------------------------------------------------- Alexander Larsson (4): ovl: Add OVL_XATTR_TRUSTED/USER_PREFIX_LEN macros ovl: Support escaped overlay.* xattrs ovl: Add an alternative type of whiteout ovl: Add documentation on nesting of overlayfs mounts Amir Goldstein (14): ovl: use simpler function to convert iocb to rw flags ovl: propagate IOCB_APPEND flag on writes to realfile ovl: punt write aio completion to workqueue ovl: protect copying of realinode attributes to ovl inode ovl: add helper ovl_file_modified() ovl: split ovl_want_write() into two helpers ovl: reorder ovl_want_write() after ovl_inode_lock() ovl: do not open/llseek lower file with upper sb_writers held ovl: do not encode lower fh with upper sb_writers held ovl: Move xattr support to new xattrs.c file ovl: remove unused code in lowerdir param parsing ovl: store and show the user provided lowerdir mount option ovl: refactor layer parsing helpers ovl: add support for appending lowerdirs one by one Documentation/filesystems/overlayfs.rst | 40 +++- fs/overlayfs/Makefile | 2 +- fs/overlayfs/copy_up.c | 142 +++++++++----- fs/overlayfs/dir.c | 64 +++---- fs/overlayfs/export.c | 7 +- fs/overlayfs/file.c | 88 ++++++--- fs/overlayfs/inode.c | 165 ++-------------- fs/overlayfs/namei.c | 52 ++++-- fs/overlayfs/overlayfs.h | 72 +++++-- fs/overlayfs/params.c | 322 +++++++++++++++++--------------- fs/overlayfs/params.h | 1 + fs/overlayfs/readdir.c | 27 ++- fs/overlayfs/super.c | 92 ++------- fs/overlayfs/util.c | 115 +++++++++++- fs/overlayfs/xattrs.c | 271 +++++++++++++++++++++++++++ fs/super.c | 1 + 16 files changed, 929 insertions(+), 532 deletions(-) create mode 100644 fs/overlayfs/xattrs.c
Comments
On Sun, 5 Nov 2023 at 22:50, Amir Goldstein <amir73il@gmail.com> wrote: > > - Overlayfs aio cleanups and fixes [1] > > - Overlayfs lock ordering changes [2] > > - Add support for nesting overlayfs private xattrs [3] > > - Add new mount options for appending lowerdirs [4] > > [1] https://lore.kernel.org/r/20230912173653.3317828-1-amir73il@gmail.com/ > [2] https://lore.kernel.org/r/20230816152334.924960-1-amir73il@gmail.com/ > [3] https://lore.kernel.org/r/cover.1694512044.git.alexl@redhat.com/ > [4] https://lore.kernel.org/r/20231030120419.478228-1-amir73il@gmail.com/ *Please* don't make me have to follow links just to see basic details. Merge messages should stand on their own, not just point to "look, here are the details in our lore archives". Yes, even when having internet access is much more common, there are situations where it's not there or is slow. Or maybe lore has issues. Or maybe people just don't want to switch to a browser to look up details that may or may not be relevant to them. I copied the relevant stuff into my merge, but please don't make me do this next time. Just give me a merge message with the details spelled out, not some link to a cover letter for a patch series. Linus
The pull request you sent on Mon, 6 Nov 2023 08:50:45 +0200:
> git://git.kernel.org/pub/scm/linux/kernel/git/overlayfs/vfs.git ovl-update-6.7
has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/7f851936a0ca4b231224ee296cba28f9b1bc555e
Thank you!
On Tue, Nov 7, 2023 at 9:54 PM Linus Torvalds <torvalds@linux-foundation.org> wrote: > > On Sun, 5 Nov 2023 at 22:50, Amir Goldstein <amir73il@gmail.com> wrote: > > > > - Overlayfs aio cleanups and fixes [1] > > > > - Overlayfs lock ordering changes [2] > > > > - Add support for nesting overlayfs private xattrs [3] > > > > - Add new mount options for appending lowerdirs [4] > > > > [1] https://lore.kernel.org/r/20230912173653.3317828-1-amir73il@gmail.com/ > > [2] https://lore.kernel.org/r/20230816152334.924960-1-amir73il@gmail.com/ > > [3] https://lore.kernel.org/r/cover.1694512044.git.alexl@redhat.com/ > > [4] https://lore.kernel.org/r/20231030120419.478228-1-amir73il@gmail.com/ > > *Please* don't make me have to follow links just to see basic details. > No problem. > Merge messages should stand on their own, not just point to "look, > here are the details in our lore archives". Yes, even when having > internet access is much more common, there are situations where it's > not there or is slow. Or maybe lore has issues. Or maybe people just > don't want to switch to a browser to look up details that may or may > not be relevant to them. > > I copied the relevant stuff into my merge, but please don't make me do > this next time. Thanks for adding this information - I certainly didn't intend for you to do this extra work. > Just give me a merge message with the details spelled > out, not some link to a cover letter for a patch series. > OK. To explain the reason why I add those links: A while ago, I was helping out with backporting many xfs patches to stable tree after a long period of neglection. I found the need to point back from fix commits to patch series because the cover letters often contained important information relevant for backporting and testing. So I hacked up a small b4 gadget to disassemble a PR into lore links to patch series: (*) you don't have to follow this link unless you are curious ;) https://github.com/amir73il/b4/commit/f5966362a524182206d5c5e8a4f96fba5d4c92ca At the time, I had wished that the links to the patch series composing the PR would have been in the PR email (doesn't really matter if you take them into the merge commit). This is why I included this "debug info" of the PR. Next time, if I include the lore links, I will separate them to a different section, so it is clear that I do not require them to be in the merge commit. Thanks, Amir.