[PVFS-users] a query

Rob Ross rross at mcs.anl.gov
Mon May 17 11:04:47 EDT 2004


Hi Mahesh,

It is true that in the general case we have to check a lot of socket sets 
to see if a client (on a given socket) was involved in accessing a file.  
An alternative would be to keep a per-connection list of files that the 
client is operating on; however, so far we haven't noticed particular 
performance degradation from the algorithm in place.  Checking a socket 
set for a FD isn't particularly compute intensive.

It is possible for the same file to be part of two "file systems", because 
file systems are somewhat arbitrary. It is also possible for the same FD 
to be used for more than one file system, because we set up FDs from 
clients to managers based on host:port and not host:port:filesystem.  So I 
guess the answer to your last question is yes.

Regards,

Rob

On Mon, 17 May 2004, Mahesh Salunkhe wrote:

>    I was going th' the mgr(1.6.0) code,there I found
> that ,to cleanup a socket it has to check sockesets of
> all files in all active file systems.Isn't it
> inefficient?
>    Is it possible that a single file is being operated
> on by two  diff. file systems(and with the same socket
> fd on mgr side)?



More information about the PVFS-users mailing list