Bug 1616016

Summary: Please enable the kernel AFS module
Product: [Fedora] Fedora Reporter: Jonathan Billings <jsbillin>
Component: kernelAssignee: Kernel Maintainer List <kernel-maint>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: unspecified    
Version: rawhideCC: airlied, bskeggs, ewk, hdegoede, ichavero, itamar, jarodwilson, jcline, jglisse, john.j5live, jonathan, josef, kernel-maint, linville, mchehab, mjg59, steved
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1623615 1623617 (view as bug list) Environment:
Last Closed: 2018-08-29 19:52:30 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1623615, 1623617    

Description Jonathan Billings 2018-08-14 17:55:24 UTC
Can you please enable the kernel AFS module? The CONFIG options to enable are:

CONFIG_AF_RXRPC=m	# The RxRPC protocol transport
CONFIG_AFS_FS=m		# The AFS filesystem

These would all be created as modules.

In addition, the following should also be enabled:
CONFIG_AF_RXRPC_IPV6=y
CONFIG_AFS_FSCACHE=y

and enable dynamic debugging:
CONFIG_AFS_DEBUG=y
CONFIG_AF_RXRPC_DEBUG=y

David Howells has written a corresponding set of userspace utilities that can use AF_RXRPC (http://git.infradead.org/users/dhowells/kafs-utils.git/shortlog/refs/heads/pythonify).  The tools have been rewritten in python3 and will also need a new package in Fedora (which I'll handle in a separate request).  I've been maintaining my own kernel and kafs-utils packages in my own COPR repo:
https://copr.fedorainfracloud.org/coprs/jsbillings/kafs/packages/

There have been significant improvements to the kernel AFS code this year.  It is at a point where the in-kernel AFS module is useful as an AFS client, able to mount, read and write to AFS volumes.  There are several large installations of AFS around the world who use Fedora (including my institution, the University of Michigan) who would directly benefit from this feature being enabled.

Comment 1 Jeremy Cline 2018-08-29 19:52:30 UTC
Hi Jonathan,

I've turned this on in Rawhide for 4.19 and it should be in tomorrow's build. Assuming all goes well it'll arrive in stable releases as they're rebased to 4.19. Please let us know if you run into any problems!