From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Eryu Guan <eguan@redhat.com>
Cc: linux-xfs@vger.kernel.org, fstests@vger.kernel.org
Subject: Re: [PATCH] xfs/015: enlarge the initial fs size
Date: Thu, 15 Feb 2018 08:39:17 -0800 [thread overview]
Message-ID: <20180215163917.GA14582@magnolia> (raw)
In-Reply-To: <20180215083317.GQ18267@eguan.usersys.redhat.com>
On Thu, Feb 15, 2018 at 04:33:17PM +0800, Eryu Guan wrote:
> On Wed, Feb 14, 2018 at 08:45:32AM -0800, Darrick J. Wong wrote:
> > On Wed, Feb 14, 2018 at 11:24:01PM +0800, Eryu Guan wrote:
> > > On Thu, Jan 04, 2018 at 01:46:26PM +0800, Eryu Guan wrote:
> > > > Kernel commit f59cf5c29919 ("xfs: remove "no-allocation"
> > > > reservations for file creations") is known to cause earlier ENOSPC
> > > > conditions, and xfs/015 is affected in the way that no new file/dir
> > > > can be created in a newly created 16M XFS with both reflink and
> > > > rmapbt enabled, thus xfs/015 fails due to the missing test dirs.
> > > >
> > > > So enlarge the initial fs size to 32M that we're able to create new
> >
> > 32M? I thought this was a 64M -> 128M expansion?
>
> The final fs size (after growfs) is expanded from 64M to 128M, but we
> need the initial fs size (prior to growfs) to be 32M instead of 16M.
Ahh, ok. The initial size is doubled (and the test still grows the fs
4x), so we need to double the _require_space.
>
> >
> > > > dir/file before growing the filesystem size.
> > > >
> > > > Signed-off-by: Eryu Guan <eguan@redhat.com>
> >
> > I don't think this hurts anything, but otoh I couldn't reproduce the
> > failure you're seeing on my setup.
>
> You need "both reflink and rmapbt enabled", I can still reproduce it
> with v4.16-rc1 kernel with MKFS_OPTIONS="-m reflink=1,rmapbt=1".
>
> Thanks for reviewing!
Looks ok,
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
--D
prev parent reply other threads:[~2018-02-15 16:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-04 5:46 [PATCH] xfs/015: enlarge the initial fs size Eryu Guan
2018-02-14 15:24 ` Eryu Guan
2018-02-14 16:45 ` Darrick J. Wong
2018-02-15 8:33 ` Eryu Guan
2018-02-15 16:39 ` Darrick J. Wong [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=20180215163917.GA14582@magnolia \
--to=darrick.wong@oracle.com \
--cc=eguan@redhat.com \
--cc=fstests@vger.kernel.org \
--cc=linux-xfs@vger.kernel.org \
/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).