[LU-17055] Implement FALLOC_FL_ZERO_RANGE Created: 25/Aug/23  Updated: 30/Nov/23

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

Type: Improvement Priority: Minor
Reporter: Andreas Dilger Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: easy, lad23dd

Issue Links:
Cloners
is cloned by LU-17326 Implement FALLOC_FL_COLLAPSE_RANGE an... Open
Related
is related to LU-3606 Implement fallocate() support for ldi... Resolved
is related to LU-14160 Implement fallocate FALLOCATE_FL_PUNC... Resolved
is related to LUDOC-487 Document llite.*.fallocate_zero_block... Open
Severity: 3
Rank (Obsolete): 9223372036854775807

 Description   

It would be possible to implement the fallocate(FALLOC_FL_ZERO_RANGE) option for Lustre. This would need the OST thread performing the operation to get PW extent locks (and possibly the PW lock on the MDT for DOM files) in order to ensure the client cache is flushed, since it is modifying the file's data.

For ldiskfs this would be passed down to the ldiskfs fallocate() call. I'm not sure whether ZFS supports this or not.


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