Skip to content

xfsprogs: misc uClibc patches

Joshua Kinard linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfsprogs: misc uClibc patches: remove aio.h check from configureaclocal.m4 configure.ac m4/Makefile +1 more+3 -411 reply
2/3xfsprogs: misc uClibc patches: use POSIX signal APIcopy/xfs_copy.c+13 -30 replies
3/3xfsprogs: misc uClibc patches: use statfs() instead of ustat()libxfs/linux.c+31 -41 reply

Reviews trailers per patch

1 of 3 patches has a Reviewed-by or Acked-by.

PatchChristoph Hellwig
1/3R-b
2/3
3/3

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

Read the v1 thread

Cover letter [PATCH 0/3] xfsprogs: misc uClibc patches

Hi,

I'm sending these three patches upstream that allow xfsprogs to compile and work on uclibc-based userlands. Two of them were sent upstream a few years ago (2012), and one was rejected, but I don't know what the status was on the other.

Patches were contributed to Gentoo in our Bug #477758:
https://bugs.gentoo.org/show_bug.cgi?id=477758

xfsprogs-4.3.0-remove-aio-check.patch
Removes the configure check for aio.h, which is not provided by uClibc. It appears xfsprogs has no logic (that I can find) to compile against or utilize AIO capabilities.

xfsprogs-4.3.0-use-sigprocmask.patch
uClibc doesn't provide the sigrelse or sighold calls, so this patch replaces them with POSIX signal API calls (sigprocmask(2), etc). This was previously submitted in the below thread, but I don't see a status update on whether it was accepted or rejected:
http://oss.sgi.com/archives/xfs/2012-03/msg00015.html

xfsprogs-4.3.0-use-statfs.patch
uClibc doesn't provide the ustat() call and (apparently) statfs() should be used instead. This patch was sent upstream before, but rejected because xfsprogs apparently relies on ustat() reporting if a block device is mounted anywhere. I don't know if that's still the case now, but the attached patch was re-written by another Gentoo user after the first one got rejected, so resubmitting seems prudent. The newer patch looks for mounted block devices by checking mounts and/or mtab.

Thanks!

Signature · 15 lines
Joshua Kinard
Gentoo/MIPS
[email protected]
6144R/F5C6C943 2015-04-27
177C 1972 1FB8 F254 BAD0 3E72 5C63 F4E3 F5C6 C943

"The past tempts us, the present confuses us, the future frightens us.  And our
lives slip away, moment by moment, lost in that vast, terrible in-between."

--Emperor Turhan, Centauri Republic

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