-
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
etc/init.d/zfs-functions.in: remove arch warning #9177
Conversation
etc/init.d/zfs-functions.in
Outdated
# do, thus i'm not breaking here. | ||
fi | ||
case "$(uname -m)" in | ||
aarch64|ppc64|ppc64le|x86_64) |
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.
what about this?
case "$(uname -m)" in
*64*)
;;
*)
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.
Actually, these days thing work pretty reasonably even on 32-bit arches (and some more exotic ones like s390x). I think it would be reasonable to remove this very old warning entirely.
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.
@gyakovlev would you mind refreshing this PR to simply remove the warning.
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.
@behlendorf done!
Closes: openzfs#9177 Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
5c46f12
to
3caf12e
Compare
Codecov Report
@@ Coverage Diff @@
## master #9177 +/- ##
==========================================
- Coverage 77.89% 72.46% -5.43%
==========================================
Files 389 371 -18
Lines 121558 119372 -2186
==========================================
- Hits 94682 86500 -8182
- Misses 26876 32872 +5996
Continue to review full report at Codecov.
|
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: openzfs#9177
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: openzfs#9177
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: openzfs#9177
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: openzfs#9177
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: openzfs#9177
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: openzfs#9177
Remove the x86_64 warning, it's no longer the case that this is the only supported architecture. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org> Closes: #9177
Signed-off-by: Georgy Yakovlev gyakovlev@gentoo.org
ZFS works and build-tested on those arches.
In fact it's even tested on arm and ppc, but those are 32bit arches.
Motivation and Context
Stop printing misleading warning on boot.
Description
I extended the check to known-good
uname -m
values.How Has This Been Tested?
system boots, no longer prints a warning.
Types of changes
Checklist:
Signed-off-by
.