Skip to contentSkip to conversation

xfstests: rework src/randholes.c

PATCH In review Alex Elder 2 participants 2 messages Oct 14, 2010 – Oct 16, 2010

lore
Share & tools
lore

Alex Elder

author
#0 lore raw

cover 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

#1 lore raw
Quoted 10 lines · Alex Elder

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.

Quoted 7 lines

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.

I haven't really looked at the whole series closely, but nothing stands out as a red flag. Seeing it's test code, it's probably OK to go as is. The bug fixes look fine.

Cheers,

Dave.

Signature · 7 lines
Dave Chinner
[email protected]

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