[PATCH v2] erofs: Fallback to normal access if DAX is not supported on extra device

Gao Xiang hsiangkao at linux.alibaba.com
Mon Jul 28 15:33:58 AEST 2025



On 2025/7/28 12:54, Yuezhang Mo wrote:
> 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 at sony.com>
> Reviewed-by: Friendy Su <friendy.su at sony.com>
> Reviewed-by: Jacky Cao <jacky.cao at sony.com>
> Reviewed-by: Daniel Palmer <daniel.palmer at sony.com>

Reviewed-by: Gao Xiang <hsiangkao at linux.alibaba.com>

Thanks,
Gao Xiang


More information about the Linux-erofs mailing list