Re: [rfc][patch] remove racy sync_page?

Jens Axboe
2006-05-31T17:56:48Z

On Wed, May 31 2006, Hugh Dickins wrote:
> > What places want to use set_page_dirty_lock without sleeping?
> > The only place in drivers/ apart from sg/st that SetPageDirty are
> > rd.c and via_dmablit.c, both of which look OK, if a bit crufty.
>
> I've not looked recently, but bio.c sticks in the mind as one which
> is pushed to the full contortions to allow for sleeping there.

Indeed, there's a whole bunch of functions and punting to workqueues
just to work around that :-)

--
Jens Axboe