From: hno <> Date: Sun, 11 Feb 2001 21:10:34 +0000 (+0000) Subject: Removed some old stale "todo" comments about EWOULDBLOCK which no longer X-Git-Tag: SQUID_3_0_PRE1~1603 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=daae1a708ba143d0052d661298527c7b7285b369;p=thirdparty%2Fsquid.git Removed some old stale "todo" comments about EWOULDBLOCK which no longer applies (async-io never returns EWOULDBLOCK on overload in the current implementation) --- diff --git a/src/fs/aufs/store_io_aufs.cc b/src/fs/aufs/store_io_aufs.cc index eb6e8595f1..838d96089d 100644 --- a/src/fs/aufs/store_io_aufs.cc +++ b/src/fs/aufs/store_io_aufs.cc @@ -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)