-
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
Fix reservation test cases for large disks #5715
Conversation
@behlendorf, thanks for your PR! By analyzing the history of the files in this pull request, we identified @tuxoko, @liaoyuxiangqin and @ChaoyuZhang to be potential reviewers. |
At first glance, I'd say this is a problem I introduced by using |
6f1a778
to
4813250
Compare
@jwk404 spot on! Thanks for the pointer to I didn't notice you were using bash for theses scripts either. Do you intend to switch them back to ksh? If so what's your preferred fix for this? |
I'll convert our tests to use ksh, and at the same time, pull in your fix and we'll be back in sync again. |
But why
Why not just remove the typeset? |
@tuxoko i've read that @behlendorf thanks, i'll rebase #5679 just after this PR will be merged. |
4813250
to
d8e8f41
Compare
Right, so it looks like adding |
d8e8f41
to
5d61ebc
Compare
Convert explicit `typeset -i` and `typeset -l` declarations to `typeset` in order to prevent 32-bit overflow from occurs with disks >2G. Signed-off-by: Brian Behlendorf <[email protected]> Issue openzfs#5714 TEST_ZFSTESTS_DISKSIZE=4G
Convert explicit `typeset -i` and `typeset -l` declarations to `typeset` in order to prevent 32-bit overflow from occurs with disks >2G. TEST_ZFSTESTS_DISKSIZE=4G Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#5715 Closes openzfs#5714
Convert explicit `typeset -i` and `typeset -l` declarations to `typeset` in order to prevent 32-bit overflow from occurs with disks >2G. TEST_ZFSTESTS_DISKSIZE=4G Reviewed-by: George Melikov <[email protected]> Signed-off-by: Brian Behlendorf <[email protected]> Closes openzfs#5715 Closes openzfs#5714
Convert explicit
typeset -i
declarations totypeset -l
in orderto prevent 32-bit overflow from occurs with disks >2G.