[PATCH v1] erofs: Fallback to normal access if DAX is not supported on extra device
Gao Xiang
hsiangkao at linux.alibaba.com
Tue Jul 29 13:05:04 AEST 2025
Hi Hongbo,
On 2025/7/28 18:50, Hongbo Li wrote:
>
...
>> - } else if (sbi->blkszbits != PAGE_SHIFT) {
>> - errorfc(fc, "unsupported blocksize for DAX");
>> - clear_opt(&sbi->opt, DAX_ALWAYS);
>> - }
>> + if (test_opt(&sbi->opt, DAX_ALWAYS) && sbi->blkszbits != PAGE_SHIFT) {
>> + errorfc(fc, "unsupported blocksize for DAX");
>
> How about using the info log? Can we consider using infofc in this case?
I think you suggestion sounds better, but how about
sending to the original author?
Thanks,
Gao Xiang
More information about the Linux-erofs
mailing list