diff options
author | Yuezhang Mo <Yuezhang.Mo@sony.com> | 2025-08-04 16:20:31 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@linux.alibaba.com> | 2025-08-11 06:02:19 +0800 |
commit | c6993c4cb91803fceb82d6b5e0ec5e0aec2d0ad6 (patch) | |
tree | 57fb5bc6dcc3ad4c16a6abbf9158d216e3ad8471 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 8f5ae30d69d7543eee0d70083daf4de8fe15d585 (diff) |
erofs: Fallback to normal access if DAX is not supported on extra device
If using multiple devices, we should check if the extra device support
DAX instead of checking the primary device when deciding if to use DAX
to access a file.
If an extra device does not support DAX we should fallback to normal
access otherwise the data on that device will be inaccessible.
Signed-off-by: Yuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: Friendy Su <friendy.su@sony.com>
Reviewed-by: Jacky Cao <jacky.cao@sony.com>
Reviewed-by: Daniel Palmer <daniel.palmer@sony.com>
Reviewed-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: Hongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20250804082030.3667257-2-Yuezhang.Mo@sony.com
Signed-off-by: Gao Xiang <hsiangkao@linux.alibaba.com>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions