Changed the BIGMSGS semantics.
authorArt Cancro <ajc@citadel.org>
Mon, 29 Jan 2024 03:23:03 +0000 (22:23 -0500)
committerArt Cancro <ajc@citadel.org>
Mon, 29 Jan 2024 03:23:03 +0000 (22:23 -0500)
commit64ad1443540350c9570e98df9236c87c434a3cce
treef0a50569251d549d809e68a403e36899551a5365
parent51c0c7fe81708028e1191bd6149c30707cd4c541
Changed the BIGMSGS semantics.

We now identify the memory location of the start of message body
during serialization, so we don't have to measure it twice.  Then
we store the body in the BIGMSGS table only if the total message
size would exceed 4000 bytes.  This assumes that memory and disk
pages are 4096 bytes, so we want to optimize for a single I/O
operation in most cases.
citadel/server/msgbase.c
citadel/server/msgbase.h
citadel/server/sysconfig.h