[LU-2525] Add asynchronous flocks Created: 26/Dec/12  Updated: 08/Feb/22

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Critical
Reporter: Andriy Skulysh Assignee: Andriy Skulysh
Resolution: Unresolved Votes: 0
Labels: bgti, patch

Issue Links:
Duplicate
Related
Rank (Obsolete): 5943

 Description   

lockd expects asynchronous file locking of underlay FS



 Comments   
Comment by Andriy Skulysh [ 26/Dec/12 ]

patch: http://review.whamcloud.com/4889

Comment by Andriy Skulysh [ 26/Dec/12 ]

There is another asynchronous lock implementation https://bugzilla.lustre.org/show_bug.cgi?id=14080
I wonder why it is not merged yet.

It is simpler. It returns to a caller after receiving reply from a server.
It uses ldlm_lock_decref_and_cancel to cancel pending lock.
I suppose it isn't accurate because it cancels lock on the server on "lock not found" without any check if it was merged with another lock.

Comment by Andriy Skulysh [ 26/Dec/12 ]

Xyratex-bug-id: MRP-656

Comment by Cliff White (Inactive) [ 24/Sep/14 ]

Rebased patch to latest master, repushed for retest.

Comment by James A Simmons [ 26/Nov/14 ]

How can I go about testing this patch?

Comment by Gerrit Updater [ 31/Aug/16 ]

Fan Yong (fan.yong@intel.com) uploaded a new patch: http://review.whamcloud.com/22247
Subject: LU-2525 ldlm: avoid reordered async flock lock and unlock
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 19c4e49751a36afb4c8be4f97ed38e959c80c90f

Comment by Peter Jones [ 12/Sep/16 ]

We can work through the residual issues to get this landed to master once 2.10 opens for features

Comment by Gerrit Updater [ 05/Oct/16 ]

Elena Gryaznova (elena.gryaznova@seagate.com) uploaded a new patch: http://review.whamcloud.com/22953
Subject: LU-2525 tests: specify the set of tests to be run
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 2dfe93be64aab23db18f0f711180258f60694614

Generated at Sat Feb 10 01:25:56 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.