* To simulate partial disk writes, we split writes into two
* system calls so that the process can be killed in between.
*/
* To simulate partial disk writes, we split writes into two
* system calls so that the process can be killed in between.
*/
rc = pwrite64(vp->v_fd, addr, split, offset);
if (rc != -1) {
done = rc;
rc = pwrite64(vp->v_fd, addr, split, offset);
if (rc != -1) {
done = rc;