]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Removed some old stale "todo" comments about EWOULDBLOCK which no longer
authorhno <>
Sun, 11 Feb 2001 21:10:34 +0000 (21:10 +0000)
committerhno <>
Sun, 11 Feb 2001 21:10:34 +0000 (21:10 +0000)
applies (async-io never returns EWOULDBLOCK on overload in the current
implementation)

src/fs/aufs/store_io_aufs.cc

index eb6e8595f1b9e1e09785cb33a92233c7b99b847a..838d96089d9095a651b04be5453f200b5e34e9a2 100644 (file)
@@ -217,13 +217,6 @@ storeAufsWrite(SwapDir * SD, storeIOState * sio, char *buf, size_t size, off_t o
        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
@@ -297,13 +290,6 @@ storeAufsOpenDone(int unused, void *my_data, int fd, int errflag)
     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)
@@ -351,13 +337,6 @@ storeAufsReadDone(int fd, int errflag, size_t len, void *my_data)
        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)