If you get this error in your dmesg into your client connected to the Synology NAS, ssh into NAS and edit :
/usr/syno/etc/smb.conf
and add these lines into global section :
use sendfile = no
large readwrite = no
Then you can restart your NAS with :
/usr/syno/etc/rc.d/S80samba.sh restart