linux-unionfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/4] Tests for readahead() and fadvise() on overlayfs
@ 2018-09-28 13:06 Amir Goldstein
  2018-09-28 13:06 ` [PATCH 1/4] syscalls/readahead01: Convert to newlib Amir Goldstein
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Amir Goldstein @ 2018-09-28 13:06 UTC (permalink / raw)
  To: Cyril Hrubis; +Cc: ltp, Miklos Szeredi, linux-unionfs

Cyril,

The following series adds test covergae for readahead() syscall
over overlayfs file and adds test coverage for a specific
posix_fadvise() syscall advice (POSIX_FADV_WILLNEED).

So far, the posix_fadvise syscall tests in LTP only test for error
conditions, but not functionality. The functionality of the advice
POSIX_FADV_WILLNEED is indentical to readahead(), so I decided not
to duplicate the readahead functional test and add test cases to
readahead02 that use the POSIX_FADV_WILLNEED implementation.

Before I decided not to write new posix_fadvise() tests I converted
the existing tests to newlib. That is available for you as github PR:
https://github.com/linux-test-project/ltp/pull/401

Thanks,
Amir.

Amir Goldstein (4):
  syscalls/readahead01: Convert to newlib
  syscalls/readahead02: Convert to newlib and cleanup
  syscalls/readahead02: test readahead() on an overlayfs file
  syscalls/readahead02: test readahead using posix_fadvise()

 .../kernel/syscalls/readahead/readahead01.c   | 119 ++-----
 .../kernel/syscalls/readahead/readahead02.c   | 332 +++++++++---------
 2 files changed, 191 insertions(+), 260 deletions(-)

-- 
2.17.1

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

end of thread, other threads:[~2018-10-04  6:15 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-28 13:06 [PATCH 0/4] Tests for readahead() and fadvise() on overlayfs Amir Goldstein
2018-09-28 13:06 ` [PATCH 1/4] syscalls/readahead01: Convert to newlib Amir Goldstein
2018-09-28 13:06 ` [PATCH 2/4] syscalls/readahead02: Convert to newlib and cleanup Amir Goldstein
2018-10-03 12:47   ` [LTP] " Jan Stancek
2018-10-03 13:51     ` Amir Goldstein
2018-10-03 16:17       ` Jan Stancek
2018-10-04  6:15         ` Amir Goldstein
2018-09-28 13:06 ` [PATCH 3/4] syscalls/readahead02: test readahead() on an overlayfs file Amir Goldstein
2018-10-03 12:48   ` [LTP] " Jan Stancek
2018-10-03 13:30     ` Amir Goldstein
2018-09-28 13:06 ` [PATCH 4/4] syscalls/readahead02: test readahead using posix_fadvise() Amir Goldstein
2018-10-03 12:48   ` [LTP] " Jan Stancek
2018-10-03 13:37     ` Amir Goldstein

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).