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.<br><br>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)?<br>
<br>--Nick<br><br><div class="gmail_quote">On Thu, May 15, 2008 at 2:23 PM, Rob Ross <<a href="mailto:rross@mcs.anl.gov">rross@mcs.anl.gov</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
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?<br><font color="#888888">
<br>
Rob</font><div><div></div><div class="Wj3C7c"><br>
<br>
On May 15, 2008, at 1:10 PM, Nicholas Mills wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thanks for your help everyone.<br>
<br>
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?<br>
<br>
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?<br>
<br>
--Nick<br>
<br>
On Tue, May 13, 2008 at 4:10 PM, Phil Carns <<a href="mailto:carns@mcs.anl.gov" target="_blank">carns@mcs.anl.gov</a>> wrote:<br>
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.<br>
<br>
-Phil<br>
<br>
<br>
Walter Ligon wrote:<br>
Hey guys,<br>
<br>
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?<br>
<br>
Walt<br>
_______________________________________________<br>
Pvfs2-developers mailing list<br>
<a href="mailto:Pvfs2-developers@beowulf-underground.org" target="_blank">Pvfs2-developers@beowulf-underground.org</a><br>
<a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers</a><br>
<br>
_______________________________________________<br>
Pvfs2-developers mailing list<br>
<a href="mailto:Pvfs2-developers@beowulf-underground.org" target="_blank">Pvfs2-developers@beowulf-underground.org</a><br>
<a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers</a><br>
<br>
_______________________________________________<br>
Pvfs2-developers mailing list<br>
<a href="mailto:Pvfs2-developers@beowulf-underground.org" target="_blank">Pvfs2-developers@beowulf-underground.org</a><br>
<a href="http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers" target="_blank">http://www.beowulf-underground.org/mailman/listinfo/pvfs2-developers</a><br>
</blockquote>
<br>
</div></div></blockquote></div><br>