aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAnton Ivanov <[email protected]>2020-04-22 17:00:01 +0100
committerRichard Weinberger <[email protected]>2020-06-02 22:37:55 +0200
commit54ebe4060fe6c4ab76c79354417612ac9cf4f95e (patch)
treeceb6f5e538059b73ee13c52afe22fb4b8276cfbe /tools/perf/scripts/python
parent0b86ce29cfc273501d019b18f31cee7837c8fd2a (diff)
um: Use fdatasync() when mapping the UBD FSYNC command
We do not need to update the metadata (atime, mtime, etc) on the UBD file and/or the COW file until UML exits. UBD image mtime is checked in UML only when opening the files. After that they are locked and used exclusively by a single UML instance, so there is no point wasting resources on updating metadata on every sync. We can sync data only. The host will always update mtime if a file has been modified upon closing it. Signed-off-by: Anton Ivanov <[email protected]> Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions