diff options
author | 2020-03-19 19:57:57 +0800 | |
---|---|---|
committer | 2020-03-30 20:46:23 -0700 | |
commit | b13f67ffe347cad69323a17dcc698e83c92ccb3d (patch) | |
tree | 494defac6a6b859a31abea5188fdec83402f718a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: don't change inode status under page lock (diff) | |
download | linux-rng-b13f67ffe347cad69323a17dcc698e83c92ccb3d.tar.xz linux-rng-b13f67ffe347cad69323a17dcc698e83c92ccb3d.zip |
f2fs: fix to avoid potential deadlock
We should always check F2FS_I(inode)->cp_task condition in prior to other
conditions in __should_serialize_io() to avoid deadloop described in
commit 040d2bb318d1 ("f2fs: fix to avoid deadloop if data_flush is on"),
however we break this rule when we support compression, fix it.
Signed-off-by: Chao Yu <yuchao0@huawei.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions