[OpenAFS-devel] Re: advisory locks on RO vols

Andrew Deason adeason@sinenomine.net
Wed, 3 Oct 2012 13:55:51 -0500


On Wed, 3 Oct 2012 08:59:44 -0500
Matt Elliott <melliott@ncsa.illinois.edu> wrote:

> What happens when the client has file open on a read-only volume and
> its changed due to a vos release?  Was the behavior different if the
> client supported advisory locks?

Advisory locks don't directly prevent the contents of a file from
changing (or from being read). If you have a lock on a file, the file
can still change if someone writes to that file.

So, if a volume is released, the file contents can change while you have
a lock, yes. The stuff in gerrit 8197 doesn't really deal with that.

-- 
Andrew Deason
adeason@sinenomine.net