xfs
[Top] [All Lists]

Re: DMAPI implementation about undeliverable event messages

To: Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx>
Subject: Re: DMAPI implementation about undeliverable event messages
From: Damian Hazen <dhazen@xxxxxxx>
Date: Mon, 07 Mar 2005 11:58:17 -0800
Cc: Dean Roehrich <roehrich@xxxxxxx>, linux-xfs@xxxxxxxxxxx
In-reply-to: <422C7C7A.7060104@xxxxxxxxxxx>
References: <20050307154838.CABFF4FDD1@xxxxxxxxxxxxxxxxxxxxxxxx> <422C7C7A.7060104@xxxxxxxxxxx>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3) Gecko/20050113 Red Hat/1.4.3-3.0.7.centos.1
Aurelien Degremont - Stagiaire wrote:

Dean Roehrich a écrit :

These are often blocked, but interruptible. Otherwise they're stuck until the
HSM application is restarted so it can continue processing events.


Yes, i saw this, no other solutions ?

There's an issue with the DM_EVENT_UNMOUNT event.
If the HSM application is unavailable, you try to unmount a managed filesystem, the filesystem will start to be unmount, the event msg will be sent, but not received, so the unmount call will be blocked. Unfortunately, the HSM application will never be able to re-register for the UNMOUNT event for this filesystem, because this filesystem is no longer available as a "loaded and dmapi-compliant" filesystem (we cannot get the filesystem handle anymore), but it's also not unloaded. The system is quite broken for this FS and i see no solution to solve the situation...

Am i clear ? :)


Aurelien


Hi -

If your goal is just to clear out the pending unmount event so that umount completes, you can write a utility that gets the sessions, gets the tokens, and then responds continue. The filesystem should unmount and then you can go back to debugging why the HSM app. went away.

-Damian


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