diff options
author | Martin Brandenburg <martin@omnibond.com> | 2018-03-26 21:58:11 +0300 |
---|---|---|
committer | Mike Marshall <hubcap@omnibond.com> | 2019-05-03 21:32:38 +0300 |
commit | 90fc07065a3505e5a874c5854fd6176beb545e08 (patch) | |
tree | 00cede9b9344af70e09ba43235598cced47027dd /kernel/sched | |
parent | 8a88bbce6f83430a737a97bb72d0912a6a103945 (diff) | |
download | linux-90fc07065a3505e5a874c5854fd6176beb545e08.tar.xz |
orangefs: avoid fsync service operation on flush
Without this, an fsync call is sent to the server even if no data
changed. This resulted in a rather severe (50%) performance regression
under certain metadata-heavy workloads.
In the past, everything was direct IO. Nothing happend on a close call.
An explicit fsync call would send an fsync request to the server which
in turn fsynced the underlying file.
Now there are cached writes. Then fsync began writing out dirty pages
in addition to making an fsync request to the server, and close began
calling fsync.
With this commit, close only writes out dirty pages, and does not make
the fsync request.
Signed-off-by: Martin Brandenburg <martin@omnibond.com>
Signed-off-by: Mike Marshall <hubcap@omnibond.com>
Diffstat (limited to 'kernel/sched')
0 files changed, 0 insertions, 0 deletions