[OpenAFS] Opening files read-only when another process has a
write-lock
Jeffrey Altman
jaltman@secure-endpoints.com
Fri, 18 Mar 2011 10:55:30 -0400
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig2AA8317928F99B613E8AAC25
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
On 3/18/2011 9:48 AM, Matt W. Benjamin wrote:
> Hi Thomas,
>=20
> Mandatory enforcement is the defined behavior for byte-range locks on W=
indows. Since you are testing on Windows, you are seeing the Windows beh=
avior. The same lock would be interpreted as advisory on a Unix client.
>=20
> Matt
While this is true, this is not the problem that is preventing Office
applications from opening in-use files in read-only mode. The problem
is that a shared lock for a particular byte-range cannot be obtained in
AFS due to the fact that the file servers do not yet support byte range
lock allocations.
We are all looking forward to the day that the byte-range lock
implementation you have been working on can be merged into the tree.
Jeffrey Altman
--------------enig2AA8317928F99B613E8AAC25
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)
iQEcBAEBAgAGBQJNg3JiAAoJENxm1CNJffh4im8IAKYQjJiE5GYBjWmCczD5ZECw
RXhdvK4krN1SnOjLwWsIv7j5jqSo+EkB6SOi79rGIFHoPHPnefzPtSgASlF6inVo
PZyP7r8Tf+sD62c1pbSv3VENOr/QwNUn2XQhslpMNYncuE+AoWoGOn8323MijJK2
tLUjmg2uWqFeCjyYS30O0I6dzku30CfCIRZYzOqqC2kM/hp5CnBP44yJlP3UrkDF
c7YXspIy/qVz8Tt/1ww1PNGjt59hjT6VX7VjEHF3FbOuYbN/cV3n/zih7lxeuZiI
3UYcdiAe43PZC9F7hVuIFG5zDJc1KPa2eWnubWEi5BBzz1DP4DM46Uul5YfqqaU=
=/NPy
-----END PGP SIGNATURE-----
--------------enig2AA8317928F99B613E8AAC25--