From: Felix Janda <felix.janda@posteo.de>
To: Dave Chinner <david@fromorbit.com>
Cc: xfs@oss.sgi.com
Subject: Re: [PATCHv2 xfsprogs 00/14] Convert from off64_t to off_t
Date: Wed, 24 Aug 2016 22:47:46 +0200 [thread overview]
Message-ID: <20160824204746.GA25162@nyan> (raw)
In-Reply-To: <20160824011911.GA19025@dastard>
Dave Chinner wrote:
> On Sat, Aug 13, 2016 at 07:04:18PM +0200, Felix Janda wrote:
> > This patch series does several things related to large file support.
> >
> > Patches 1-3 enable transparent LFS in the build system and make it
> > mandatory.
> >
> > Patches 4-9 and 12 replace *64 function and structure aliases.
> >
> > Patches 10 and 11 disable fsr on Mac OS X and do cleanup to enable
> > Patch 12. Further cleanup of the portability code is possible later.
> >
> > Patch 13 makes tranparent LFS also mandatory for all users of libxfs.
> >
> > Patch 14 finally replaces off64_t by off_t.
> >
> >
> > In comparison to v1:
> >
> > Patches 1, 3 and 14 are identical to previous patches. Patches 4-8 are
> > identical to previous patches, except that some of them are merged.
> > Patch 9 was previously send separately from the patch series. Patch
> > 13 is identical to a previous patch except for the commit message. The
> > other patches are new, grown out of review by Christoph Hellwig.
> >
> > Felix Janda (14):
> > configure: use AC_SYS_LARGEFILE
> > configure: error out when LFS does not work
> > remove unecessary definitions of _FILE_OFFSET_BITS
> > replace [fl]stat64 by equivalent [fl]stat
> > replace ftruncate64 by equivalent ftruncate
> > replace lseek64 by equivalent lseek
> > replace pread64/pwrite64 by equivalent pread/pwrite
> > replace sendfile64 by equivalent sendfile
> > fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise
> > Makefile: disable fsr for Mac OS X
> > fsr: remove workaround for statvfs on Mac OS X
> > replace statvfs64 by equivalent statvfs
> > xfs.h: require transparent LFS for all users
> > platform: remove use of off64_t
>
> So, the patches are fine, and everything works. Problem is, it
> screws up xfstests because it changes all the error messages
> that are output to stderr and captured by the test harness.
> There are quite a few tests that this causes failures for,
> and because it's stderr, it's not as simple as just adding a new
> filter to do 'sed -e "s/^\(.*\)64\(: .*$\)/\1\2/"' on stderr.
Thanks for testing!
I can rework the patches to leave stderr unchanged. I guess that this
is preferable as opposed to updating the output expected by xfstests
since xfstests should be usable with both old and new xfsprogs.
> Further, errors returned change, which further screws up xfstests.
> e.g. old code gives EFBIG when we try to use offsets beyond the
> supported range, this patchset returns EINVAL. That further
> complicates any sort of error filtering we'll need to do.
I am very surprised that something apart from the error messages has
changed. I would be interested to know on what architecture and for
which test(s) (where) this happened, if you still remember.
> I don't have the time or patience to fix up xfstests for every
> change that people want to make and this series is a non-critical
> cleanup, so I'm dropping this until the fixups for xfstests are
> worked out. I'm not going to get to this for weeks at the current
> rate patches are being thrown at me for inclusion, so I'm not
> breaking xfstests for everyone while I'm bottlenecked on other,
> higher priority changes.
That make sense.
--Felix
_______________________________________________
xfs mailing list
xfs@oss.sgi.com
http://oss.sgi.com/mailman/listinfo/xfs
next prev parent reply other threads:[~2016-08-24 20:49 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-13 17:04 [PATCHv2 xfsprogs 00/14] Convert from off64_t to off_t Felix Janda
2016-08-06 10:45 ` [PATCHv2 xfsprogs 04/14] replace [fl]stat64 by equivalent [fl]stat Felix Janda
2016-08-18 17:38 ` Christoph Hellwig
2016-08-06 10:45 ` [PATCHv2 xfsprogs 05/14] replace ftruncate64 by equivalent ftruncate Felix Janda
2016-08-18 17:38 ` Christoph Hellwig
2016-08-06 10:45 ` [PATCHv2 xfsprogs 06/14] replace lseek64 by equivalent lseek Felix Janda
2016-08-18 17:38 ` Christoph Hellwig
2016-08-06 10:45 ` [PATCHv2 xfsprogs 07/14] replace pread64/pwrite64 by equivalent pread/pwrite Felix Janda
2016-08-18 17:39 ` Christoph Hellwig
2016-08-06 11:03 ` [PATCHv2 xfsprogs 08/14] replace sendfile64 by equivalent sendfile Felix Janda
2016-08-18 17:39 ` Christoph Hellwig
2016-08-07 5:21 ` [PATCHv2 xfsprogs 01/14] configure: use AC_SYS_LARGEFILE Felix Janda
2016-08-18 17:37 ` Christoph Hellwig
2016-08-07 5:28 ` [PATCHv2 xfsprogs 03/14] remove unecessary definitions of _FILE_OFFSET_BITS Felix Janda
2016-08-18 17:38 ` Christoph Hellwig
2016-08-07 5:52 ` [PATCHv2 xfsprogs 14/14] platform: remove use of off64_t Felix Janda
2016-08-18 17:45 ` Christoph Hellwig
2016-08-13 16:03 ` [PATCHv2 xfsprogs 13/14] xfs.h: require transparent LFS for all users Felix Janda
2016-08-18 17:45 ` Christoph Hellwig
2016-08-13 16:03 ` [PATCHv2 xfsprogs 09/14] fadvise.c: replace posix_fadvise64 by equivalent posix_fadvise Felix Janda
2016-08-18 17:42 ` Christoph Hellwig
2016-08-13 16:17 ` [PATCHv2 xfsprogs 10/14] Makefile: disable fsr for Mac OS X Felix Janda
2016-08-18 17:43 ` Christoph Hellwig
2016-08-13 16:20 ` [PATCHv2 xfsprogs 11/14] fsr: remove workaround for statvfs on " Felix Janda
2016-08-18 17:44 ` Christoph Hellwig
2016-08-13 16:22 ` [PATCHv2 xfsprogs 12/14] replace statvfs64 by equivalent statvfs Felix Janda
2016-08-18 17:44 ` Christoph Hellwig
2016-08-13 16:50 ` [PATCHv2 xfsprogs 02/14] configure: error out when LFS does not work Felix Janda
2016-08-18 17:37 ` Christoph Hellwig
2016-08-22 3:09 ` [PATCHv2 xfsprogs 00/14] Convert from off64_t to off_t Dave Chinner
2016-08-22 7:06 ` Felix Janda
2016-08-22 11:51 ` Dave Chinner
2016-08-22 19:16 ` Felix Janda
2016-08-24 1:19 ` Dave Chinner
2016-08-24 20:47 ` Felix Janda [this message]
2016-08-25 8:04 ` Christoph Hellwig
2016-08-25 22:01 ` Dave Chinner
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=20160824204746.GA25162@nyan \
--to=felix.janda@posteo.de \
--cc=david@fromorbit.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