From: "Darrick J. Wong" <darrick.wong@oracle.com>
To: Eryu Guan <eguan@redhat.com>
Cc: Theodore Ts'o <tytso@mit.edu>, fstests@vger.kernel.org
Subject: Re: [RFC PATCH] check: try to fix the test device if it gets corrupted
Date: Wed, 19 Jul 2017 09:13:19 -0700 [thread overview]
Message-ID: <20170719161319.GC4217@magnolia> (raw)
In-Reply-To: <20170719150229.GE2478@eguan.usersys.redhat.com>
On Wed, Jul 19, 2017 at 11:02:29PM +0800, Eryu Guan wrote:
> On Wed, Jul 19, 2017 at 10:53:01AM -0400, Theodore Ts'o wrote:
> > On Wed, Jul 19, 2017 at 05:40:47PM +0800, Eryu Guan wrote:
> > > >
> > > > So one thing we could do is _xfs_scratch_repair and _xfs_test_repair?
> >
> > Hmm, or maybe _xfs_repair_scratch and _xfs_repair_test; since at least
> > for English speakers verb-object is probably more natural. But if you
> > or Darrick have a strong preference I'm don't care that much.
>
> I'm not native English speaker, you (and other native English speakers)
> decide :)
TBH I wish we'd call them scratchdev and testdev, e.g.
_xfs_repair_scratchdev
_xfs_repair_testdev
So that it's plainly obvious that we're talking about a device and not
the verbs scratch or test. I guess you could also argue that we're
really repairing a filesystem on the device and that it should be
_xfs_repair_testfs...
--D
>
> >
> > > Then all existing _scratch_xfs_repair calls need a rename, but I'm fine
> > > with the rename.
> > >
> > > >
> > > > The other thing is how much of the cleanup in common/xfs should be
> > > > segregated into a separate commit (and I'm not sure how competent I'm
> > > > going to be ate doing that cleanup, but I'm willing to give it a go).
> > >
> > > I think we can do minimal cleanup in this patch (like the rename of
> > > _scratch_xfs_repair to _xfs_scratch_repair) and do other cleanups in
> > > separate commits (if there's still any).
> >
> > If you don't mind I'll do the renames as a separate commit since
> > that's much easier to verify/review.
>
> Sure, make sense to me.
>
> Thanks,
> Eryu
> --
> 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
prev parent reply other threads:[~2017-07-19 16:13 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 23:20 [RFC PATCH] check: try to fix the test device if it gets corrupted Theodore Ts'o
2017-03-03 9:03 ` Eryu Guan
2017-03-03 17:21 ` Darrick J. Wong
2017-03-03 23:01 ` Theodore Ts'o
2017-03-27 1:48 ` Theodore Ts'o
2017-03-27 8:51 ` Eryu Guan
2017-07-16 1:30 ` Theodore Ts'o
2017-07-17 23:45 ` Darrick J. Wong
2017-07-18 5:05 ` Eryu Guan
2017-07-18 17:30 ` Theodore Ts'o
2017-07-19 9:40 ` Eryu Guan
2017-07-19 14:53 ` Theodore Ts'o
2017-07-19 15:02 ` Eryu Guan
2017-07-19 16:13 ` 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=20170719161319.GC4217@magnolia \
--to=darrick.wong@oracle.com \
--cc=eguan@redhat.com \
--cc=fstests@vger.kernel.org \
--cc=tytso@mit.edu \
/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