Re: [PATCH -V14 0/11] Generic name to handle and open by handle syscalls

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2010-07-01, at 14:41, Neil Brown <neilb@xxxxxxx> wrote:
> I think that it is a little ugly that filesystem uuid extraction is so
> closely tied to filehandle manipulation.  They are certainly related, and we
> certainly need to be able to get the filesystem uuid directly from the
> filesystem, but given that filehandle -> fd mapping doesn't (and shouldn't)
> use the uuid, the fact that fd/name -> filehandle mapping does return the
> uuid looks like it is simply piggy backing some functionality on the side,
> rather than creating a properly designed and general interface.

I disagree. Getting the UUID as part of the filehandle avoids an extra system call for the client and avoids the need for some other non-standard interface to get the UUID.

I'd like to be able to use this interface to implement the distributed open call proposed by the POSIX HECWG. This allows one client to do the path traversal, broadcast the file handle to the (maybe) 1M processes in the job via MPI, and then the other clients can open the file by handle without doing 1M times the full path traversal (which might be 10's of RPCs per process). 

Cheers, Andreas
> 
--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux