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

Reply via email to