The issue is related to a regression in the Linux kernel's handling of non-standard maximum write sizes when using the SMB protocol. This regression was introduced by the conversion to netfs in the 6.3 kernel. When the maximum write size is set to a value that is not a multiple of 4096, the netfs code can skip the end of the final page during large sequential writes, resulting in data corruption. To mitigate this, a warning is added when a user specifies a non-standard maximum write size, and the maximum write size is rounded down to the nearest multiple of 4096.