From patchwork Tue May 29 14:46:12 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Miklos Szeredi X-Patchwork-Id: 10435773 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id CBA2F602BF for ; Tue, 29 May 2018 14:50:06 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BE850286B6 for ; Tue, 29 May 2018 14:50:06 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC309286EB; Tue, 29 May 2018 14:50:06 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A8CB286B6 for ; Tue, 29 May 2018 14:50:06 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935492AbeE2OsV (ORCPT ); Tue, 29 May 2018 10:48:21 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46021 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S936710AbeE2Oqu (ORCPT ); Tue, 29 May 2018 10:46:50 -0400 Received: by mail-wr0-f194.google.com with SMTP id w3-v6so25981112wrl.12 for ; Tue, 29 May 2018 07:46:50 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=ireSsKPbgsZuX8nx4qBoR1LN2aB82/4CkS4dVyLBk9U=; b=N7mjutLjnmnf3Z+RiBcDhEljoEjBEHcH89rLq9BohB7gQzbIU2XYEL1PkypMU9Omcc l7T0dhHuEbtBN9B0qXRk3encTlaEoJLWCLCCVDv6wkbK0Iy3q5cPg2jBCRRho4gj5dyl yKR2/1SmIDJu0b+eLDrL7zoQtszxZaKjgi1AWNWceixK0A9KNZ+UXYdHSABnhyrjc8pd rMOjGam4rEjFNe5p5MWZDsj5WGDCK+HhonzL6Qv8bs0IkDA3SVIK3w/UQq05gSx4EZGh 17D25XHgog+vIg1daXcIZX33b8DTprCEG+yoNmlIZwyLMz9WwILBX7r5fLvgv9VFeMAr KIaA== X-Gm-Message-State: ALKqPwdkBbx87xO7vhkRjH6LQVjznOKrSmxScMbmHPn/QJ6PyRGRAF0n sgpTIBHg4eLxGN0ymUYfk/UQCQ== X-Google-Smtp-Source: ADUXVKJ7TjIzpl97Gxbn49Mm6zyya8wMxAjPsZohL61MULuuvH65hEo7rAT29tw0WDDPgwVsmNfrDQ== X-Received: by 2002:adf:9e8c:: with SMTP id a12-v6mr8166460wrf.170.1527605209482; Tue, 29 May 2018 07:46:49 -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 n71-v6sm20942227wmi.14.2018.05.29.07.46.48 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 29 May 2018 07:46:48 -0700 (PDT) From: Miklos Szeredi To: linux-unionfs@vger.kernel.org Cc: linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 28/28] ovl: Enable metadata only feature Date: Tue, 29 May 2018 16:46:12 +0200 Message-Id: <20180529144612.16675-29-mszeredi@redhat.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180529144612.16675-1-mszeredi@redhat.com> References: <20180529144612.16675-1-mszeredi@redhat.com> Sender: linux-fsdevel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP From: Vivek Goyal All the bits are in patches before this. So it is time to enable the metadata only copy up feature. Signed-off-by: Vivek Goyal Reviewed-by: Amir Goldstein Signed-off-by: Miklos Szeredi --- fs/overlayfs/copy_up.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/fs/overlayfs/copy_up.c b/fs/overlayfs/copy_up.c index c31f198bed99..bdadedf73e51 100644 --- a/fs/overlayfs/copy_up.c +++ b/fs/overlayfs/copy_up.c @@ -689,9 +689,6 @@ static bool ovl_need_meta_copy_up(struct dentry *dentry, umode_t mode, { struct ovl_fs *ofs = dentry->d_sb->s_fs_info; - /* TODO: Will enable metacopy in last patch of series */ - return false; - if (!ofs->config.metacopy) return false;