Skip to content

xfstests: rework src/randholes.c

Alex Elder linux-xfs 1 version In review

Get series with b4
b4 am 1287067771.2362.202.camel@doink

Versions newest first

  1. v1 Latest11 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/11xfstests: randholes: Fix two bugssrc/randholes.c+7 -20 replies
2/11xfstests: randholes: only allocate write buffer when neededsrc/randholes.c+26 -190 replies
3/11xfstests: randholes: document options a bit moresrc/randholes.c+21 -70 replies
4/11xfstests: randholes: rearrange fns and drop their declarationssrc/randholes.c+183 -1880 replies
5/11xfstests: randholes: hide some Irix/Linux differences more tidilysrc/randholes.c+24 -510 replies
6/11xfstests: randholes: encapsulate direct I/O setup codesrc/randholes.c+19 -130 replies
7/11xfstests: randholes: use posix_memalign()src/randholes.c+47 -240 replies
8/11xfstests: randholes: encapsulate realtime setup codesrc/randholes.c+30 -250 replies
9/11xfstests: randholes: clean up readblks()src/randholes.c+27 -280 replies
10/11xfstests: randholes: encapsulate argument parsingsrc/randholes.c+75 -590 replies
11/11xfstests: randholes: a few final cleanupssrc/randholes.c+86 -690 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH 00/11] xfstests: rework src/randholes.c

Dave's recent "dynamic speculative EOF preallocation" changes caused test 008 to no longer produce the kinds of holes it was expecting to see, so it got me looking at the program it uses, "src/randholes.c".

Since 008 is the only test using this program, it probably doesn't deserve the attention I gave it yesterday, but I've done the work so I might as well submit the series for review and get my changes in.

The first patch in the series actually addresses two things that are bugs.

The remaining 10 are just cleanup and refactoring changes. Other than two bug fix changes and one change in output when running in very-verbose mode, the patched code should be pretty much functionally identical to before.

-Alex

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