A cosmetical issue but I've been wondering about it as long as I can remember, so at the risk of appearing as a complete fool ... If a single buffer buf in a sequential metacycbuf is filled there's a message in the syslog like | Dec 7 00:23:38 emmer innd: CNFS-sm: metacycbuff ALL cycbuff is moved | to 18_04 remain calm However, examination with cnfsstat reveals that 18_04 is the old buffer which is now full, and writing continues now into another one (18_05 in my case). So the message should read rather like "moved from 18_04" or probably "moved to 18_05". Now looking at the sources: | if (!SMpreopen) CNFSshutdowncycbuff(cycbuff); | syslog(L_NOTICE, "%s: metacycbuff %s cycbuff is moved to %s remain calm", | LocalLogName, metacycbuff->name, cycbuff->name); cycbuff appearently still points to the old buffer. | metacycbuff->memb_next = (metacycbuff->memb_next + 1) % metacycbuff->count; | cycbuff = metacycbuff->members[metacycbuff->memb_next]; Now finally the new one. | if (!SMpreopen && !CNFSinit_disks(cycbuff)) { (...) | } My suggestion is to put the syslog statement at the place here. Same as patch in the attachment. Christoph -- Attached file included as plaintext by Ecartis -- --- cnfs.c.ORG 2004-01-07 23:47:19.000000000 +0100 +++ cnfs.c 2004-12-07 00:30:30.000000000 +0100 @@ -1123,8 +1123,6 @@ cycbuff->currentbuff = false; CNFSflushhead(cycbuff); /* Flush, just for giggles */ if (!SMpreopen) CNFSshutdowncycbuff(cycbuff); - syslog(L_NOTICE, "%s: metacycbuff %s cycbuff is moved to %s remain calm", - LocalLogName, metacycbuff->name, cycbuff->name); metacycbuff->memb_next = (metacycbuff->memb_next + 1) % metacycbuff->count; cycbuff = metacycbuff->members[metacycbuff->memb_next]; if (!SMpreopen && !CNFSinit_disks(cycbuff)) { @@ -1133,6 +1131,8 @@ token.type = TOKEN_EMPTY; return token; } + syslog(L_NOTICE, "%s: metacycbuff %s cycbuff is moved to %s remain calm", + LocalLogName, metacycbuff->name, cycbuff->name); cycbuff->currentbuff = true; cycbuff->needflush = true; CNFSflushhead(cycbuff); /* Flush, just for giggles */