This patch removes the 'Insufficient_buffer' exception by returning the WRITE_ERR_WOULD_BLOCK result value instead. It also eliminates the superfluous WRITE_ERR_AGAIN and WRITE_ERR_INTERRUPT codes. Issue #4697
Sync errors can be used to indicate failed writes across the File_system session. Ref #2920
Ref #2793
Ref #2569