Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
Lustre 2.1.0
-
None
-
3
-
22,660
-
5058
Description
Lustre grants flock exclusive locks on two file descriptors for the same
file in the same process. However, the second flock SHOULD fail.
Fortunately, the VFS already has the correct behavior. And since we are
already calling the flock_lock_file_wait() or posix_lock_file_wait() VFS
calls, we just need to record that return code and return it in
ll_file_lock().
This patch was already landed on 1.8, needs to land on master.
Integrated in
lustre-master » i686,server,el5,inkernel #101
LU-104Properly address ownership of posix and flock locksOleg Drokin : 3bb8d1b9656994b0313cdba6ad8eeb7b84f5ee9f
Files :