-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reduce size of zvol and enforce 4k blocksize in zvol tests #5845
Conversation
@dinatale2, thanks for your PR! By analyzing the history of the files in this pull request, we identified @behlendorf, @sydneyvanda and @ahrens to be potential reviewers. |
17ef595
to
1b1d326
Compare
Corrected an issue with how I was setting create_args in the lib. If you wouldn't mind taking another glance at it @kpande |
@@ -39,8 +39,9 @@ DISK=${DISKS%% *} | |||
if is_mpath_device $DISK; then | |||
delete_partitions | |||
fi | |||
BLOCKSIZE="4K" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should define this in zvol.cfg
with the others
1b1d326
to
16fbd09
Compare
Do you want me to introduce blocksize to each default_zvol_setup call as well? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, let's keep this fix currently confined to the problematic test case
@@ -35,18 +35,25 @@ | |||
# Create a simple zvol volume | |||
# | |||
# Where disk_device: is the name of the disk to be used | |||
# volume_size: is the size of the volume, e.g. 2G | |||
# volume_size: is the size of the volume, e.g. 2Gi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Stray trailing i
9891acc
to
fc00977
Compare
32 bit builders in the buildbot are having trouble completing their ENOSPC testing. Reduce the zvol size and ensure we use 4k blocksizes so the test is less likely to time out. Signed-off-by: Giuseppe Di Natale <[email protected]>
fc00977
to
a1bc049
Compare
Description
Poor write performance on 32-bit buildbot builders is causing zvol ENOSPC testing to time out.
Motivation and Context
Adjust zvol size to be 256mb instead of 1g to ensure the ENOSPC testing finishes within the 10min timeout. Ensure block size is 4k which should match page sizes.
How Has This Been Tested?
Ubuntu 14.04 EC2 instance running the same AMI the 32-bit builders run.
Types of changes
Checklist: