Skip to content

Convert from off64_t to off_t

Felix Janda linux-xfs 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest14 patches 22 repliesIn review
  2. v10 of 14 patches 0 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/14configure: use AC_SYS_LARGEFILEconfigure.ac+2 -01 reply
2/14configure: error out when LFS does not workconfigure.ac m4/package_libcdev.m4+17 -01 reply
3/14remove unecessary definitions of _FILE_OFFSET_BITSinclude/builddefs.in m4/package_libcdev.m4+1 -101 reply
4/14replace [fl]stat64 by equivalent [fl]statcopy/xfs_copy.c fsr/xfs_fsr.c include/darwin.h +18 more+96 -1011 reply
5/14replace ftruncate64 by equivalent ftruncatecopy/xfs_copy.c fsr/xfs_fsr.c include/darwin.h +5 more+7 -91 reply
6/14replace lseek64 by equivalent lseekcopy/xfs_copy.c fsr/xfs_fsr.c include/darwin.h +9 more+39 -411 reply
7/14replace pread64/pwrite64 by equivalent pread/pwritecopy/xfs_copy.c include/darwin.h include/freebsd.h +8 more+25 -291 reply
8/14replace sendfile64 by equivalent sendfileio/sendfile.c+2 -21 reply
9/14fadvise.c: replace posix_fadvise64 by equivalent posix_fadviseio/fadvise.c+1 -11 reply
10/14Makefile: disable fsr for Mac OS XMakefile+5 -11 reply
11/14fsr: remove workaround for statvfs on Mac OS Xfsr/xfs_fsr.c+0 -81 reply
12/14replace statvfs64 by equivalent statvfsfsr/xfs_fsr.c include/darwin.h+4 -51 reply
13/14xfs.h: require transparent LFS for all usersinclude/xfs.h+5 -01 reply
14/14platform: remove use of off64_tinclude/darwin.h include/freebsd.h include/irix.h +1 more+2 -41 reply

Reviews trailers per patch

All 14 patches have a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/14R-b
2/14R-b
3/14R-b
4/14R-b
5/14R-b
6/14R-b
7/14R-b
8/14R-b
9/14R-b
10/14R-b
11/14R-b
12/14R-b
13/14R-b
14/14R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCHv2 xfsprogs 00/14] Convert from off64_t to off_t

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

 Makefile                  |  6 ++++-
 configure.ac              |  3 +++
 copy/xfs_copy.c           | 22 ++++++++---------
 fsr/xfs_fsr.c             | 62 +++++++++++++++++++++--------------------------
 include/builddefs.in      |  2 +-
 include/darwin.h          |  9 -------
 include/freebsd.h         |  7 ------
 include/irix.h            |  2 +-
 include/linux.h           |  2 +-
 include/xfs.h             |  5 ++++
 io/copy_file_range.c      | 10 ++++----
 io/fadvise.c              |  2 +-
 io/open.c                 | 18 +++++++-------
 io/pread.c                | 16 ++++++------
 io/pwrite.c               | 10 ++++----
 io/seek.c                 |  6 ++---
 io/sendfile.c             | 10 ++++----
 io/truncate.c             |  2 +-
 libxcmd/paths.c           |  4 +--
 libxfs/darwin.c           |  8 +++---
 libxfs/freebsd.c          |  8 +++---
 libxfs/init.c             | 12 ++++-----
 libxfs/init.h             |  6 ++---
 libxfs/irix.c             |  8 +++---
 libxfs/linux.c            | 20 +++++++--------
 libxfs/rdwr.c             | 10 ++++----
 logprint/log_misc.c       |  4 +--
 logprint/logprint.c       |  2 +-
 m4/package_libcdev.m4     | 25 ++++++++++++-------
 mdrestore/xfs_mdrestore.c | 12 ++++-----
 mkfs/proto.c              |  4 +--
 mkfs/xfs_mkfs.c           |  8 +++---
 po/de.po                  | 28 ++++++++++-----------
 po/pl.po                  | 32 ++++++++++++------------
 repair/prefetch.c         |  2 +-
 repair/sb.c               |  6 ++---
 repair/xfs_repair.c       |  4 +--
 rtcp/xfs_rtcp.c           | 18 +++++++-------
 38 files changed, 205 insertions(+), 210 deletions(-)
Signature · 6 lines
2.7.3

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs