Skip to contentSkip to conversation

waiting on writepage operation

DISCUSSION Rajagopal Ananthanarayanan 1 participant 1 message Jul 6, 2000 Memory management

lore
Share & tools
lore
#0 lore raw

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 [email protected]. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/