On Fri, Jul 14, 2006 at 11:07:40AM +0800, Michael Li (Gmail) wrote:
> Or: No matther the event is outstanding or not, if it is read event and
> DMAPI enabled, it will cause a read process hang although the event will not
> be in delivered state(outstanding state)?
The state (new or delivered) doesn't matter. The file had a dmapi event set
for that action so the filesystem deferred the thread to dmapi. That thread
is now in the DMAPI module and, ultimately, the only mechanism to release it
from DMAPI and allow it to return to the filesystem is a call to
You don't have a usable filesystem if there's no DM app responding to events.
You need to think in terms of making that app robust and keeping it running.
The people writing that DM app also need to be aware that through DMAPI their
app becomes a part of the filesystem's I/O path and they need to think
appropriately, given that context.