[LU-16049] configuration option to sync data on file close Created: 26/Jul/22  Updated: 05/Dec/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: None

Issue Links:
Related
is related to LU-17329 Relaxed POSIX Consistency for Lustre Open
Rank (Obsolete): 9223372036854775807

 Description   

For applications that expect NFS-like behavior with data flush on file close, and do not call fsync() on the file, it would be useful to provide a per-mountpoint tunable parameter and mount option that forces file data to be sync'd to the target, something like "llite.*.sync_on_close" and "-o sync_on_close", or similar. Better would be a per-directory flag that is inherited by files created therein, so that applications or administrators can set this for specific apps/users that need such semantics.

This would have a potentially large impact for workloads that are writing a large number of small files (e.g. tar), so it should default to "off", and only be enabled specifically for workloads that expect it.


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