qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/8] linux-user: Adding support for a group of btrfs ioctls
@ 2020-08-03  9:46 Filip Bozuta
  2020-08-03  9:46 ` [PATCH v2 1/8] linux-user: Add support for a group of btrfs ioctls used for subvolumes Filip Bozuta
                   ` (7 more replies)
  0 siblings, 8 replies; 18+ messages in thread
From: Filip Bozuta @ 2020-08-03  9:46 UTC (permalink / raw)
  To: qemu-devel; +Cc: Riku Voipio, Laurent Vivier, Filip Bozuta

This series covers support for following btrfs ioctls

    *BTRFS_SUBVOL_CREATE           *BTRFS_IOC_ADD_DEV
    *BTRFS_SUBVOL_SETFLAGS         *BTRFS_IOC_RM_DEV
    *BTRFS_SUBVOL_GETFLAGS         *BTRFS_IOC_DEV_INFO
    *BTRFS_GET_SUBVOL_INFO         *BTRFS_IOC_GET_DEV_STATS
    *BTRFS_IOC_SNAP_CREATE         *BTRFS_IOC_GET_FEATURES
    *BTRFS_IOC_SNAP_DESTROY        *BTRFS_IOC_SET_FEATURES
    *BTRFS_IOC_SCAN_DEV            *BTRFS_IOC_GET_SUPPORTED_FEATURES
    *BTRFS_IOC_DEFAULT_SUBVOL      *BTRFS_IOC_QUOTA_RESCAN
    *BTRFS_IOC_GET_SUBVOL_ROOTREF  *BTRFS_IOC_QUOTA_RESCAN_WAIT
    *BTRFS_IOC_QUOTA_CTL           *BTRFS_IOC_SCRUB
    *BTRFS_IOC_QGROUP_CREATE       *BTRFS_IOC_SCRUB_CANCEL
    *BTRFS_IOC_QGROUP_ASSIGN       *BTRFS_IOC_SCRUB_PROGRESS
    *BTRFS_IOC_INO_PATHS           *BTRFS_IOC_QGROUP_LIMIT
    *BTRFS_IOC_LOGICAL_INO         *BTRFS_IOC_QUOTA_RESCAN_STATUS
    *BTRFS_IOC_LOGICAL_INO_V2
    *BTRFS_IOC_INO_LOOKUP_USER
    *BTRFS_IOC_INO_LOOKUP

The functionalities of individual ioctls were described in this series
patch commit messages. Since all of these ioctls are added in kernel
version 3.9, their definitions in file 'linux-user/ioctls.h' are
enwrapped in an #ifdef directive.

Testing method:

    Mini test programs were written for these ioctls. These test programs
    can be found on a repositort which is located on the link:
    https://github.com/bozutaf/btrfs-tests

    These test programs were compiled (sometimes using cross compilers) for
    following architectures:

         * Intel 64-bit (little endian)
         * Power pc 32-bit (big endian)
         * Power pc 64-bit (big endian)

    The corresponding native programs were executed without using QEMU on
    an intel x86_64 host.

    All applicable compiled programs were in turn executed through QEMU
    and the results obtained were the same ones gotten for native
    execution.

v2:

    * Merged two series in one 8 patch series
    * Changed target ioctl definitions from IOR/IOW/IOWR to IORU/IOWU/IOWRU
    * Fixed some thunk struct definitions

Filip Bozuta (8):
  linux-user: Add support for a group of btrfs ioctls used for
    subvolumes
  linux-user: Add support for a group of btrfs ioctls used for snapshots
  linux-user: Add support for btrfs ioctls used to manipulate with
    devices
  linux-user: Add support for btrfs ioctls used to get/set features
  linux-user: Add support for a group of btrfs inode ioctls
  linux-user: Add support for two btrfs ioctls used for subvolume
  linux-user: Add support for btrfs ioctls used to manage quota
  linux-user: Add support for btrfs ioctls used to scrub a filesystem

 configure                  |   9 +++
 linux-user/ioctls.h        | 124 ++++++++++++++++++++++++++++++++
 linux-user/syscall.c       |   3 +
 linux-user/syscall_defs.h  |  37 ++++++++++
 linux-user/syscall_types.h | 140 +++++++++++++++++++++++++++++++++++++
 5 files changed, 313 insertions(+)

-- 
2.25.1



^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2020-08-07 17:40 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03  9:46 [PATCH v2 0/8] linux-user: Adding support for a group of btrfs ioctls Filip Bozuta
2020-08-03  9:46 ` [PATCH v2 1/8] linux-user: Add support for a group of btrfs ioctls used for subvolumes Filip Bozuta
2020-08-07 17:34   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 2/8] linux-user: Add support for a group of btrfs ioctls used for snapshots Filip Bozuta
2020-08-07 17:34   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 3/8] linux-user: Add support for btrfs ioctls used to manipulate with devices Filip Bozuta
2020-08-07 17:34   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 4/8] linux-user: Add support for btrfs ioctls used to get/set features Filip Bozuta
2020-08-07 17:35   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 5/8] linux-user: Add support for a group of btrfs inode ioctls Filip Bozuta
2020-08-03 14:12   ` Laurent Vivier
2020-08-07 17:35   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 6/8] linux-user: Add support for two btrfs ioctls used for subvolume Filip Bozuta
2020-08-07 17:35   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 7/8] linux-user: Add support for btrfs ioctls used to manage quota Filip Bozuta
2020-08-07 17:35   ` Laurent Vivier
2020-08-03  9:46 ` [PATCH v2 8/8] linux-user: Add support for btrfs ioctls used to scrub a filesystem Filip Bozuta
2020-08-07 17:35   ` Laurent Vivier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).