diff options
author | 2019-07-25 17:33:37 +0800 | |
---|---|---|
committer | 2019-08-23 07:57:12 -0700 | |
commit | fe973b065bce0e61414c33251afae501a757f8c6 (patch) | |
tree | 6cc8f115a25c34d68242b6f7e301d8e68531de33 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f2fs: fix to detect cp error in f2fs_setxattr() (diff) | |
download | wireguard-linux-fe973b065bce0e61414c33251afae501a757f8c6.tar.xz wireguard-linux-fe973b065bce0e61414c33251afae501a757f8c6.zip |
f2fs: fix to handle quota_{on,off} correctly
With quota_ino feature on, generic/232 reports an inconsistence issue
on the image.
The root cause is that the testcase tries to:
- use quotactl to shutdown journalled quota based on sysfile;
- and then use quotactl to enable/turn on quota based on specific file
(aquota.user or aquota.group).
Eventually, quota sysfile will be out-of-update due to following specific
file creation.
Change as below to fix this issue:
- deny enabling quota based on specific file if quota sysfile exists.
- set SBI_QUOTA_NEED_REPAIR once sysfile based quota shutdowns via
ioctl.
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