Re: fixing deferred reads

From: Amos Jeffries <squid3_at_treenet.co.nz>
Date: Fri, 26 Sep 2008 13:35:12 +1200 (NZST)

> On Thu, 2008-09-25 at 13:43 -0600, Alex Rousskov wrote:
>>
>> I can probably fix it myself, but it would help a lot if somebody
>> could
>> document (briefly!) the overall purpose of deferred reads and the
>> exact
>> purposes of these two nearly identical methods (one brief description
>> for each, please):
>
> From memory...
>
>> DeferredReadManager::kickReads(int const count)
>
> do up to count reads that have been deferred
>
>
>> and
>>
>> DeferredReadManager::flushReads()
>
> do all reads
>

Which makes more sense then to cleanup make flushReads() == kickReads(-1),
or similar instead of duplication.

Amos
Received on Fri Sep 26 2008 - 01:35:15 MDT

This archive was generated by hypermail 2.2.0 : Fri Sep 26 2008 - 12:00:05 MDT