All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] Add support for a group of btrfs ioctls - 2
@ 2020-07-17 14:04 Filip Bozuta
  2020-07-17 14:04 ` [PATCH 1/4] linux-user: Add support for a group of btrfs inode ioctls Filip Bozuta
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Filip Bozuta @ 2020-07-17 14:04 UTC (permalink / raw)
  To: qemu-devel; +Cc: riku.voipio, laurent

This series covers support for following btrfs ioctls

    *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 repository 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.

Based-on: <20200709155203.21106-1-Filip.Bozuta@syrmia.com>

Filip Bozuta (4):
  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

 linux-user/ioctls.h        | 65 +++++++++++++++++++++++++++
 linux-user/syscall_defs.h  | 34 ++++++++++++++
 linux-user/syscall_types.h | 90 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 189 insertions(+)

-- 
2.25.1



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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-17 14:04 [PATCH 0/4] Add support for a group of btrfs ioctls - 2 Filip Bozuta
2020-07-17 14:04 ` [PATCH 1/4] linux-user: Add support for a group of btrfs inode ioctls Filip Bozuta
2020-07-17 14:04 ` [PATCH 2/4] linux-user: Add support for two btrfs ioctls used for subvolume Filip Bozuta
2020-07-17 14:04 ` [PATCH 3/4] linux-user: Add support for btrfs ioctls used to manage quota Filip Bozuta
2020-07-17 14:04 ` [PATCH 4/4] linux-user: Add support for btrfs ioctls used to scrub a filesystem Filip Bozuta

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.