linux/fs/afs
David Howells d3e3b7eac8 afs: Add metadata xattrs
Add xattrs to allow the user to get/set metadata in lieu of having pioctl()
available.  The following xattrs are now available:

 - "afs.cell"

   The name of the cell in which the vnode's volume resides.

 - "afs.fid"

   The volume ID, vnode ID and vnode uniquifier of the file as three hex
   numbers separated by colons.

 - "afs.volume"

   The name of the volume in which the vnode resides.

For example:

	# getfattr -d -m ".*" /mnt/scratch
	getfattr: Removing leading '/' from absolute path names
	# file: mnt/scratch
	afs.cell="mycell.myorg.org"
	afs.fid="10000b:1:1"
	afs.volume="scratch"

Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2017-07-09 14:40:12 -07:00
..
Kconfig
Makefile afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
afs.h
afs_cm.h
afs_fs.h
afs_vl.h
cache.c
callback.c afs: Migrate vlocation fields to 64-bit 2017-03-16 16:27:46 +00:00
cell.c
cmservice.c uuid,afs: move struct uuid_v1 back into afs 2017-06-05 16:56:34 +02:00
dir.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
file.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
flock.c
fsclient.c afs: Populate and use client modification time 2017-03-16 16:27:47 +00:00
inode.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
internal.h afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
main.c uuid,afs: move struct uuid_v1 back into afs 2017-06-05 16:56:34 +02:00
misc.c afs: Invalid op ID should abort with RXGEN_OPCODE 2017-03-16 16:27:47 +00:00
mntpt.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
netdevices.c afs: Use core kernel UUID generation 2017-02-10 16:34:17 +00:00
proc.c
rxrpc.c rxrpc: Provide a cmsg to specify the amount of Tx data for a call 2017-06-07 17:15:46 +01:00
security.c afs: Ignore AFS_ACE_READ and AFS_ACE_WRITE for directories 2017-07-09 14:40:12 -07:00
server.c afs: Migrate vlocation fields to 64-bit 2017-03-16 16:27:46 +00:00
super.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00
vlclient.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
vlocation.c afs: Migrate vlocation fields to 64-bit 2017-03-16 16:27:46 +00:00
vnode.c afs: Kill afs_wait_mode 2017-01-09 11:10:02 +00:00
volume.c afs: Convert to separately allocated bdi 2017-04-20 12:09:55 -06:00
write.c afs: Don't wait for page writeback with the page lock held 2017-03-16 16:29:30 +00:00
xattr.c afs: Add metadata xattrs 2017-07-09 14:40:12 -07:00