return;
}
aiostate->flags.writing = 1;
- /*
- * XXX it might be nice if aioWrite() gave is immediate
- * feedback here about EWOULDBLOCK instead of in the
- * callback function
- * XXX Should never give EWOULDBLOCK under normal operations
- * if it does then the MAGIC1/2 tuning is wrong.
- */
aioWrite(aiostate->fd, offset, buf, size, storeAufsWriteDone, sio,
free_func);
#else
debug(78, 3) ("storeAufsOpenDone: exiting\n");
}
-/*
- * XXX TODO
- * if errflag == EWOULDBLOCK, then we'll need to re-queue the
- * chunk at the beginning of the write_pending list and try
- * again later.
- * XXX Should not normally happen.
- */
#if ASYNC_READ
static void
storeAufsReadDone(int fd, void *my_data, int len, int errflag)
storeAufsIOCallback(sio, errflag);
}
-/*
- * XXX TODO
- * if errflag == EWOULDBLOCK, then we'll need to re-queue the
- * chunk at the beginning of the write_pending list and try
- * again later.
- * XXX Should not normally happen.
- */
#if ASYNC_WRITE
static void
storeAufsWriteDone(int fd, void *my_data, int len, int errflag)