public inbox for linux-fsdevel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] fstests: test reads/writes from hugepages-backed buffers
@ 2024-12-27 19:33 Joanne Koong
  2024-12-27 19:33 ` [PATCH v2 1/2] fsx: support reads/writes from buffers backed by hugepages Joanne Koong
  2024-12-27 19:33 ` [PATCH v2 2/2] generic: add tests for read/writes from hugepages-backed buffers Joanne Koong
  0 siblings, 2 replies; 8+ messages in thread
From: Joanne Koong @ 2024-12-27 19:33 UTC (permalink / raw)
  To: fstests; +Cc: linux-fsdevel, bfoster, djwong, nirjhar, kernel-team

There was a recent bug in rc1 [1] that was due to faulty handling for
userspace buffers backed by hugepages.

This patchset adds generic tests for reads/writes from buffers backed by
hugepages.

[1] https://lore.kernel.org/linux-fsdevel/p3iss6hssbvtdutnwmuddvdadubrhfkdoosgmbewvo674f7f3y@cwnwffjqltzw/

Changelog:
v1: https://lore.kernel.org/linux-fsdevel/20241218210122.3809198-1-joannelkoong@gmail.com/
- Refactor out buffer initialization (Brian)
- Update commit messages of 1st patch (Brian)
- Use << 10 instead of * 1024 (Nirjhar)
- Replace CONFIG_TRANSPARENT_HUGEPAGE check with checking
  'sys/kernel/mm/transparent_hugepage/' (Darrick)
- Integrate readbdy and writebdy options 
- Update options of generic/759 to include psize/bsize

Joanne Koong (2):
  fsx: support reads/writes from buffers backed by hugepages
  generic: add tests for read/writes from hugepages-backed buffers

 common/rc             |  13 +++++
 ltp/fsx.c             | 108 +++++++++++++++++++++++++++++++++++++-----
 tests/generic/758     |  22 +++++++++
 tests/generic/758.out |   4 ++
 tests/generic/759     |  26 ++++++++++
 tests/generic/759.out |   4 ++
 6 files changed, 166 insertions(+), 11 deletions(-)
 create mode 100755 tests/generic/758
 create mode 100644 tests/generic/758.out
 create mode 100755 tests/generic/759
 create mode 100644 tests/generic/759.out

-- 
2.47.1


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

end of thread, other threads:[~2025-01-15 17:53 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-27 19:33 [PATCH v2 0/2] fstests: test reads/writes from hugepages-backed buffers Joanne Koong
2024-12-27 19:33 ` [PATCH v2 1/2] fsx: support reads/writes from buffers backed by hugepages Joanne Koong
2024-12-30  5:00   ` Nirjhar Roy
2025-01-06 15:33   ` Brian Foster
2025-01-12  4:16   ` Zorro Lang
2025-01-15 17:53     ` Joanne Koong
2024-12-27 19:33 ` [PATCH v2 2/2] generic: add tests for read/writes from hugepages-backed buffers Joanne Koong
2025-01-06 15:33   ` Brian Foster

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox