[OpenAFS-devel] Re: Breaking callbacks on unlink

Jeffrey Altman jaltman@your-file-system.com
Tue, 24 Jan 2012 18:22:43 -0500


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enigAB8D072B390C4A5DEE519089
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On 1/24/2012 6:00 PM, Andrew Deason wrote:
> On Tue, 24 Jan 2012 17:40:18 -0500
> Jeffrey Altman <jaltman@your-file-system.com> wrote:
>=20
>> Runtime configuration is not an option in this case because the
>> behavior of whether or not a callback is broken in response to an RPC
>> is part of semantics of the RPC.
>>
>> The way you change the semantics of an RPC is by implementing a new
>> RPC.  It is by implementing a new RPC that the client and server are
>> able to agree upon the semantics.
>=20
> As a general statement, I think that heavily depends on the behavior in=

> question (to what degree it is just a bug). For this situation, sure, I=

> can see that.
>=20
> It's not immediately clear to me whether this is a semantic implied by
> the RemoveFile RPC or the ones that register the callback in question
> (FetchData, etc)... for this immediate issue the point is moot (since
> I'm not going to try to alter the protocol to accomodate). But for the
> future solutions to this, that seems relevant.

One feature that *could* be added to extended callbacks would be an
option to specify what the behavior of a callback should be in this
case.  However, given the existing AFS RPCs the behavior is tied to the
RemoveFile RPC because there is no method by which an alternate behavior
can be agreed upon by the client and server.




--------------enigAB8D072B390C4A5DEE519089
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)

iQEcBAEBAgAGBQJPHz1DAAoJENxm1CNJffh42yoIAMMYFHyzjTvnhK3y/HmyAw5i
JMJZRQxAk1Bhwh/ediKzyWZXWzOH/HQQm6kNvqOFcYrFGEFpYusqpvIOOiPMbBtS
/42ODxikZEicFOC6OVonrdqaxDfGbPtzu1AvS/TflyVG38ddJSoe1tUaKcPZvdyQ
lKXlSZ3kU8YBeAMOJOeWJKrjWpmVnR7r+iF1r0kN9XctTU+DyTGyJ94SaHdy4qlH
gcfEcQCJklWVpTYliOWqYuFWcDdkhHccGr0dwpfaFlAnP7l83me7ph0hoanOARfb
HN2gyowNrlFm6eXbnutA2IyqePnzARV6v98IGVpax9SAQalTF0lfqHh1C8SGvJQ=
=51Lz
-----END PGP SIGNATURE-----

--------------enigAB8D072B390C4A5DEE519089--