| To: | Dave Chinner <david@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] xfstests: Change fstrim behaviour to be consistent with upstream version |
| From: | Christoph Hellwig <hch@xxxxxxxxxxxxx> |
| Date: | Mon, 30 Jul 2012 22:33:36 -0400 |
| Cc: | Tomas Racek <tracek@xxxxxxxxxx>, lczerner@xxxxxxxxxx, xfs@xxxxxxxxxxx |
| In-reply-to: | <20120730220413.GI2877@dastard> |
| References: | <1343649963-14079-1-git-send-email-tracek@xxxxxxxxxx> <20120730220413.GI2877@dastard> |
| User-agent: | Mutt/1.5.21 (2010-09-15) |
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? |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Re: [PATCH 0/8] Set bi_rw when alloc bio before call bio_add_page., Dave Chinner |
|---|---|
| Next by Date: | [PATCH] xfs: fix uninitialised variable in xfs_rtbuf_get(), Dave Chinner |
| Previous by Thread: | Re: [PATCH] xfstests: Change fstrim behaviour to be consistent with upstream version, Dave Chinner |
| Next by Thread: | Re: [PATCH] xfstests: Change fstrim behaviour to be consistent with upstream version, Lukáš Czerner |
| Indexes: | [Date] [Thread] [Top] [All Lists] |