Re: [PATCH] ceph: use kernel DNS resolver

From: Sage Weil
Date: Fri Sep 23 2011 - 15:15:41 EST


On Fri, 23 Sep 2011, Noah Watkins wrote:
> On Thu, Sep 22, 2011 at 14:29, Sage Weil <sage@xxxxxxxxxxxx> wrote:
> > Currently the dns resolution is handled by mount.ceph and 'rbd map/unmap'.
> > I don't think that will go away (at the very least need to support old
> > kernels).
>
> This is good to know. I never encountered the DNS lookup because I've
> always used a non-standard installation path, avoiding mount.ceph.
>
> > Allowing this in the raw kernel interface would be nice, but I don't think
> > we want make DNS_RESOLVER a strict dependency, since it's new, kind of
> > kludgey, and a ripe target for compiling out of small or secure kernels.
> > Can you make it build either with or without it?
>
> I sent out a new version of the patch that defines a libceph specific
> configuration option to use the in-kernel dns resolver.

So I was actually thinking we could just #ifdef off of
CONFIG_DNS_RESOLVER, but I think your approach might be better because
you'll see it in the config process and turn it on, vs having to dig
through to wherever DNS_RESOLVER lives in kconfig.

Maybe it should default y though?

sage
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/