xfsprogs: Partial OSX support
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v5 Latest14 patches 13 repliesIn review
- v411 patches 19 repliesSuperseded
- v21 of 11 patches 0 repliesSuperseded
Changes in v5 from the cover letter
- patch 2 was split into 3 patches, numbered 2, 3 and 4
- in patches 2-4, instead of just prefixing it all, a mixed approach was used.
- patch 9 renames the function directly instead of using #define
- patch 11 now adds a simple rename
- patch 12 uses mntinfo instead of dummy code
- in patch 13, make mremap build optional instead of dummy code
- new patch 14 with lstat64
Patches in v5 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/14 | xfsprogs: Add a way to compile without blkidconfigure.ac include/ mkfs/ | +50 | 0 replies | |
| 2/14 | xfsprogs: Add XATTR_LIST_MAX to OS X headersinclude/ | +5 | 0 replies | |
| 3/14 | xfsprogs: avoid dependency on Linux XATTR_SIZE_MAXlibxfs/ libxfs/ | +10 | 1 reply | |
| 4/14 | xfsprogs: prefix XATTR_LIST_MAX with XFS_include/ libhandle/ libhandle/ | +6 | 4 replies | |
| 5/14 | xfsprogs: Add includes required for OS X builds (delta)include/ | +3 | 0 replies | |
| 6/14 | xfsprogs: Add autoconf check for fsetxattr callconfigure.ac fsr/ include/ +1 more | +20 | 0 replies | |
| 7/14 | xfsprogs: uuid changes for OS Xinclude/ | +7 | 0 replies | |
| 8/14 | xfsprogs: Remove conflicting define for OS Xinclude/ | +0 | 0 replies | |
| 9/14 | xfsprogs: change nftw64 to nftwestimate/ | +3 | 0 replies | |
| 10/14 | xfsprogs: Add a timer implementation for OS Xinclude/ repair/ | +62 | 3 replies | |
| 11/14 | xfsprogs: Add statvfs64 for osxfsr/ include/ include/ | +20 | 3 replies | |
| 12/14 | xfsprogs: make fsr use mntinfo when there is no mntentfsr/ fsr/ include/ | +87 | 8 replies | |
| 13/14 | xfsprogs: Make mremap conditionalconfigure.ac include/ include/ +2 more | +24 | 1 reply | |
| 14/14 | xfsprogs: rename lstat64 to lstat for OS Xinclude/ | +1 | 0 replies |
Reviews trailers per patch
6 of 14 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Dave Chinner |
|---|---|---|
| 1/14 | R-b | |
| 2/14 | ||
| 3/14 | R-b | |
| 4/14 | ||
| 5/14 | R-b | |
| 6/14 | R-b | |
| 7/14 | R-b | |
| 8/14 | R-b | |
| 9/14 | ||
| 10/14 | ||
| 11/14 | ||
| 12/14 | ||
| 13/14 | ||
| 14/14 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/14 v5] xfsprogs: Partial OSX support
Hi all,
An updated version. This set is intended to put together the current versions of the individual patches with the exception of a new patch 14, and rebase it against the current master branch.
Patch 4 contains renaming required by Dave, however I'm not sure if it is still needed with the changes in patches 2 and 3.
Patch 10 (adding timer) was mentioned that it "doesn't look to work", but I didn't get a reasoning. The added code, when tested, really run. For testing it in xfs_repair, I don't have how to create a large enough FS where the timer would be noticable on OSX. (Not enough of empty space.)
Cheers,
Jan
CHANGELOG:
v5:
- patch 2 was split into 3 patches, numbered 2, 3 and 4
- in patches 2-4, instead of just prefixing it all, a mixed approach was used.
- patch 9 renames the function directly instead of using #define
- patch 11 now adds a simple rename
- patch 12 uses mntinfo instead of dummy code
- in patch 13, make mremap build optional instead of dummy code
- new patch 14 with lstat64
v4:
- added #warning message (patch 1)
- use dummy blkid_get_topology instead of #ifdefs (patch 1)
- fix autoconf (wasn't passing -DENABLE_BLKID flag, lost during patch cleaning.) (patch 1)
- remove dependency on linux XATTR_ constants (patch 2)
- add autoconf detection for fsetxattr (patch 4)
- use uuid_t instead of unsigned char (patch 5)
- add a basic timer functionality (patch 8)
- mremap replacement now returns MAP_FAILED (patch 11)
Version 3:
- better commit messages (patch 1)
- formatting fixes (patch 2, 8)
- autoconf updates (patch 6, 7)
- changed default behaviour if BLKID is disabled such that mkfs -f is required (patch 11)
Jan Tulak (14):
xfsprogs: Add a way to compile without blkid
xfsprogs: Add XATTR_LIST_MAX to OS X headers
xfsprogs: avoid dependency on Linux XATTR_SIZE_MAX
xfsprogs: prefix XATTR_LIST_MAX with XFS_
xfsprogs: Add includes required for OS X builds (delta)
xfsprogs: Add autoconf check for fsetxattr call
xfsprogs: uuid changes for OS X
xfsprogs: Remove conflicting define for OS X
xfsprogs: change nftw64 to nftw
xfsprogs: Add a timer implementation for OS X
xfsprogs: Add statvfs64 for osx
xfsprogs: make fsr use mntinfo when there is no mntent
xfsprogs: Make mremap conditional
xfsprogs: rename lstat64 to lstat for OS X
configure.ac | 12 +++++- estimate/xfs_estimate.c | 6 +-- fsr/Makefile | 8 ++++ fsr/xfs_fsr.c | 85 ++++++++++++++++++++++++++++++++----- include/builddefs.in | 12 +++++- include/darwin.h | 106 ++++++++++++++++++++++++++++++++++++++++------- include/xfs.h | 2 + io/mmap.c | 8 ++++ libhandle/handle.c | 4 +- libhandle/jdm.c | 4 +- libxfs/xfs_attr_remote.c | 2 +- libxfs/xfs_format.h | 10 ++++- m4/package_libcdev.m4 | 26 ++++++++++++ mkfs/xfs_mkfs.c | 37 ++++++++++++++++- repair/progress.c | 16 ++++++- 15 files changed, 298 insertions(+), 40 deletions(-)
Signature · 6 lines
2.4.3 _______________________________________________ xfs mailing list [email protected] http://oss.sgi.com/mailman/listinfo/xfs