linux/fs/afs
David Howells 8b2a464ced afs: Add an address list concept
Add an RCU replaceable address list structure to hold a list of server
addresses.  The list also holds the

To this end:

 (1) A cell's VL server address list can be loaded directly via insmod or
     echo to /proc/fs/afs/cells or dynamically from a DNS query for AFSDB
     or SRV records.

 (2) Anyone wanting to use a cell's VL server address must wait until the
     cell record comes online and has tried to obtain some addresses.

 (3) An FS server's address list, for the moment, has a single entry that
     is the key to the server list.  This will change in the future when a
     server is instead keyed on its UUID and the VL.GetAddrsU operation is
     used.

 (4) An 'address cursor' concept is introduced to handle iteration through
     the address list.  This is passed to the afs_make_call() as, in the
     future, stuff (such as abort code) that doesn't outlast the call will
     be returned in it.

In the future, we might want to annotate the list with information about
how each address fares.  We might then want to propagate such annotations
over address list replacement.

Whilst we're at it, we allow IPv6 addresses to be specified in
colon-delimited lists by enclosing them in square brackets.

Signed-off-by: David Howells <dhowells@redhat.com>
2017-11-13 15:38:18 +00:00
..
addr_list.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
afs_cm.h
afs_fs.h afs: Overhaul the callback handling 2017-11-13 15:38:18 +00:00
afs_vl.h afs: Add some protocol defs 2017-11-13 15:38:17 +00:00
afs.h afs: Overhaul permit caching 2017-11-13 15:38:18 +00:00
cache.c afs: Update the cache index structure 2017-11-13 15:38:17 +00:00
callback.c afs: Overhaul the callback handling 2017-11-13 15:38:18 +00:00
cell.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
cmservice.c afs: Overhaul the callback handling 2017-11-13 15:38:18 +00:00
dir.c afs: Overhaul the callback handling 2017-11-13 15:38:18 +00:00
file.c afs: Condense afs_call's reply{,2,3,4} into an array 2017-11-13 15:38:17 +00:00
flock.c afs: Overhaul permit caching 2017-11-13 15:38:18 +00:00
fsclient.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
inode.c afs: Overhaul permit caching 2017-11-13 15:38:18 +00:00
internal.h afs: Add an address list concept 2017-11-13 15:38:18 +00:00
Kconfig fs/afs: remove depends on CONFIG_EXPERIMENTAL 2013-01-21 14:39:04 -08:00
main.c afs: Overhaul cell database management 2017-11-13 15:38:18 +00:00
Makefile afs: Add an address list concept 2017-11-13 15:38:18 +00:00
misc.c afs: Consolidate abort_to_error translators 2017-11-13 15:38:17 +00:00
mntpt.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
netdevices.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
proc.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
rxrpc.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
security.c afs: Overhaul permit caching 2017-11-13 15:38:18 +00:00
server.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
super.c afs: Overhaul cell database management 2017-11-13 15:38:18 +00:00
vlclient.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
vlocation.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
vnode.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
volume.c afs: Add an address list concept 2017-11-13 15:38:18 +00:00
write.c fs: convert a pile of fsync routines to errseq_t based reporting 2017-08-01 08:39:29 -04:00
xattr.c afs: Overhaul cell database management 2017-11-13 15:38:18 +00:00