Bug 1469487
Summary: | sys_xxx() functions should guard against bad return values from fs | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Pranith Kumar K <pkarampu> |
Component: | core | Assignee: | bugs <bugs> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | mainline | CC: | bugs, vbellur |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-4.0.0 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-03-15 11:17:12 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Pranith Kumar K
2017-07-11 11:30:52 UTC
REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#1) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#2) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#3) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#4) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#5) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#6) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#7) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#8) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#9) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#10) for review on master by Xavier Hernandez (xhernandez) REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#11) for review on master by Pranith Kumar Karampuri (pkarampu) REVIEW: https://review.gluster.org/18083 (libglusterfs: Handle FS errors gracefully) posted (#1) for review on experimental by Amar Tumballi (amarts) REVIEW: https://review.gluster.org/18083 (libglusterfs: Handle FS errors gracefully) posted (#2) for review on experimental by Amar Tumballi (amarts) REVIEW: https://review.gluster.org/18083 (libglusterfs: Handle FS errors gracefully) posted (#3) for review on experimental by Amar Tumballi (amarts) COMMIT: https://review.gluster.org/18083 committed in experimental by Amar Tumballi (amarts) ------ commit dbd0d50eed0d89d7a42292f96cf5ae192e107a07 Author: Amar Tumballi <amarts> Date: Fri Aug 18 16:05:32 2017 +0530 libglusterfs: Handle FS errors gracefully Problem: FS sometimes doesn't give the expected return values. We need our common functions to guard against this. Example BUG: https://bugzilla.redhat.com/show_bug.cgi?id=864401 Fix: When the return value is not as per specification, change the return value to -1 and errno to EIO BUG: 1469487 Change-Id: I14739ab2e5ae225b1a91438b87f8928af56f2934 Signed-off-by: Pranith Kumar K <pkarampu> Reviewed-on: https://review.gluster.org/18083 Smoke: Gluster Build System <jenkins.org> Reviewed-by: Amar Tumballi <amarts> Tested-by: Amar Tumballi <amarts> CentOS-regression: Gluster Build System <jenkins.org> REVIEW: https://review.gluster.org/17746 (libglusterfs: Handle FS errors gracefully) posted (#12) for review on master by Pranith Kumar Karampuri (pkarampu) COMMIT: https://review.gluster.org/17746 committed in master by \"Pranith Kumar Karampuri\" <pkarampu> with a commit message- libglusterfs: Handle FS errors gracefully Problem: FS sometimes doesn't give the expected return values. We need our common functions to guard against this. Example BUG: https://bugzilla.redhat.com/show_bug.cgi?id=864401 Fix: When the return value is not as per specification, change the return value to -1 and errno to EIO BUG: 1469487 Change-Id: I14739ab2e5ae225b1a91438b87f8928af56f2934 Signed-off-by: Pranith Kumar K <pkarampu> REVIEW: https://review.gluster.org/18951 (libglusterfs: Handle FS errors gracefully) posted (#1) for review on experimental by Kotresh HR COMMIT: https://review.gluster.org/18951 committed in experimental by \"Kotresh HR\" <khiremat> with a commit message- libglusterfs: Handle FS errors gracefully Problem: FS sometimes doesn't give the expected return values. We need our common functions to guard against this. Example BUG: https://bugzilla.redhat.com/show_bug.cgi?id=864401 Fix: When the return value is not as per specification, change the return value to -1 and errno to EIO BUG: 1469487 Change-Id: Id23fdbcf7aefc4f779e76db824cb4c74d580de1f Signed-off-by: Pranith Kumar K <pkarampu> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-4.0.0, please open a new bug report. glusterfs-4.0.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2018-March/000092.html [2] https://www.gluster.org/pipermail/gluster-users/ |