patchmldonkey, a multi-networks file-sharing client - Patches: patch #7210, correctly handle clock jumps (e.g....

 
 

You are not allowed to post comments on this tracker with your current authentication level.

patch #7210: correctly handle clock jumps (e.g. after hibernate)

Submitter:  ygrek <ygrek>
Submitted:  Mon 31 May 2010 07:35:24 PM UTC
   
 
Category:  Bug fixes Priority:  5 - Normal
Status:  Done Assigned to:  ygrek
Open/Closed:  Closed

Fri 16 Jul 2010 01:57:49 PM UTC, comment #1: 

committed 2010/07/16

spiralvoice <spiralvoice>
Group administrator
Mon 31 May 2010 07:35:24 PM UTC, original submission:  

Prevent overflow in upload scheduler. If clock jumps forward the upload scheduler will either allocate huge amount of bandwidth or overflow and allocate negative amount. The former causes upload speed limit to be ignored, the latter prevents any uploading. Common usecase that may lead to such behavior is suspend/resume. Ideally the bandwidth scheduler should use monotonic clock instead of realtime one.

ygrek <ygrek>
Group Member

 

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

Attached Files
file #20664:  upload_clock.diff added by ygrek (1KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by spiralvoice (Posted a comment)
  • -email is unavailable- added by ygrek (Submitted the item)
  •  

    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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-07-16 spiralvoice StatusReady For Test Done
        Open/ClosedOpen Closed
    2010-05-31 ygrek Attached File- Added upload_clock.diff, #20664

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code