fstests.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Chengguang Xu <cgxu519@mykernel.net>
To: "Amir Goldstein" <amir73il@gmail.com>
Cc: "fstests" <fstests@vger.kernel.org>,
	"overlayfs" <linux-unionfs@vger.kernel.org>,
	"Eryu Guan" <guaneryu@gmail.com>,
	"Miklos Szeredi" <miklos@szeredi.hu>
Subject: Re: [PATCH v3] overlay/066: adjust test file size && add more test patterns
Date: Wed, 06 Nov 2019 19:43:22 +0800	[thread overview]
Message-ID: <16e4086be9e.fa912076579.8007843109982063857@mykernel.net> (raw)
In-Reply-To: <CAOQ4uxjWjjMw7o32JaG_nuqw4oXw_Qo+jWjhRXkQ9pd9o1QjmQ@mail.gmail.com>

 ---- 在 星期三, 2019-11-06 19:26:07 Amir Goldstein <amir73il@gmail.com> 撰写 ----
 > On Wed, Nov 6, 2019 at 12:24 PM Chengguang Xu <cgxu519@mykernel.net> wrote:
 > >
 > >  ---- 在 星期三, 2019-11-06 18:01:54 Amir Goldstein <amir73il@gmail.com> 撰写 ----
 > >  > On Wed, Nov 6, 2019 at 9:40 AM Chengguang Xu <cgxu519@mykernel.net> wrote:
 > >  > >
 > >  > > Making many small holes in 10M test file seems not very
 > >  > > helpful for test coverage and it takes too much time on
 > >  > > creating test files. In order to improve test speed we
 > >  > > adjust test file size to (10 * iosize) for iosize aligned
 > >  > > hole files and meanwhile add more test patterns for small
 > >  > > random holes and small empty file.
 > >  > >
 > >  > > Signed-off-by: Chengguang Xu <cgxu519@mykernel.net>
 > >  > Reviewed-by: Amir Goldstein <amir73il@gmail.com>
 > >  >
 > >  > Please send me a plain text version of the patch so I can test it.
 > >  >
 > >
 > > Hi Amir,
 > >
 > > Sorry for that again but I really don't know what was wrong for this patch.
 > > I sent using 'git send-email' and there was nothing broken or unusual compare
 > > to other normal patches. So I have to send this patch in attachment again.
 > >
 > 
 > Test runs fine, except big random file has a single chunk 32MB of data:
 > 
 > Big random hole test write scenarios ---
 > 
 > /root/xfstests/bin/xfs_io -i -fc "pwrite 1024K 30862K"
 > /vdf/ovl-lower/copyup_sparse_test_random_big
 > wrote 31602688/31602688 bytes at offset 1048576
 > 30 MiB, 7716 ops; 0.1295 sec (232.614 MiB/sec and 59553.1201 ops/sec)
 > 
 > That is because of this typo:
 > 
 > @@ -133,7 +133,7 @@ file_size=102400
 >  min_hole=1024
 >  max_hole=5120
 >  pos=$min_hole
 > -max_hole=$(($file_size - 2*$max_hole))
 > +max_pos=$(($file_size - 2*$max_hole))
 > 
 > If you re-submit, please add my Reviewed-by tag.
 > 

Thanks a lot for your test and review, I'll resend soon.

Thanks,
Chengguang




      reply	other threads:[~2019-11-06 11:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-11-06  7:39 [PATCH v3] overlay/066: adjust test file size && add more test patterns Chengguang Xu
2019-11-06 10:01 ` Amir Goldstein
2019-11-06 10:24   ` Chengguang Xu
2019-11-06 11:26     ` Amir Goldstein
2019-11-06 11:43       ` Chengguang Xu [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=16e4086be9e.fa912076579.8007843109982063857@mykernel.net \
    --to=cgxu519@mykernel.net \
    --cc=amir73il@gmail.com \
    --cc=fstests@vger.kernel.org \
    --cc=guaneryu@gmail.com \
    --cc=linux-unionfs@vger.kernel.org \
    --cc=miklos@szeredi.hu \
    /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;
as well as URLs for NNTP newsgroup(s).