Received: by 10.192.165.156 with SMTP id m28csp526518imm; Fri, 13 Apr 2018 03:28:04 -0700 (PDT) X-Google-Smtp-Source: AIpwx49UPbExXSYKAV7dofK/jFq3jhNw9qOAY7A5KYrFpmTOBTKT/jcGZrFm2DL5uJ7C29Y3QNgJ X-Received: by 2002:a17:902:8546:: with SMTP id d6-v6mr4762096plo.106.1523615284578; Fri, 13 Apr 2018 03:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523615284; cv=none; d=google.com; s=arc-20160816; b=SG54FaezddHgB62dE+zIgngPS6d3iU3E6JVSfd5Pe8O9nBkBHN22ful9GDugTkbHsT twjXnxQdOqyBU2qDFE8YvfQcBISYYs5yB31C4Wf5EcWrXTIwm6V2pjX45zryVLArcQHj Qo9MTiPdcGF9TqyH9y/kJYhQXXGcpnZEfMZEBLxXOkmSIPwoqgdyu5k0GTPhqro+nkmW 10QgYIKV4E4P6YmzTiYqGRDxdOVGnW4jSvjpTM6sUclqeQ+sec8zyHXhgt0MNcH5BqAD O3/2rPTu7H+0Lj7RptLn3qL7XnR3j8R9pashcx3Hg6edviR9jgDqMk/Ux1j01FXupzst rTPg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=MIz0ctM/a92q1NJPQ9ResLflcbvojt8WXixO0vWwJc8=; b=p5qd55cb8WaFMwtuxgSRbhnQTXqJ4gzlWU3m41HpmBWg9XnfePkVVmjKtzZmXLIYb0 aLqk5/oz7NLHdrFSKO9rmjrHWYKToi0+omfFxkEfn+Osd1oL3mnEFZ49P9sT90fh4i0+ t+92XjB6QGWtRkvdjfBBclYCffYAgzQyd922yqqq+29tdIZlWabmcXSVk0e6zDvX+3mG 5joxEPtit+jDsZBDIK8/dGlWhphm6vrWcLoqc2Dtbtfs8Y1flmvE5wAX7vzCXaTq9+6s TWuBWqMkU2YltbM/7PYoL6f9rHbcQ/nnr2cxpUv9XzPrQYT2cOg/iWNNGLW/axuwOnOB tUag== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=I4OGE3RG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id r25si4177693pfh.2.2018.04.13.03.27.50; Fri, 13 Apr 2018 03:28:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=I4OGE3RG; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754058AbeDMIrV (ORCPT + 99 others); Fri, 13 Apr 2018 04:47:21 -0400 Received: from mail-wm0-f67.google.com ([74.125.82.67]:34323 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754040AbeDMIrS (ORCPT ); Fri, 13 Apr 2018 04:47:18 -0400 Received: by mail-wm0-f67.google.com with SMTP id w2so6150486wmw.1 for ; Fri, 13 Apr 2018 01:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=MIz0ctM/a92q1NJPQ9ResLflcbvojt8WXixO0vWwJc8=; b=I4OGE3RG8BCCkHkN0+YPGHfc21h1RwcYehLa55bfTlWN9fL+ZxrOQNZYvUTPS9aNEd 0d8bdb+IXwq5Sq0pWSTX3MIUk3VIQW06PKNLA0r/oGeqzp0OIIBQCBAKZsgLtcbd43Vo vRlKLtt3yxzrg3tC+PWkbeTXl3+vfxRNSWX0E= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=MIz0ctM/a92q1NJPQ9ResLflcbvojt8WXixO0vWwJc8=; b=jzvTeAjxPwU7UNbqBMm9lzg1Hi72oamkiP/xi4gk0hF0WDWUZPYlBqN6IVQE0DCa52 AvI+YiQxhWMalL7NQbtlYX3x9kkfEqQIFN71x2E5Ez2OGz1eZtBeRp44WaayFm14sHNb lv6RMCQua57qx5WE/OKikSmeQVONv7CvkD4zOPRcuRhby2L+cUt1NlFMssOZ9tOXJn6C 30e99H7NMzjW6H0ZbSggJvHFPVJ1boiKiZnBUX10cBDqjzUjKCzV6Id8JR0AhU0ihEUh GbwJSvU+CZAbVClSUK/Zp36NrN67QnUq5wcpNPav/EhV+8A1uR0W6AYJwrXOlzDT9Qrh GsYw== X-Gm-Message-State: ALQs6tDViNAFwO8u9+EWq5vYDEE0EzW1DZxhK6Qu9YrC6mYp6pdivvS9 g18nJeQcniW3zqNWSjAhpLErMQ== X-Received: by 10.28.60.194 with SMTP id j185mr2846038wma.159.1523609236956; Fri, 13 Apr 2018 01:47:16 -0700 (PDT) Received: from veci.piliscsaba.redhat.com (catv-176-63-54-97.catv.broadband.hu. [176.63.54.97]) by smtp.gmail.com with ESMTPSA id s49sm7226025wrc.36.2018.04.13.01.47.15 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 13 Apr 2018 01:47:15 -0700 (PDT) Date: Fri, 13 Apr 2018 10:47:13 +0200 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-unionfs@vger.kernel.org Subject: [GIT PULL] overlayfs update for 4.17 Message-ID: <20180413084713.GD19579@veci.piliscsaba.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/vfs.git overlayfs-linus In addition to bug fixes and cleanups there are two new features from Amir: - Consistent inode number support for the case when layers are not all on the same filesystem (feature is dubbed "xino"). - Optimize overlayfs file handle decoding. This one touches the exportfs interface to allow detecting the disconnected directory case. Most of the code has been sitting in -next for a while now, but was rebased due to a bug fix coming in yesterday. I decided in favor of rebasing on top of that fix to allow automatic stable backporting. Thanks, Miklos --- Amir Goldstein (13): ovl: set i_ino to the value of st_ino for NFS export ovl: fix lookup with middle layer opaque dir and absolute path redirects ovl: set lower layer st_dev only if setting lower st_ino ovl: disambiguate ovl_encode_fh() ovl: do not try to reconnect a disconnected origin dentry ovl: lookup in inode cache first when decoding lower file handle ovl: factor out ovl_map_dev_ino() helper ovl: allocate anon bdev per unique lower fs ovl: constant st_ino for non-samefs with xino ovl: consistent i_ino for non-samefs with xino ovl: consistent d_ino for non-samefs with xino ovl: add support for "xino" mount and config options ovl: update documentation w.r.t "xino" feature Miklos Szeredi (2): ovl: add WARN_ON() for non-dir redirect cases ovl: cleanup ovl_update_time() Vivek Goyal (4): ovl: Set d->last properly during lookup ovl: Do not check for redirect if this is last layer ovl: set d->is_dir and d->opaque for last path element ovl: cleanup setting OVL_INDEX --- Documentation/filesystems/overlayfs.txt | 39 ++++++- fs/exportfs/expfs.c | 9 ++ fs/overlayfs/Kconfig | 17 +++ fs/overlayfs/copy_up.c | 6 +- fs/overlayfs/export.c | 75 +++++++------ fs/overlayfs/inode.c | 188 ++++++++++++++++++++------------ fs/overlayfs/namei.c | 67 ++++++++---- fs/overlayfs/overlayfs.h | 19 +++- fs/overlayfs/ovl_entry.h | 21 +++- fs/overlayfs/readdir.c | 45 +++++++- fs/overlayfs/super.c | 157 ++++++++++++++++++++++---- fs/overlayfs/util.c | 39 ++++++- 12 files changed, 510 insertions(+), 172 deletions(-)