在 2022/06/02 19:24, Gou Hao 写道:
在 2022/6/2 17:10, Yu Kuai 写道:
在 2022/06/02 10:50, Gou Hao 写道:
uniontech inclusion category: bugfix bugzilla: NA CVE: NA
We should not get the socket num in init_eufs_fs, becuse system usually supports cpu hotplug,so we should get socket num in dep_int.
Hi,
What if cpu is offline during mount, and online afterwards?
Well, in this case, we have to add a monitoring mechanism to
dynamically adjust the number of threads according to the
online status of the CPU.
Or there are other better ways ...
I prefer to keep the current implementation for now.
Thanks, Kuai
Thanks, Kuai
Socket num is not necessarily the same when file system mount,so it shoule be eufs_sb_info's member.
Signed-off-by: Gou Hao gouhao@uniontech.com
fs/eulerfs/dep.c | 28 ++++++++++++++++++++++------ fs/eulerfs/euler.h | 2 -- fs/eulerfs/euler_def.h | 1 + fs/eulerfs/super.c | 15 +-------------- 4 files changed, 24 insertions(+), 22 deletions(-)