xfs
[Top] [All Lists]

Re: DMAPI Multithread/Multiprocess support ?

To: Dean Roehrich <roehrich@xxxxxxx>
Subject: Re: DMAPI Multithread/Multiprocess support ?
From: Aurelien Degremont - Stagiaire <degremont@xxxxxxxxxxx>
Date: Fri, 25 Mar 2005 15:37:50 +0100
Cc: linux-xfs@xxxxxxxxxxx
In-reply-to: <20050323163618.9EF1B4FE10@chewtoy.americas.sgi.com>
References: <20050323163618.9EF1B4FE10@chewtoy.americas.sgi.com>
Sender: linux-xfs-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:1.2.1) Gecko/20030225
Dean Roehrich a écrit:
I don't see why there would be a problem.

It is never say in DMAPI spec the dm_get_events() function could be used by different processes, using the same session id. They all will wait for events but:
Which process will be wake up ?
If two (or more) processes are waiting on dm_get_events(), a message arrive but the buffer is two small (E2BIG), what happens ?
etc...


The spec says absolutely nothing concerning this point.

Does a document describing the choices and differents between the spec and the sgi implementation exist ?


Aurélien


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