An error will throw when the write size is larger than the max file size.
you can check the code here
|
"write length %d exceeds maximum file size %d", writeLen, l.max(), |
Is it acceptable to add a truncate option to truncate the writes? I can contribute if it is accepted.