xfs-masters
[Top] [All Lists]

[xfs-masters] [Bug 434] New: DM_EVENT_DESTROY not sent if non-existing

To: xfs-master@xxxxxxxxxxx
Subject: [xfs-masters] [Bug 434] New: DM_EVENT_DESTROY not sent if non-existing attribute requested
From: bugzilla-daemon@xxxxxxxxxxx
Date: Mon, 9 Jan 2006 04:43:35 -0800
Reply-to: xfs-masters@xxxxxxxxxxx
Sender: xfs-masters-bounce@xxxxxxxxxxx
http://oss.sgi.com/bugzilla/show_bug.cgi?id=434

           Summary: DM_EVENT_DESTROY not sent if non-existing attribute
                    requested
           Product: Linux XFS
           Version: Current
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: XFS kernel code
        AssignedTo: xfs-master@xxxxxxxxxxx
        ReportedBy: c.pascoe@xxxxxxxxxxxxxx


If userspace has done dm_set_return_on_destroy to request an attribute be 
returned with the destroy event, and a file is subsequently destroyed which 
does not have the requested attribute set, no DM_EVENT_DESTROY is generated for 
the event.

The reason is that a check for errors performed after trying to retrieve the 
requested attribute does not accomodate the case when the attribute is not 
present (i.e. ENOATTR (aka ENODATA)).  The comment immediately prior to the 
request suggests that it should continue even in the case where there is no 
data, and the XDSM spec definitely says the event should be generated if there 
is no matching attribute.

-- 
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


<Prev in Thread] Current Thread [Next in Thread>
  • [xfs-masters] [Bug 434] New: DM_EVENT_DESTROY not sent if non-existing attribute requested, bugzilla-daemon <=