Skip to content

Add two SEEK_DATA/SEEK_HOLE tests

Jeff Liu linux-xfs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 16 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2xfstests: introduce 279 for SEEK_DATA/SEEK_HOLE sanity check279 279.out group +2 more+864 -17 replies
2/2xfstests: introduce 280 for SEEK_DATA/SEEK_HOLE copy check280 280.out group +2 more+861 -19 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchRich Johnston
1/2
2/2R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Add two SEEK_DATA/SEEK_HOLE tests

Hello,

This patch series add two tests to verify SEEK_DATA/SEEK_HOLE feature works fine on supported file systems(Btrfs/OCFS2) and XFS which is in progress.

V2 changes in seek_sanity_tester:
* change test index number from 276 to 279 since I observed that 276~278 have already been used by other tests.

v2 changes in seek_copy_tester:
* change test index number to 280 accordingly.
* s/do_pwrite/full_pwrite/
* add more debug info when writing ZERO byte to dest file.
* fix a bug at create_data_and_holes() to avoid write more bytes exceeding total file size, thank Mark. :)
* mark all function as static, maybe it's better to consolidate some common functions at sanity check and copy tester to a lib file in future.

Thanks,
-Jeff

_______________________________________________
xfs mailing list
[email protected]
http://oss.sgi.com/mailman/listinfo/xfs