[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

waiting on writepage operation



Noticed that filemap_write_page has a wait
parameter that is being unused. When called
from the swapout path, the calling routine
does not intend the operation to block ...
so it calls filemap_write_page with wait = 0.
However, the writepage operation of the
address space does not support the notion of
waiting. Is there a reason to hope that the
wait argument might become part of writepage()?
It will be great to work out a dead-lock situation
in XFS by simply bailing out of the writepage
if it was called with wait = 0.

Thanks for any suggestions,


--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/