All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH v2 0/7] Add ioctl_ficlone testing suite
@ 2024-07-23  7:15 Andrea Cervesato
  2024-07-23  7:15 ` [LTP] [PATCH v2 1/7] Add fallback definitions for lapi/fs.h Andrea Cervesato
                   ` (6 more replies)
  0 siblings, 7 replies; 29+ messages in thread
From: Andrea Cervesato @ 2024-07-23  7:15 UTC (permalink / raw)
  To: ltp

This testing suite is testing ioctl() FICLONE and FICLONERANGE
functionalities. In particular, file clone and error codes.

Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Changes in v2:
- add fallback definitions
- algorithm steps using '-'
- avoid assigning -1 to file descriptors after close()
- use SAFE_UNLINK() instead of remove()
- enable both xfs and btrs for all tests
- Link to v1: https://lore.kernel.org/r/20240530-ioctl_ficlone-v1-0-fa96f07d0fca@suse.com

---
Andrea Cervesato (7):
      Add fallback definitions for lapi/fs.h
      Add ioctl_ficlone01 test
      Add ioctl_ficlone02 test
      Add ioctl_ficlone03 test
      Add ioctl_ficlonerange01 test
      Add ioctl_ficlonerange02 test
      Add ioctl_ficlone04 test

 configure.ac                                       |   1 +
 include/lapi/fs.h                                  |  17 +++
 runtest/syscalls                                   |   6 +
 testcases/kernel/syscalls/ioctl/.gitignore         |   6 +
 testcases/kernel/syscalls/ioctl/ioctl_ficlone01.c  | 122 ++++++++++++++++
 testcases/kernel/syscalls/ioctl/ioctl_ficlone02.c  |  70 +++++++++
 testcases/kernel/syscalls/ioctl/ioctl_ficlone03.c  | 124 ++++++++++++++++
 testcases/kernel/syscalls/ioctl/ioctl_ficlone04.c  | 108 ++++++++++++++
 .../kernel/syscalls/ioctl/ioctl_ficlonerange01.c   | 162 +++++++++++++++++++++
 .../kernel/syscalls/ioctl/ioctl_ficlonerange02.c   |  97 ++++++++++++
 10 files changed, 713 insertions(+)
---
base-commit: c5d95b6d34e2356bd19e6b646da06f1bce66a024
change-id: 20240529-ioctl_ficlone-95c603f71d53

Best regards,
-- 
Andrea Cervesato <andrea.cervesato@suse.com>


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

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

end of thread, other threads:[~2024-07-29 21:29 UTC | newest]

Thread overview: 29+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-23  7:15 [LTP] [PATCH v2 0/7] Add ioctl_ficlone testing suite Andrea Cervesato
2024-07-23  7:15 ` [LTP] [PATCH v2 1/7] Add fallback definitions for lapi/fs.h Andrea Cervesato
2024-07-24 11:52   ` Cyril Hrubis
2024-07-24 16:29   ` Cyril Hrubis
2024-07-25  7:11     ` Li Wang
2024-07-25  9:18       ` Cyril Hrubis
2024-07-25 12:55       ` Petr Vorel
2024-07-25 15:17         ` Cyril Hrubis
2024-07-26 12:03           ` Li Wang
2024-07-23  7:15 ` [LTP] [PATCH v2 2/7] Add ioctl_ficlone01 test Andrea Cervesato
2024-07-23  7:15 ` [LTP] [PATCH v2 3/7] Add ioctl_ficlone02 test Andrea Cervesato
2024-07-29 11:53   ` Petr Vorel
2024-07-29 11:53     ` Petr Vorel
2024-07-29 12:03     ` Cyril Hrubis
2024-07-29 12:03       ` Cyril Hrubis
2024-07-29 21:29       ` Petr Vorel
2024-07-29 21:29         ` Petr Vorel
2024-07-23  7:15 ` [LTP] [PATCH v2 4/7] Add ioctl_ficlone03 test Andrea Cervesato
2024-07-24 12:20   ` Cyril Hrubis
2024-07-23  7:15 ` [LTP] [PATCH v2 5/7] Add ioctl_ficlonerange01 test Andrea Cervesato
2024-07-24 15:24   ` Cyril Hrubis
2024-07-24 15:34     ` Cyril Hrubis
2024-07-23  7:15 ` [LTP] [PATCH v2 6/7] Add ioctl_ficlonerange02 test Andrea Cervesato
2024-07-24 15:37   ` Cyril Hrubis
2024-07-23  7:15 ` [LTP] [PATCH v2 7/7] Add ioctl_ficlone04 test Andrea Cervesato
2024-07-24 15:42   ` Cyril Hrubis
2024-07-24 19:36     ` Andrea Cervesato via ltp
2024-07-24 20:06       ` Cyril Hrubis
2024-07-25  7:16         ` Andrea Cervesato via ltp

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.