difference between io_schedule() and schedule()
Rajat Sharma
fs.rajat at gmail.com
Wed Aug 10 04:55:45 EDT 2011
On Wed, Aug 10, 2011 at 1:07 PM, Mulyadi Santosa
<mulyadi.santosa at gmail.com> wrote:
> Hi Rajat...
>
> On Tue, Aug 9, 2011 at 09:30, Rajat Sharma <fs.rajat at gmail.com> wrote:
>> of course I looked at the source (obvious first step) before asking
>> question and further following tsk->in_iowait, it seems it is just
>> needed for accounting purpose.
>>
>> if (tsk->in_iowait) {
>> se->statistics.iowait_sum += delta;
>> se->statistics.iowait_count++;
>> trace_sched_stat_iowait(tsk, delta);
>> }
>>
>> Wanted to be sure of "is that it all about"? or I am missing something here?
>
> I got a feeling that the main show is:
> blk_flush_plug(current);
> that name somehow indicates it is "forcing" read/write to happen,
> either real soon or at the earliest moment possible...
>
>
> --
> regards,
>
> Mulyadi Santosa
> Freelance Linux trainer and consultant
>
> blog: the-hydra.blogspot.com
> training: mulyaditraining.blogspot.com
>
Ah, just missed that, thats actually countable difference. Thanks for
the pointer :)
More information about the Kernelnewbies
mailing list