| Summary: | read/write syscalls are suspect in that they do not handle signal interrupts | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Steven Dake <sdake> | ||||
| Component: | corosync | Assignee: | Angus Salkeld <asalkeld> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | Cluster QE <mspqa-list> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | low | ||||||
| Version: | 6.2 | CC: | cluster-maint, jfriesse, sdake | ||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | All | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | |||||||
| : | 679534 (view as bug list) | Environment: | |||||
| Last Closed: | 2011-02-23 16:45:31 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Bug Depends On: | |||||||
| Bug Blocks: | 679534 | ||||||
| Attachments: |
|
||||||
|
Description
Steven Dake
2011-02-22 19:40:53 UTC
Reading signal(7) man page isn't very clear about restarts (it says disks do not count as "slow medium" and don't return EINTR if interrupted with SIGACTION but other mediums do. I wrote a test case attached which verifies this manpage behavior with 1gb of reads couldn't get a short read operation. It says this may be linux specific, so if people report this in the future on other platforms we can reopen. Created attachment 480526 [details]
patch that shows read is restarted if interrupted by signal
|