public inbox for fstests@vger.kernel.org
 help / color / mirror / Atom feed
From: Eryu Guan <eguan@redhat.com>
To: "zhangyi (F)" <yi.zhang@huawei.com>
Cc: fstests@vger.kernel.org, linux-unionfs@vger.kernel.org,
	miklos@szeredi.hu, amir73il@gmail.com, miaoxie@huawei.com,
	yangerkun@huawei.com
Subject: Re: [xfstests PATCH v3 2/5] overlay: define common overlay xattr keys
Date: Thu, 8 Feb 2018 20:06:39 +0800	[thread overview]
Message-ID: <20180208120639.GD18267@eguan.usersys.redhat.com> (raw)
In-Reply-To: <20180208031913.14013-3-yi.zhang@huawei.com>

On Thu, Feb 08, 2018 at 11:19:10AM +0800, zhangyi (F) wrote:
> Define common overlay xattr keys from Linux kernel for ovl tests use.
> 
> Signed-off-by: zhangyi (F) <yi.zhang@huawei.com>
> ---
>  common/overlay | 10 ++++++++++
>  1 file changed, 10 insertions(+)
> 
> diff --git a/common/overlay b/common/overlay
> index 16f13a8..9000432 100644
> --- a/common/overlay
> +++ b/common/overlay
> @@ -3,6 +3,16 @@
>  #
>  . ./common/module
>  
> +# Export overlayfs xattrs and constant value
> +export OVL_XATTR_OPAQUE="trusted.overlay.opaque"
> +export OVL_XATTR_REDIRECT="trusted.overlay.redirect"
> +export OVL_XATTR_IMPURE="trusted.overlay.impure"
> +export OVL_XATTR_ORIGIN="trusted.overlay.origin"
> +export OVL_XATTR_NLINK="trusted.overlay.nlink"
> +export OVL_XATTR_UPPER="trusted.overlay.upper"
> +export OVL_XATTR_OPAQUE_VAL="y"
> +export OVL_XATTR_IMPURE_VAL="y"

Sorry, I was not clear enough in previous review. I mean putting the
common xattr keys to common/overlay, but I don't think the <VAL>="y" is
needed.

I'll edit on commit to remove them from here and add them to tests where
needed.

Thanks,
Eryu

> +
>  # helper function to do the actual overlayfs mount operation
>  _overlay_mount_dirs()
>  {
> -- 
> 2.5.0
> 
> --
> To unsubscribe from this list: send the line "unsubscribe fstests" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2018-02-08 12:06 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-08  3:19 [xfstests PATCH v3 0/5] overlay: add fsck.overlay basic tests zhangyi (F)
2018-02-08  3:19 ` [xfstests PATCH v3 1/5] overlay: add filesystem check helper zhangyi (F)
2018-02-08  3:19 ` [xfstests PATCH v3 2/5] overlay: define common overlay xattr keys zhangyi (F)
2018-02-08 12:06   ` Eryu Guan [this message]
2018-02-08  3:19 ` [xfstests PATCH v3 3/5] overlay: add fsck.overlay whiteout test zhangyi (F)
2018-02-08  3:19 ` [xfstests PATCH v3 4/5] overlay: add fsck.overlay redirect directory test zhangyi (F)
2018-02-08  3:19 ` [xfstests PATCH v3 5/5] overlay: add fsck.overlay impure xattr test zhangyi (F)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180208120639.GD18267@eguan.usersys.redhat.com \
    --to=eguan@redhat.com \
    --cc=amir73il@gmail.com \
    --cc=fstests@vger.kernel.org \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miaoxie@huawei.com \
    --cc=miklos@szeredi.hu \
    --cc=yangerkun@huawei.com \
    --cc=yi.zhang@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox