[LU-8174] Taking a lease for the 2nd time fails with -EBUSY Created: 20/May/16  Updated: 19/Dec/18  Resolved: 08/Jul/16

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.9.0, Lustre 2.11.0, Lustre 2.12.0

Type: Bug Priority: Minor
Reporter: Henri Doreau (Inactive) Assignee: Jinshan Xiong (Inactive)
Resolution: Fixed Votes: 0
Labels: cea, patch

Issue Links:
Duplicate
is duplicated by LU-7505 A released file lease cannot be taken... Resolved
Related
is related to LU-8157 Functionnal testing for layout swaps Resolved
is related to LU-7073 racer with OST object migration hangs... Resolved
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

As shown by http://review.whamcloud.com/#/c/13441 (LU-8157), taking a lease on a file, releasing it and taking it again fails with -EBUSY.



 Comments   
Comment by Henri Doreau (Inactive) [ 20/May/16 ]

Patch tracked at http://review.whamcloud.com/20331

Comment by Joseph Gmitter (Inactive) [ 20/May/16 ]

Hi Jinshan,

Can you have a look at the patch?

Thanks.
Joe

Comment by Gerrit Updater [ 05/Jul/16 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch http://review.whamcloud.com/20331/
Subject: LU-8174 llite: restore fd_och when putting lease
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 2fbec0f7156a4e8f565a4ab837fc82332b460b9c

Comment by Joseph Gmitter (Inactive) [ 08/Jul/16 ]

Landed to master for 2.9.0

Comment by Jean-Baptiste Riaux (Inactive) [ 22/Jul/16 ]

Backport to FE 2.7 http://review.whamcloud.com/#/c/21477/

Comment by Gerrit Updater [ 04/May/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/26953
Subject: LU-8174 misc: name open file handles as such
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: b225cdd996d2bfb6b3bb042a8f9f7b7f9f129d5a

Comment by Gerrit Updater [ 07/Jun/17 ]

Andreas Dilger (andreas.dilger@intel.com) uploaded a new patch: https://review.whamcloud.com/27494
Subject: LU-8174 mdt: remove use of typedef mds_reint_t
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: e0081487ac878dd08510ae57c924b7208bbf2c5b

Comment by Gerrit Updater [ 06/Nov/17 ]

Oleg Drokin (oleg.drokin@intel.com) merged in patch https://review.whamcloud.com/27494/
Subject: LU-8174 mdt: remove use of typedef mds_reint_t
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 9e5ac2b0a3c3623698ed2dbb5487bccd927a6144

Comment by Gerrit Updater [ 05/Oct/18 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/26953/
Subject: LU-8174 misc: name open file handles as such
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: ccb133fd22660cd4e014a8047e9c20a35af4cb2c

Generated at Sat Feb 10 02:15:17 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.