Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-16049

configuration option to sync data on file close

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • None
    • 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.

      Attachments

        Issue Links

          Activity

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: