[OpenAFS-devel] Re: Breaking callbacks on unlink
Jeffrey Altman
jaltman@your-file-system.com
Tue, 28 Feb 2012 11:43:22 -0500
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig4D7A211433E5D5634DC1FFE4
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 2/28/2012 11:28 AM, Andrew Deason wrote:
> On Tue, 28 Feb 2012 07:26:32 -0500
> Jeffrey Altman <jaltman@your-file-system.com> wrote:
>=20
>> It occurred to me last night why the callback is not broken on the
>> last unlink . Because it is a wasted message. Breaking the callback
>> does not guarantee that the object will in fact be deleted on the
>> client in a timely manner because unlike with XCB there is no context
>> to say that it has in fact been deleted.
>=20
> ? It's "deleted on the client" as much as any callback break does; all
> of the cached information for that file would be discarded.
>=20
> It's not a waste, since the file has changed; the nlink count has gone
> to 0 and the contents are gone.
The callback does not result in the client having this information. The
client only obtains this information when the client returns to the file
server to request it.
>> When the callback is received or it expires does not trigger a polling=
>> to the server. Therefore there is no guarantee of constant behavior
>> in any case.
>=20
> Yes, and as far as I can tell nobody mentioned anything like a polling
> behavior. If you don't do anything with the file for 2 hours but keep i=
t
> open, it could still go away, but it's a lot more likely to work than
> the current situation.
Go back and re-read this thread. Polling was brought up in discussion
yesterday in the exchanges between Troy and Simon.
--------------enig4D7A211433E5D5634DC1FFE4
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)
iQEcBAEBAgAGBQJPTQQrAAoJENxm1CNJffh41g4H/3cuywWkCavZsJX1NCu9Qqus
8mYQUYBGP9GmH0WtQwDTmyWb26jO/jHXq46X+VhNMITcQQkz0egw3KuZmFWlx7bI
gRdHXUcn+LMNxOnfLCaM8Q4/WVfegne3igt0XqiygLD5W91I0WY4UkHOfNIg+c/s
c+mhkAoFWGE51bmPxqoNO2421ulfgFKpN8o+uvfNNQ1pcE+AcFWVjjsxsARzQ2Wn
BYETvpMUJJSdDKivnuozGA/PyWIfjhMzMrc/TWBZ43I33msPbjrecn1OG99YUCoU
4n8JllkpWwD5tlDk3vTlTc9DOR4Z0znmJ3ZtWCXbKaKx3ywK9weXT2WUg6RK86g=
=36gG
-----END PGP SIGNATURE-----
--------------enig4D7A211433E5D5634DC1FFE4--