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

 
 

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

Submitted by:  Anand Avati <avati>
Submitted on:  Mon 07 Aug 2006 12:52:19 PM UTC  
 
Category: GlusterFSSeverity: 5 - Blocker
Priority: 5 - NormalItem Group: Improper behaviour
Status: InvalidPrivacy: Public
Assigned to: Amar Tumballi <amarts>Originator Name: 
Open/Closed: ClosedRelease: 
Operating System: GNU/LinuxReproducibility: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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

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

Amar Tumballi <amarts>
Project MemberIn charge of this item.
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>
Project MemberIn charge of this item.
Mon 09 Oct 2006 09:02:41 PM UTC, comment #1:

amar, can you comment on the progress update?

Anand Avati <avati>
Project 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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 05 Oct 2007 10:23:03 AM UTCamartsOpen/ClosedOpen=>Closed
    Sat 30 Jun 2007 01:06:29 AM UTCamartsStatusNone=>Invalid
    Mon 09 Oct 2006 09:02:41 PM UTCavatiSeverity4 - Important=>5 - Blocker
    Mon 07 Aug 2006 12:52:52 PM UTCavatiDependencies-=>Depends on bugs #17354

    Back to the top


    Powered by Savane 3.1-cleanup1