[PATCH] Re: [PATCHv2 2/2] cld: kill CLD_MAX_PKT_MSG, add CLD_MAX_PAYLOAD_SZ

Jeff Garzik <[email protected]>
Newsgroups org.kernel.vger.hail-devel
Message-ID <[email protected]>
On 02/03/2010 08:45 AM, Colin McCabe wrote:
> Get rid of CLD_MAX_PKT_MSG. It only existed so that we could use static arrays
> in a few places.
>
> Create CLD_MAX_PAYLOAD_SZ to represent the maximum size of a message that the
> API user can GET or PUT. Reducing this constant could break users who
> relied on the old maximum data size, so we should try not to do it often.
>
> Signed-off-by: Colin McCabe<[email protected]>
> ---
>   include/cld_msg.h |    7 ++++---
>   include/cldc.h    |    4 ++--
>   lib/cldc.c        |   24 +++++++++++++++++-------
>   server/msg.c      |    7 +++++++
>   server/session.c  |   12 ++++++++----
>   5 files changed, 38 insertions(+), 16 deletions(-)

applied

I've attached the latest cld->cld.rpcgen working diff, current as of commit

commit a592ee77012f3c32d775c1e67fff66c944e7b5fe
Author: Colin McCabe <[email protected]>
Date:   Wed Feb 3 18:17:24 2010 -0500

     libcldc: use typed message completion callback

     Signed-off-by: Colin McCabe <[email protected]>
     Signed-off-by: Jeff Garzik <[email protected]>
patch (text/plain, 124.3 KB) - not displayed
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.