[LU-13983] rmdir should release inode on Lustre client Created: 23/Sep/20  Updated: 09/Nov/21  Resolved: 19/Oct/20

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.14.0

Type: Bug Priority: Minor
Reporter: Lai Siyao Assignee: Lai Siyao
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-13833 hook llite to inode cache shrinker Open
is related to LU-13970 add an option to disable inode cache ... Resolved
is related to LU-14408 very large lustre_inode_cache Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

Same as file unlink, rmdir should release the inode on Lustre client, to achieve this, ll_rmdir() should update inode i_nlink, so the last iput() knows it's unlinked and don't cache it.



 Comments   
Comment by Gerrit Updater [ 23/Sep/20 ]

Lai Siyao (lai.siyao@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40011
Subject: LU-13983 llite: rmdir releases inode on client
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: 4db90447f68d81cc3000490f63f797d003e25c1d

Comment by Gerrit Updater [ 19/Oct/20 ]

Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40011/
Subject: LU-13983 llite: rmdir releases inode on client
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 4a4794364eb05f7f6cb4600af986951353d034f4

Comment by Peter Jones [ 19/Oct/20 ]

Landed for 2.14

Generated at Sat Feb 10 03:05:51 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.