xfs
[Top] [All Lists]

Re: Deviation from XSDM in DM_EVENT_XXX

To: Manoj Kumar Pradhan <manojkp80@xxxxxxxxx>
Subject: Re: Deviation from XSDM in DM_EVENT_XXX
From: David Chinner <dgc@xxxxxxx>
Date: Wed, 7 Nov 2007 20:55:30 +1100
Cc: xfs@xxxxxxxxxxx
In-reply-to: <cce360c30711062032w11ec966fy52f4702c2fff61db@mail.gmail.com>
References: <cce360c30711062032w11ec966fy52f4702c2fff61db@mail.gmail.com>
Sender: xfs-bounce@xxxxxxxxxxx
User-agent: Mutt/1.4.2.1i
On Wed, Nov 07, 2007 at 10:02:12AM +0530, Manoj Kumar Pradhan wrote:
> Hi,
> 
> Can someone tell me why XFS-DMAPI deviates in the enum DM_EVEN_XXX
> from the standard?


From the spec:

(http://www.opengroup.org/onlinepubs/9657099/chap4.htm)

"
dm_eventtype_t

 REQUIREMENT

  This enumeration must contain at least the elements listed here. The DMAPI
  implementation may choose a different order for the elements. 
  
"

So as long as we have the events defined, it doesn't matter what
their value or order in the enum is. It's a very rubbery spec....

Cheers,

Dave.
-- 
Dave Chinner
Principal Engineer
SGI Australian Software Group


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