]> git.baikalelectronics.ru Git - kernel.git/commit
DNS: Make AFS go to the DNS for AFSDB records for unknown cells
authorWang Lei <wang840925@gmail.com>
Wed, 4 Aug 2010 14:16:38 +0000 (15:16 +0100)
committerSteve French <sfrench@us.ibm.com>
Thu, 5 Aug 2010 17:17:51 +0000 (17:17 +0000)
commita4719608b5a78db72a277a174ec9d7d1949e553b
tree35e73b223c2def7ca130b6a58aef8e93aa2bd72a
parent14fb6b820a8bfae7b9d546ba24f8e23520164505
DNS: Make AFS go to the DNS for AFSDB records for unknown cells

Add DNS query support for AFS so that it can get the IP addresses of Volume
Location servers from the DNS using an AFSDB record.

This requires userspace support.  /etc/request-key.conf must be configured to
invoke a helper for dns_resolver type keys with a subtype of "afsdb:" in the
description.

Signed-off-by: Wang Lei <wang840925@gmail.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
fs/afs/Kconfig
fs/afs/cell.c