[LU-14131] reduce credits for overwritting Created: 11/Nov/20 Updated: 26/Nov/20 Resolved: 26/Nov/20 |
|
| Status: | Resolved |
| Project: | Lustre |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | Lustre 2.14.0 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Wang Shilong (Inactive) | Assignee: | Wang Shilong (Inactive) |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Issue Links: |
|
||||
| Severity: | 3 | ||||
| Rank (Obsolete): | 9223372036854775807 | ||||
| Description |
|
If all blocks are mapped which means this is overwritting case or space has been allocated by fallocate. There is no need to modify exten tree, and we only need 1 credits for inode. |
| Comments |
| Comment by Gerrit Updater [ 11/Nov/20 ] |
|
Wang Shilong (wshilong@whamcloud.com) uploaded a new patch: https://review.whamcloud.com/40604 |
| Comment by Alex Zhuravlev [ 11/Nov/20 ] |
|
please check |
| Comment by Wang Shilong (Inactive) [ 11/Nov/20 ] |
|
oh, sorry, i did not see it. |
| Comment by Wang Shilong (Inactive) [ 11/Nov/20 ] |
|
bzzz I checked patch there, a bit different problem, we could optimize further if it is mapped blocks, please check patch in details. |
| Comment by Gerrit Updater [ 26/Nov/20 ] |
|
Oleg Drokin (green@whamcloud.com) merged in patch https://review.whamcloud.com/40604/ |
| Comment by Peter Jones [ 26/Nov/20 ] |
|
Landed for 2.14 |