-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
t/jobs/t0035: add test for the file operations IO engine
The previous commit fixed the NULL pointer dereference which happened when the write_lat_log option is specified for the file operations IO engine. Add a new test case to confirm the fix. This test case also covers the basic use cases of the file operations IO engine. Signed-off-by: Shin'ichiro Kawasaki <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
- Loading branch information
Showing
2 changed files
with
37 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[global] | ||
size=4k | ||
write_lat_log=log | ||
|
||
[job1] | ||
ioengine=filecreate | ||
filename=t0035file1 | ||
|
||
[job2] | ||
ioengine=filestat | ||
filename=t0035file2 | ||
|
||
[job3] | ||
ioengine=filedelete | ||
filename=t0035file3 | ||
|
||
[job4] | ||
ioengine=dircreate | ||
filename=t0035dir1 | ||
|
||
[job5] | ||
ioengine=dirstat | ||
filename=t0035dir2 | ||
|
||
[job6] | ||
ioengine=dirdelete | ||
filename=t0035dir3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters