On 2010-04-22, at 12:15, Aneesh Kumar K.V wrote: > The below set of patches implement open by handle support using exportfs > operations. This allows user space application to map a file name to file > handle and later open the file using handle. > > TODO: > I guess we would need to optimize how we get the vfsmount for the filesystem > uuid specified. Searching the file system list and task name space may be a big overhead for each open by handle call. I agree this is a desirable feature, but I don't think it is a requirement before this code could be landed. The initial adoption of this syscall will likely take some time, and it will work fine on systems until there are hundreds of filesystems/namespaces. It definitely makes sense to hash the UUIDs of the filesystems at mount time so that they can be looked up more efficiently. It also makes sense to hang a vfsmnt list off the superblock to make that lookup more efficient, instead of having to search through all of the vfsmnts on the system. > Chages from V2: > a) Support system wide unique handle. Thanks for adding this in. I think it is an important addition to the API. Cheers, Andreas -- Andreas Dilger Lustre Technical Lead Oracle Corporation Canada Inc. -- 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