[lkml]   [2011]   [Sep]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] ceph: use kernel DNS resolver
On Fri, 23 Sep 2011, Noah Watkins wrote:
> On Thu, Sep 22, 2011 at 14:29, Sage Weil <> 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?


 \ /
  Last update: 2011-09-23 21:17    [W:0.062 / U:3.068 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site