lkml.org 
[lkml]   [2008]   [Jun]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH] aio: avoid using queue_delayed_work in aio_kick_handler to schedule itself
Date
On Friday 27 June 2008 18:41:37 Jeff Moyer wrote:
> Nikanth Karthikesan <knikanth@suse.de> writes:
> > Avoid using queue_delayed_work in aio_kick_handler() to run itself
> > immediately. Instead use aio_run_all_iocbs()
>
> Can you give some rationale for this change? Also, how did you test it?
>

The comment in aio_kick_handler(), "we're in a worker thread already, don't
use queue_delayed_work" triggered me to do this. Ran multiple instances
of Stephen Hemminger's aio cp for basic testing.

I think this would make it unfair between different kioctx? May be only the
comment should be removed?

Thanks
Nikanth Karthikesan








\
 
 \ /
  Last update: 2008-06-30 07:49    [W:1.610 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site