[Pvfs2-developers] host id
Nicholas Mills
nlmills at g.clemson.edu
Thu May 15 14:41:02 EDT 2008
I would like to use the string but Dr. Ligon wanted to avoid using a string.
I assume it's because they have a variable length. We're going to need to
send this across the network.
If we were going to use a string would it be better to allocate it
dynamically or use a fixed-size buffer (something like 1024 bytes)?
--Nick
On Thu, May 15, 2008 at 2:23 PM, Rob Ross <rross at mcs.anl.gov> wrote:
> Yes, having multiple file systems would really mess with you because you
> could have the same handle for more than one FS. You sure you don't want to
> just use a string name?
>
> Rob
>
>
> On May 15, 2008, at 1:10 PM, Nicholas Mills wrote:
>
>> Thanks for your help everyone.
>>
>> David and I have decided to use the first handle in the server's mapping
>> to identify the server. We are at the point now where we need to find a
>> handle range given a host alias. Does anyone know of a quick and easy way to
>> do this?
>>
>> There is also the question of which handle range to use. Do we use the
>> meta handles or the data handles? Also, will having multiple filesystems
>> complicate anything?
>>
>> --Nick
>>
>> On Tue, May 13, 2008 at 4:10 PM, Phil Carns <carns at mcs.anl.gov> wrote:
>> I don't think we have any globally valid fixed sized identifier for the
>> servers. The only option I know if would be to use a handle (for example,
>> the first handle in the server's mapping) to represent each server. I think
>> just using the string name would be safer, though.
>>
>> -Phil
>>
>>
>> Walter Ligon wrote:
>> Hey guys,
>>
>> we're needing to send a server host identification on the wire. In the
>> config the host_id appears to be a variable length string. Should we just
>> use that, or is there something else of fixed size I'm not aware of?
>>
>> Walt
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> Pvfs2-developers at beowulf-underground.org
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.beowulf-underground.org/pipermail/pvfs2-developers/attachments/20080515/6b6e3379/attachment.htm
More information about the Pvfs2-developers
mailing list