From: "Luís Henriques" <lhenriques@suse.de>
To: Xiubo Li <xiubli@redhat.com>
Cc: fstests@vger.kernel.org, David Disseldorp <ddiss@suse.de>,
Zorro Lang <zlang@redhat.com>, Jeff Layton <jlayton@kernel.org>,
ceph-devel@vger.kernel.org
Subject: Re: [PATCH v2] ceph/005: verify correct statfs behaviour with quotas
Date: Mon, 27 Jun 2022 11:25:48 +0100 [thread overview]
Message-ID: <YrmFrMFP6I0+Bsej@suse.de> (raw)
In-Reply-To: <034326ee-8018-aaeb-c918-efedc8a90eeb@redhat.com>
On Mon, Jun 27, 2022 at 05:35:32PM +0800, Xiubo Li wrote:
<...>
> Sorry, could you give the link about this ?
>
> Checked the xfs/234, I didn't find any place is using the similar pattern.
>
> This is what I see:
>
> 53 # Now restore the obfuscated one back and take a look around
> 54 echo "Restore metadump"
> 55 xfs_mdrestore $metadump_file $TEST_DIR/image
> 56 SCRATCH_DEV=$TEST_DIR/image _scratch_mount
> 57 SCRATCH_DEV=$TEST_DIR/image _scratch_unmount
> 58
> 59 echo "Check restored fs"
> 60 _check_generic_filesystem $metadump_file
>
Doh! OK, you're right, looks like I'll need to change my glasses
graduation again.
>
> > Anyway, if you prefer, I'm fine sending v3 of this test doing something
> > like:
>
> Locally I just test this use case, it seems working as my guess.
That's odd. Here's the test I've used locally to confirm it works:
8<----------------------------------------------------------------
#!/bin/bash
MYVAR="HELLO"
myfunc()
{
echo "in function: $MYVAR"
}
MYVAR="$MYVAR WORLD" myfunc
MYVAR="$MYVAR WORLD" myfunc
myfunc
echo "$MYVAR"
8<----------------------------------------------------------------
When I run this in my laptop I see:
in function: HELLO WORLD
in function: HELLO WORLD
in function: HELLO
HELLO
Anyway, I think it's better to make this behaviour explicit in the test.
I'll send out v3 shortly. Thanks Xiubo.
Cheers,
--
Luís
prev parent reply other threads:[~2022-06-27 10:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-06-15 15:14 [PATCH v2] ceph/005: verify correct statfs behaviour with quotas Luís Henriques
2022-06-25 15:06 ` Zorro Lang
2022-06-27 0:35 ` Xiubo Li
2022-06-27 9:20 ` Luís Henriques
2022-06-27 9:35 ` Xiubo Li
2022-06-27 10:25 ` Luís Henriques [this message]
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=YrmFrMFP6I0+Bsej@suse.de \
--to=lhenriques@suse.de \
--cc=ceph-devel@vger.kernel.org \
--cc=ddiss@suse.de \
--cc=fstests@vger.kernel.org \
--cc=jlayton@kernel.org \
--cc=xiubli@redhat.com \
--cc=zlang@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.