bugGluster - Bugs: bug #21885, write-beind is useless when the...

 
 

bug #21885: write-beind is useless when the length of data can not be divided by 4096

Submitted by:  LI Daobing <lidaobing>
Submitted on:  Wed 26 Dec 2007 03:22:02 AM UTC  
 
Category: GlusterFSSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Improper behaviour
Status: FixedPrivacy: Public
Assigned to: Anand Avati <avati>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.

 

Wed 26 Dec 2007 03:22:02 AM UTC, original submission:

Hello,

a code in write-behind.c, function wb_writev:
// begin
if ((file->size >= conf->aggregate_size) ||
(iov_length (vector, count) % 4096)) {
wb_sync (wb_frame, file);
}
// end

Why we don't cache(or aggregate) data, if the length of the data can not be divided by 4096?

Any reason for this decision?

Thanks,

LI Daobing <lidaobing>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by avati (Updated the item)
  • -unavailable- added by lidaobing (Submitted the item)
  •  

    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 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 26 Jan 2008 12:56:39 AM UTCavatiStatusNone=>Fixed
      Assigned toNone=>avati
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1