[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: |
|
||||||||||||||||
| 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 |
| Comment by Gerrit Updater [ 19/Oct/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40011/ |
| Comment by Peter Jones [ 19/Oct/20 ] |
|
Landed for 2.14 |