aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sched-migration.py
diff options
context:
space:
mode:
authorAmir Goldstein <[email protected]>2017-11-08 09:39:46 +0200
committerMiklos Szeredi <[email protected]>2018-01-19 13:54:33 +0100
commitd796e77f1dd541fe34481af2eee6454688d13982 (patch)
treeabe932c45768b11bd1cdd59922f5e30de1f60590 /tools/perf/scripts/python/sched-migration.py
parent31747eda41ef3c30c09c5c096b380bf54013746a (diff)
ovl: fix failure to fsync lower dir
As a writable mount, it is not expected for overlayfs to return EINVAL/EROFS for fsync, even if dir/file is not changed. This commit fixes the case of fsync of directory, which is easier to address, because overlayfs already implements fsync file operation for directories. The problem reported by Raphael is that new PostgreSQL 10.0 with a database in overlayfs where lower layer in squashfs fails to start. The failure is due to fsync error, when PostgreSQL does fsync on all existing db directories on startup and a specific directory exists lower layer with no changes. Reported-by: Raphael Hertzog <[email protected]> Cc: <[email protected]> # v3.18 Signed-off-by: Amir Goldstein <[email protected]> Tested-by: RaphaĆ«l Hertzog <[email protected]> Signed-off-by: Miklos Szeredi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions