if (obj->logout)
(*obj->logout)();
- LOG(log_info, logtype_afpd, "%.2fKB read, %.2fKB written",
+ LOG(log_info, logtype_afpd, "AFP statistics: %.2f KB read, %.2f KB written",
dsi->read_count/1024.0, dsi->write_count/1024.0);
+ log_dircache_stat();
dsi_close(dsi);
}
/* ---------------------------------
* SIGHUP reload configuration file
- * FIXME here or we wait ?
-*/
+ */
volatile int reload_request = 0;
static void afp_dsi_reload(int sig _U_)
reload_request = 0;
load_volumes(child.obj);
dircache_dump();
+ log_dircache_stat();
}
/* The first SIGINT enables debugging, the next restores the config */
LOG(log_debug, logtype_afpd, "==> Finished AFP command: %s -> %s",
AfpNum2name(function), AfpErr2name(err));
+
+ dir_free_invalid_q();
+
#ifdef FORCE_UIDGID
/* bring everything back to old euid, egid */
if (obj->force_uid)