From: "Lukáš Czerner" <lczerner@redhat.com>
To: Christoph Hellwig <hch@infradead.org>
Cc: lczerner@redhat.com, Tomas Racek <tracek@redhat.com>, xfs@oss.sgi.com
Subject: Re: [PATCH] xfstests: Change fstrim behaviour to be consistent with upstream version
Date: Tue, 31 Jul 2012 14:01:32 +0200 (CEST) [thread overview]
Message-ID: <alpine.LFD.2.00.1207311357520.2118@(none)> (raw)
In-Reply-To: <20120731023335.GA31494@infradead.org>
On Mon, 30 Jul 2012, Christoph Hellwig wrote:
> Date: Mon, 30 Jul 2012 22:33:36 -0400
> From: Christoph Hellwig <hch@infradead.org>
> To: Dave Chinner <david@fromorbit.com>
> Cc: Tomas Racek <tracek@redhat.com>, lczerner@redhat.com, xfs@oss.sgi.com
> Subject: Re: [PATCH] xfstests: Change fstrim behaviour to be consistent with
> upstream version
>
> On Tue, Jul 31, 2012 at 08:04:13AM +1000, Dave Chinner wrote:
> > If we have duplicate code (i.e. a copy of the upstream utility) or
> > the local tool can be completely replaced by the upstream tool,
> > then we should use upstream and remove the local copy completely.
> > Distros have been shipping fstrim for long enough now that most
> > people running testing on upstream kernels will have it installed...
> >
> > Adding a _require_fstrim() function that checks for the upstream
> > version of fstrim to be installed for each test that requires it
> > would go along with this.
>
> I would also vote for just using the upstream util-linux fstrim. Not
> quite sure what the history was here, but it might have been that the
> xfstests one actually was the earlier version. Lukas, any opinions?
>
The local xfstests version was indeed the earlier version and it was
not even in the util-linux back then. So now, when we already have
fstrim in util-linux and most distributions already ship it, I do
not see any reason for maintaining the local copy anymore.
I agree that we should be using upstream fstrim and remove the local
version completely.
Thanks!
-Lukas
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2012-07-31 12:01 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-30 12:06 [PATCH] xfstests: Change fstrim behaviour to be consistent with upstream version Tomas Racek
2012-07-30 22:04 ` Dave Chinner
2012-07-31 2:33 ` Christoph Hellwig
2012-07-31 12:01 ` Lukáš Czerner [this message]
2012-07-31 10:24 ` Tomas Racek
2012-07-31 12:15 ` Lukáš Czerner
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='alpine.LFD.2.00.1207311357520.2118@(none)' \
--to=lczerner@redhat.com \
--cc=hch@infradead.org \
--cc=tracek@redhat.com \
--cc=xfs@oss.sgi.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