/*
- * $Id: store.cc,v 1.460 1998/09/15 19:38:00 wessels Exp $
+ * $Id: store.cc,v 1.461 1998/09/15 20:16:22 wessels Exp $
*
* DEBUG: section 20 Storage Manager
* AUTHOR: Harvest Derived
storeReleaseRequest(e);
return;
}
-#if USE_ASYNC_IO
- /*
- * Make sure all forgotten async ops are cancelled
- */
- aioCancel(-1, e);
-#else
if (store_rebuilding) {
debug(20, 2) ("storeRelease: Delaying release until store is rebuilt: '%s'\n",
storeUrl(e));
e->flags.release_request = 1;
return;
}
+#if USE_ASYNC_IO
+ /*
+ * Make sure all forgotten async ops are cancelled
+ */
+ aioCancel(-1, e);
#endif
storeLog(STORE_LOG_RELEASE, e);
if (e->swap_file_number > -1) {