- **status**: unassigned --> fixed
- **Comment**:

Fixed in changeset's:

changeset:   5215:e3479f3a8c82
tag:         tip
parent:      5211:da2f2d1c6a17
user:        Ramesh <[email protected]>
date:        Mon May 05 16:30:12 2014 +0530
summary:     log: Log should not retry when close() returns EINTR [#147]

changeset:   5214:0c5247698039
branch:      opensaf-4.4.x
parent:      5212:4aef91dd8868
user:        Ramesh <[email protected]>
date:        Mon May 05 16:30:12 2014 +0530
summary:     log: Log should not retry when close() returns EINTR [#147]

changeset:   5213:cbc7b5661533
branch:      opensaf-4.3.x
parent:      5208:08d4e5dae0bb
user:        Ramesh <[email protected]>
date:        Mon May 05 16:22:23 2014 +0530
summary:     log: Log should not retry when close() returns EINTR [#147]




---

** [tickets:#147] LOG: Log should not retry when close() returns EINTR**

**Status:** fixed
**Milestone:** future
**Created:** Mon May 13, 2013 11:17 AM UTC by elunlen
**Last Updated:** Mon May 13, 2013 11:17 AM UTC
**Owner:** elunlen

In lgs_stream.c we have the following code:


{{{
close_retry:
        rc = close(fd);

        if (rc == -1 && errno == EINTR)
                goto close_retry;
}}}


The retry when close() returns EINTR should be removed. On Linux, close() 
always deallocates the file descriptor even when it returns EINTR.

For more information on this issue, see e.g. 
http://news.ycombinator.com/item?id=3363884

Migrated from devel.opensaf.org #2803


---

Sent from sourceforge.net because [email protected] is 
subscribed to https://sourceforge.net/p/opensaf/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://sourceforge.net/p/opensaf/admin/tickets/options.  Or, if this is a 
mailing list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets

Reply via email to