gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gluster-devel] [write-beind] why we don't cache if length of data can n


From: LI Daobing
Subject: [Gluster-devel] [write-beind] why we don't cache if length of data can not be divided by 4096.
Date: Wed, 19 Dec 2007 14:34:03 +0800

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]