On Wed, May 14, 2008 at 01:01:01AM -0700, Andrew Morton (akpm@linux-foundation.org ) wrote:
quoted text > > When ->writepage() is used, it has to wait until page is written (remote
> > side sent acknowledge), so if multiple pages are being written
> > simultaneously we either have to allocate shared structure or use
> > per-page wait.
>
> That sounds exactly like wait_on_page_writeback()?
Except that we can interrupt waiting and have a timeout, which is
allowed there (page will be unlocked sometime in the future, but we
return error now).
quoted text > > Will lock_page_killable()/__lock_page_killable() be exported to modules?
>
> Maybe, if there's a need. I see no particular problem with that.
Every good boys, who write own ->writepages() and locks pages there,
want that.
--
Evgeniy Polyakov
--
unsubscribe notice To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Messages in current thread:
Re: POHMELFS high performance network filesystem. Transactio... , Evgeniy Polyakov , (Wed May 14, 4:31 am)