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 <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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
>> [email protected]
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> [email protected]
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>> _______________________________________________
>> Pvfs2-developers mailing list
>> [email protected]
>> http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers
>>
>
>
_______________________________________________
Pvfs2-developers mailing list
[email protected]
http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers

Reply via email to