]> Pileus Git - ~andy/linux/commit
ceph: use kernel DNS resolver
authorNoah Watkins <noahwatkins@gmail.com>
Fri, 23 Sep 2011 18:48:42 +0000 (11:48 -0700)
committerSage Weil <sage@newdream.net>
Tue, 25 Oct 2011 23:10:16 +0000 (16:10 -0700)
commitee3b56f265cafb28c9a1b58faed4f1dbdf51af86
tree9eac33d027174267825a008732ce030e2bfcb5a7
parent49d9224c047f23089c49a6749609447abd09ee03
ceph: use kernel DNS resolver

Change ceph_parse_ips to take either names given as
IP addresses or standard hostnames (e.g. localhost).
The DNS lookup is done using the dns_resolver facility
similar to its use in AFS, NFS, and CIFS.

This patch defines CONFIG_CEPH_LIB_USE_DNS_RESOLVER
that controls if this feature is on or off.

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/Kconfig
net/ceph/messenger.c