[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:
Related
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
Subject: LU-14131 osd-ldiskfs: reduce credits for overwritting
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: f410bbedd4fad9493cb062a8bfda349b1ad19ae3

Comment by Alex Zhuravlev [ 11/Nov/20 ]

please check LU-13013

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/
Subject: LU-14131 osd-ldiskfs: reduce credits for overwritting
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: e1bd38e27a810bad7a25813ebc1ca0535c9d7228

Comment by Peter Jones [ 26/Nov/20 ]

Landed for 2.14

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