From patchwork Sun Nov 19 11:56:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Amir Goldstein X-Patchwork-Id: 10065125 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 01B85602CB for ; Sun, 19 Nov 2017 11:55:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 03EE3291C6 for ; Sun, 19 Nov 2017 11:55:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id ECCA1291DC; Sun, 19 Nov 2017 11:55:56 +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=-6.8 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham 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 993E7291C6 for ; Sun, 19 Nov 2017 11:55:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750929AbdKSLz4 (ORCPT ); Sun, 19 Nov 2017 06:55:56 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:43854 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750879AbdKSLzz (ORCPT ); Sun, 19 Nov 2017 06:55:55 -0500 Received: by mail-wr0-f196.google.com with SMTP id u40so5667677wrf.10; Sun, 19 Nov 2017 03:55:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=SxCleN8c1UOS3anrTmLJS5EK0nWhbROHIFuZw6KmNdo=; b=ed7QtjNvHAtXywzWoh9XtqG1f5ab59SOcZ4sNADLQtbfmoVOTZmxejORYAe5OxtE/m NEYE1Bm0Eu5G8fFXAiMt9n+h3m5ygQcebvuXYU/lA8k4i11rbyI7doeeul3hwOoBJvIf d5qreu33KWPS2E9p7C/gWOKOBx/wLXE+/IIr7OK3qSFBdfo7PiUnpS08T1FKtzEuL9v7 iwuHEwJ3Iz4aQjRsxLhEMRs7ghoaeuLtfGCbL+u3mIf7T/3oqv1nORLqTR0yronIA+yH 4kgkmwJNfksfVw+mIGeBob3cl61cGrUsK/UQbn2Rb58AgwYpqDJ/gFekoEARYkrPNuvP P4vg== 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=SxCleN8c1UOS3anrTmLJS5EK0nWhbROHIFuZw6KmNdo=; b=fdwHR548Ptaxhj8JBYjzur8412BapPrj63Hzf0aiO4wTLpLogDDVF2pWnz6dzPyI02 jzu72AnU3QASHEyPqL5TAvHGeabeTVCVxHLl4nECX2/IizC8AYSKlT5XlfGZeiLLdflj xlCxxiaQgkWU2oPSW3s+MbsfbgAT4IeCxesPa4i3tsU6tiqXSEF3XlMCrltB0dZ2eeUt 9zxyxKS+AujTm+q9lgj2xj2GeicRbapMIi/O4W6RpE3ksbDGxy4hBCJWCbLyqL0TP+Lm 2Tm4EsJuhl7xqLfpdTqPmjqrSuRwZV4nQzrcztbePqPine6914oRNJCFa/NLeaCXjdZ2 wQUQ== X-Gm-Message-State: AJaThX4dNPXuvyDbzVzzhmAE8lLINjE9cKi4nRBcEVsFk15mHn1Ly485 DdCZpBQzO971jC9C5RF+NZk= X-Google-Smtp-Source: AGs4zMZF+S1xGlhpxBvJx8GHV1vO/1iqyeE+i2UCDkdI/FKJ8EbOHh7rmb57ZeRWpDzo7FvsCOj2uQ== X-Received: by 10.223.166.51 with SMTP id k48mr8693511wrc.125.1511092553867; Sun, 19 Nov 2017 03:55:53 -0800 (PST) Received: from localhost.localdomain (bzq-166-168-31-246.red.bezeqint.net. [31.168.166.246]) by smtp.gmail.com with ESMTPSA id o2sm3318026wmo.5.2017.11.19.03.55.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 19 Nov 2017 03:55:53 -0800 (PST) From: Amir Goldstein To: Chandan Rajendra Cc: Eryu Guan , Miklos Szeredi , linux-unionfs@vger.kernel.org, fstests@vger.kernel.org Subject: [PATCH 3/3] overlay/041: use user defined overlay mount option Date: Sun, 19 Nov 2017 13:56:29 +0200 Message-Id: <1511092589-29179-4-git-send-email-amir73il@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511092589-29179-1-git-send-email-amir73il@gmail.com> References: <1511092589-29179-1-git-send-email-amir73il@gmail.com> Sender: fstests-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: fstests@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Mount non-samefs dirs with OVERLAY_MOUNT_OPTIONS, so user can opt-in for constant inode numbers on non-samefs setup (i.e. -o xino) when it is implemented. Signed-off-by: Amir Goldstein --- tests/overlay/041 | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/overlay/041 b/tests/overlay/041 index 11efacb..4152107 100755 --- a/tests/overlay/041 +++ b/tests/overlay/041 @@ -68,7 +68,8 @@ _scratch_mkfs upperdir=$OVL_BASE_SCRATCH_MNT/$OVL_UPPER workdir=$OVL_BASE_SCRATCH_MNT/$OVL_WORK -_overlay_scratch_mount_dirs $lowerdir $upperdir $workdir +_overlay_scratch_mount_dirs $lowerdir $upperdir $workdir \ + $OVERLAY_MOUNT_OPTIONS test_dir=$SCRATCH_MNT/test_dir/ @@ -184,7 +185,8 @@ _scratch_mkfs upperdir=$OVL_BASE_SCRATCH_MNT/ovl-upper workdir=$OVL_BASE_SCRATCH_MNT/ovl-work -_overlay_scratch_mount_dirs $middir:$lowerdir $upperdir $workdir +_overlay_scratch_mount_dirs $middir:$lowerdir $upperdir $workdir \ + $OVERLAY_MOUNT_OPTIONS # Copy up test_dir touch $test_dir/test_file