[OpenAFS] OpenAFS on OpenBSD
Jeffrey Altman
jaltman@auristor.com
Mon, 28 Aug 2017 08:35:24 -0400
This is a cryptographically signed message in MIME format.
--------------ms050607070503030401040507
Content-Type: multipart/mixed;
boundary="------------1D3C563279F30EEAB3B2AF54"
Content-Language: en-US
This is a multi-part message in MIME format.
--------------1D3C563279F30EEAB3B2AF54
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
On 8/28/2017 3:55 AM, Harald Barth wrote:
>=20
>> a half-measure probably isn't worth the effort
>=20
> If you care about a more flexible license, for the client, it might be
> worth reviving Arla. The concept with a small kernel module and a
> userland daemon is different from OpenAFS as well. Another idea would
> be to port the relevant parts to the FUSE interface instead (both Arla
> and OpenAFS are older than FUSE).
>=20
> Harald.
Hi Harald,
The Arla architecture is similar to the OpenAFS Windows Redirector
architecture. The kernel module implements all of the required VFS
functionality and a userland process is responsible for implementing all
of the cache management, the Rx network stack, the RXAFSCB service, and
all of the VL and RXAFS RPCs.
This approach reduces complexity by removing the Rx networking and cache
management file operations from the kernel. I'm not sure the reduced
complexity saves all that much considering that the OpenAFS Rx stack was
implemented in kernel for prior versions of OpenBSD.
There is also a performance cost since upcalls from the kernel module to
the userland process must be performed to satisfy the requests delivered
through the VFS.
As for FUSE, the OpenAFS cache manager has been implemented as a FUSE
module. Unfortunately, there remains a significant unresolved design
question: "How to implement path ioctls for FUSE?" Without pioctls the
OpenAFS command line tools can not be used for token management or
otherwise manage the cache manager. Therefore, the existing FUSE
implementation only supports anonymous operations.
Jeffrey Altman
--------------1D3C563279F30EEAB3B2AF54
Content-Type: text/x-vcard; charset=utf-8;
name="jaltman.vcf"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="jaltman.vcf"
begin:vcard
fn:Jeffrey Altman
n:Altman;Jeffrey
org:AuriStor, Inc.
adr:Suite 6B;;255 West 94Th Street;New York;New York;10025-6985;United St=
ates
email;internet:jaltman@auristor.com
title:Founder and CEO
tel;work:+1-212-769-9018
note;quoted-printable:LinkedIn: https://www.linkedin.com/in/jeffreyaltman=
=3D0D=3D0A=3D
Skype: jeffrey.e.altman=3D0D=3D0A=3D
=09
url:https://www.auristor.com/
version:2.1
end:vcard
--------------1D3C563279F30EEAB3B2AF54--
--------------ms050607070503030401040507
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature
MIAGCSqGSIb3DQEHAqCAMIACAQExDzANBglghkgBZQMEAgEFADCABgkqhkiG9w0BBwEAAKCC
DIMwggXqMIIE0qADAgECAhBAAVgjDHzXCy5hFo6GsQuLMA0GCSqGSIb3DQEBCwUAMDoxCzAJ
BgNVBAYTAlVTMRIwEAYDVQQKEwlJZGVuVHJ1c3QxFzAVBgNVBAMTDlRydXN0SUQgQ0EgQTEy
MB4XDTE2MTEwMjAzMTkzMFoXDTE3MTEwMjAzMTkzMFowgYYxLTArBgNVBAsMJFZlcmlmaWVk
IEVtYWlsOiBqYWx0bWFuQGF1cmlzdG9yLmNvbTEjMCEGCSqGSIb3DQEJARYUamFsdG1hbkBh
dXJpc3Rvci5jb20xMDAuBgoJkiaJk/IsZAEBEyA3RjAwMDAwMTAwMDAwMTU4MjMwQzdDQTcw
MDAwMDdCMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBALtO/7veyX1tdA4aDvsO
c0gS/fICCTPlhS34dpRNmZYs2mvWb/xGRCKeflva8uZLFqsCE6ybMgz2IaB9rpowRcGSr/R7
CyY6HEBl3Rw0OkkslV7HQTxgp1fBXbGGoS8gOp6/ML64d5UJsMUM6NM59SzC77v8bi0sYkaT
q31SoiJrCcPiI0F2wZiESf1tguQONl3Emt9fhEokmlLRHAlv1DkRw2XeUOyUwVHIVgF1wnzR
4Ao86aYmym62Z669a6NPla3hqLmYk9w+ydTnzcWj0X6nhvaMxb7fhOUyj06Y5Mxhqye+dJg4
bPj/G+8OoNVY9l5h/qbJaWp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