Skip to content

Btrfs-progs 4.8, fix build on 32bit, ioctl cleanups

David Sterba linux-btrfs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4btrfs-progs: ioctl: pack structuresioctl.h+5 -50 replies
2/4btrfs-progs: ioctl: add 32bit compat for SET_RECEIVED_SUBVOLioctl.h+38 -00 replies
3/4btrfs-progs: ioctl: add 64bit compat for SENDioctl.h+29 -20 replies
4/4btrfs-progs: tests: make the ioctl-test actually usefulMakefile.in ioctl-test.c+263 -300 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Btrfs-progs 4.8, fix build on 32bit, ioctl cleanups

So this series should fix the 32bit build problems, tested on gcc 6.2.1. I've added test of checking the ioctl numbers: "make test-ioctl" that will build 32bit and 64bit versions (needs compiler for both).

The ioctl compatibility reasoning is in the changelogs. The goal is to keep everything working (send, receive), so there's no visible change, but more testing would be welcome of course.

The patchset is now in devel, on top of 4.8.

David Sterba (4):
btrfs-progs: ioctl: pack structures
btrfs-progs: ioctl: add 32bit compat for SET_RECEIVED_SUBVOL
btrfs-progs: ioctl: add 64bit compat for SEND
btrfs-progs: tests: make the ioctl-test actually useful

 Makefile.in  |  27 +++++-
 ioctl-test.c | 266 +++++++++++++++++++++++++++++++++++++++++++++++++++++------
 ioctl.h      |  79 ++++++++++++++++--
 3 files changed, 335 insertions(+), 37 deletions(-)
Signature · 1 line
2.10.0