On Feb 19, 2013, at 2:22 PM, Gregory Farnum <[email protected]> wrote:

> On Tue, Feb 19, 2013 at 2:10 PM, Noah Watkins <[email protected]> wrote:
> 
> That is just truly annoying. Is this described anywhere in their docs?

Not really. It's just there in the code--I can figure out the metric if you're 
interested. I suspect it is local node, local rack, off rack ordering, with no 
special tie breakers.

> I don't think it would be hard to sort, if we had some mechanism for
> doing so (crush map nearness, presumably?),

Topology information from the bucket hierarchy? I think it's always some sort 
of heuristic.

>> 1. Expand CephFS interface to return IP and hostname
> 
> Ceph doesn't store hostnames anywhere — it really can't do this. All
> it has is IPs associated with OSD ID numbers. :) Adding hostnames
> would be a monitor and map change, which we could do, but given the
> issues we've had with hostnames in other contexts I'd really rather
> not.

What is the fate of hostnames used in ceph.conf? Could that information be 
leveraged, when specified by the cluster admin?

-Noah--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to