CA-141611: support for write I/O barriers

ASSERTing here would be wrong as it would crash tapdisk, we check the error code and log a message accordingly in the very next line.