[PATCH 0/2] fstests: test reads/writes from hugepages-backed buffers

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



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/

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

 common/rc             |  10 +++++
 ltp/fsx.c             | 100 ++++++++++++++++++++++++++++++++++++++----
 tests/generic/758     |  23 ++++++++++
 tests/generic/758.out |   4 ++
 tests/generic/759     |  24 ++++++++++
 tests/generic/759.out |   4 ++
 6 files changed, 157 insertions(+), 8 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





[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux