Commit c6993c4c authored by Yuezhang Mo's avatar Yuezhang Mo Committed by Gao Xiang
Browse files

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: default avatarYuezhang Mo <Yuezhang.Mo@sony.com>
Reviewed-by: default avatarFriendy Su <friendy.su@sony.com>
Reviewed-by: default avatarJacky Cao <jacky.cao@sony.com>
Reviewed-by: default avatarDaniel Palmer <daniel.palmer@sony.com>
Reviewed-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
Reviewed-by: default avatarHongbo Li <lihongbo22@huawei.com>
Link: https://lore.kernel.org/r/20250804082030.3667257-2-Yuezhang.Mo@sony.com


Signed-off-by: default avatarGao Xiang <hsiangkao@linux.alibaba.com>
parent 8f5ae30d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment