[LU-15993] ofd_commitrw() can leak pages due to failed nodemap Created: 05/Jul/22 Updated: 14/Aug/23 Resolved: 21/Jul/22 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.16.0, Lustre 2.15.2 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alex Zhuravlev | Assignee: | Alex Zhuravlev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||||||
| Severity: | 3 | ||||||||
| Rank (Obsolete): | 9223372036854775807 | ||||||||
| Description |
if (cmd == OBD_BRW_WRITE) { struct lu_nodemap *nodemap; __u32 mapped_uid, mapped_gid, mapped_projid; nodemap = nodemap_get_from_exp(exp); if (IS_ERR(nodemap)) RETURN(PTR_ERR(nodemap)); thus ofd_commitrw_write() (so dt_bufs_put()) won't be called |
| Comments |
| Comment by Gerrit Updater [ 05/Jul/22 ] |
|
"Alex Zhuravlev <bzzz@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/47873 |
| Comment by Gerrit Updater [ 18/Jul/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/47873/ |
| Comment by Gerrit Updater [ 20/Jul/22 ] |
|
"Jian Yu <yujian@whamcloud.com>" uploaded a new patch: https://review.whamcloud.com/48003 |
| Comment by Peter Jones [ 21/Jul/22 ] |
|
Landed for 2.16 |
| Comment by Gerrit Updater [ 20/Aug/22 ] |
|
"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/48003/ |