You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
throtl: introduce helper functions to manage test target block devices
The throtl test group uses null_blk devices as test target in its test
cases. To prepare for supporting scsi_debug device as the additional
test target, introduce three helper functions below to abstract null_blk
specific operations:
_configure_throtl_blkdev() : Sets up the null_blk device
_delete_throtl_blkdev() : Removes the null_blk device for testing
_exit_throtl_blkdev() : Cleans up the null_blk device
Support two options of _configure_throtl_blkdev(), --sector_size and
--memory_backed so that each test case can tailor the setup according to
specific requirements.
Reviewed-by: Chaitanya Kulkarni <[email protected]>
Signed-off-by: Shin'ichiro Kawasaki <[email protected]>
0 commit comments