MT6000 custom build with LuCi and some optimization - kernel 6.6.x

Please read the posts starting from this one.

I have observed read speed limitation on QNAP.
You can see others found same or similar limitation. Personally I suppose it's a regression or software issue. I think this should be reported on GitHub issues. But better to write in Samba thread.
Edit - Solution is simple.