[LU-11033] truncate to DoM-file results in two RPCs Created: 18/May/18  Updated: 26/Nov/21

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.16.0

Type: Improvement Priority: Minor
Reporter: Alex Zhuravlev Assignee: Mikhail Pershin
Resolution: Unresolved Votes: 0
Labels: DoM2

Issue Links:
Related
is related to LU-10509 sanity-dom test_fsx: FAIL: test_fsx f... Resolved
Rank (Obsolete): 9223372036854775807

 Comments   
Comment by Alex Zhuravlev [ 18/May/18 ]

this is not good on its own - two sync RPCs instead of one. but also breaks optimisation in osd_punch() as we can't skip truncate to existing i_size.

Comment by Mikhail Pershin [ 24/May/18 ]

if truncate size is in DoM range then SETATTR is not needed because there will be truncate. I think it is safe to check that on client and decide to send setattr or not

Comment by Joseph Gmitter (Inactive) [ 07/Aug/19 ]

This ticket remains open to improve the truncation already implemented.

Generated at Sat Feb 10 02:40:21 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.