| To: | Damian Hazen <dhazen@xxxxxxx> |
|---|---|
| Subject: | Re: DMAPI implementation about undeliverable event messages |
| From: | Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx> |
| Date: | Tue, 08 Mar 2005 15:18:09 +0100 |
| Cc: | Dean Roehrich <roehrich@xxxxxxx>, linux-xfs@xxxxxxxxxxx |
| In-reply-to: | <422CB259.1010905@lbl.gov> |
| References: | <20050307154838.CABFF4FDD1@chewtoy.americas.sgi.com> <422C7C7A.7060104@ocre.cea.fr> <422CB259.1010905@lbl.gov> |
| Sender: | linux-xfs-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.6) Gecko/20040113 |
Damian Hazen a écrit :
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. In fact, the problem occurs when the session was cleanly closed, but the notification of event (unmount) for the file system was not removed before. So, you try unmount the FS, DMAPI raises a event, but will not be able to send it to the correct session because the dmapi information (event disposition) concerning the FS are not available anymore, because the session do not exist anymore. The event is not pending, it is undelivered. But it will never be able to be delivered because it's associated with a FS which is not available anymore on the system but still not unmounted. We just need to be sure all registered events are removed before destroying the session. If not, and a event occurs, it could be recover as long as it is not the UNMOUNT event. And yes, i agree with the code comment header, this event will be better if it is asynchronous. Aurélien |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: oops when calling dm_set_disp(), Damian Hazen |
|---|---|
| Next by Date: | Re: DMAPI implementation about undeliverable event messages, Aurelien Degremont - Stagiaire |
| Previous by Thread: | Re: DMAPI implementation about undeliverable event messages, Damian Hazen |
| Next by Thread: | Re: DMAPI implementation about undeliverable event messages, Dean Roehrich |
| Indexes: | [Date] [Thread] [Top] [All Lists] |