xfs
[Top] [All Lists]

Not getting CREATE events from dmapi

To: linux-xfs@xxxxxxxxxxx
Subject: Not getting CREATE events from dmapi
From: John Groves <jgl@xxxxxxxxxxxxxx>
Date: Fri, 16 Jan 2004 14:06:14 -0600
Reply-to: jgl@xxxxxxxxxxxxxx
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
I'm doing a dmapi handler, and I'm not receiving any DM_EVENT_CREATE or DM_EVENT_POSTCREATE events. Other events are delivered as expected (including the other async POST-whatever events and the managed region events). Just wondering if there are any known issues around this.

I'm running XFS 1.2.0 as included in the 2.4.20 XFS / Redhat distribution. My dmapi library is 2.1.0-1. I don't suppose there's a version alignment requirement there?! (please clarify if so). Otherwise it appears to be working fine.

A call to dm_get_eventlist() indicates that the CREATE events are enabled, so it certainly looks like xfs/dmapi thinks the event is enabled. It would appear that the DM_EVENT_ENABLED(...) macro is returning false in xfs_create(), but that's as far as I've followed as yet.

Any clues appreciated.

Thanks,
John



<Prev in Thread] Current Thread [Next in Thread>