diff options
author | Jingbo Xu <jefflexu@linux.alibaba.com> | 2023-02-09 09:39:11 +0300 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2023-02-15 03:11:27 +0300 |
commit | 2dfb8c3b122fad4504a92c34ba68f2fe4444b3f6 (patch) | |
tree | e0c8fc9a81db921fcdbaa2445546ae786c92ccc7 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | bdfa90142eb1f1272d2efc00dda6c0f35814e36a (diff) | |
download | linux-2dfb8c3b122fad4504a92c34ba68f2fe4444b3f6.tar.xz |
erofs: maintain cookies of share domain in self-contained list
We'd better not touch sb->s_inodes list and inode->i_count directly.
Let's maintain cookies of share domain in a self-contained list in erofs.
Besides, relinquish cookie with the mutex held. Otherwise if a cookie
is registered when the old cookie with the same name in the same domain
has been removed from the list but not relinquished yet, fscache may
complain "Duplicate cookie detected".
Signed-off-by: Jingbo Xu <jefflexu@linux.alibaba.com>
Reviewed-by: Jia Zhu <zhujia.zj@bytedance.com>
Link: https://lore.kernel.org/r/20230209063913.46341-3-jefflexu@linux.alibaba.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions