bugGluster - Bugs: bug #17355, glusterfsd - all socket operations...

 
 

bug #17355: glusterfsd - all socket operations should be ensured not to block

Submitter:  Anand Avati <avati>
Submitted:  Mon 07 Aug 2006 12:52:19 PM UTC
   
 
Category:  GlusterFS Severity:  5 - Blocker
Priority:  5 - Normal Item Group:  Improper behaviour
Status:  Invalid Privacy:  Public
Assigned to:  amarts Originator Name:  *
Open/Closed:  Closed Release: 
Operating System:  GNU/Linux Reproducibility:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 05 Oct 2007 10:23:03 AM UTC, comment #3: 

Implementation done long back.. Invalid with new versions..

Amar Tumballi <amarts>
Group Member
Sat 30 Jun 2007 01:06:29 AM UTC, comment #2: 

Now the whole GlusterFS fops is asynchrounous, and all socket operations are made in Nonblocking way.

Amar Tumballi <amarts>
Group Member
Mon 09 Oct 2006 09:02:41 PM UTC, comment #1: 

amar, can you comment on the progress update?

Anand Avati <avati>
Group Member
Mon 07 Aug 2006 12:52:19 PM UTC, original submission:  

all read/write operations on sockets should be ensured not to block. currently all read()s happen after poll(). But all write() (reply from fops) happen without check, which can possibly lead to blocking indefinitely.

all socket operations should happen with a poll() check for both write and read.

all FILE * operations should be changed and should use the transport api's being added (tracked by #17354) which uses socket fd directly.

the non-blocking write may involve implementing a write queue which is flushed after poll() indicates write-ready.

Over clogging of the write-queue should be ensured by not read()ing from a socket which has N write-queue entries. (do not process requests from a socket which has not accepted the previous replies)


Anand Avati <avati>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by amarts (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-10-05 amarts Open/ClosedOpen Closed
    2007-06-30 amarts StatusNone Invalid
    2006-10-09 avati Severity4 - Important 5 - Blocker
    2006-08-07 avati Dependencies- Depends on bugs #17354

    Back to the top

    Powered by Savane 3.14-d582.
    Corresponding source code