Skip to content

syscalls: add sync device test-cases

Cyril Hrubis ltp 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v4 Latest5 of 9 patches 0 repliesNew

5 of 9 patches are in this archive. The cover letter announces 9.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/9lib/tst_device: add new api tst_dev_bytes_written()+0 -01 reply
2/9lib: split tst_fill_file() to create new tst_fill_fd()+0 -01 reply
2/9lib: split tst_fill_file() to create new tst_fill_fd()+0 -01 reply
9/9syscalls/sync_file_range: add sync device test-case+0 -01 reply
9/9syscalls/sync_file_range: add sync device test-case+0 -02 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [LTP] [PATCH v4 0/9] syscalls: add sync device test-cases

Hi!

Quoted 10 lines

This patch-set adds common test for minimal sectors written on device for various sync related syscalls:
1. syncfs()
2. sync()
3. fsync()
4. fdatasync()
5. sync_file_range()

Also this test is run on all supported filesystems on a test block device.

Pushed with minor changes, good work, thanks.

I've changed the tests to print how much data was synced in a case of a failure and also removed the TST_ prefix from the macros defined in the tests as the TST_ prefix is reserved for the test library.

Signature · 2 lines
Cyril Hrubis
[email protected]