[squid-dev] [PATCH] convert squidaio_ctrl_t to MEMPROXY_CLASS

Kinkie gkinkie at gmail.com
Thu Oct 1 14:29:33 UTC 2015


Hi,
   the attached large-context patch converts squidaio_ctrl_t to MEMPROXY_CLASS.
It also:
- adds a tiny bit of documentation to some fields of squidaio_ctrl_t
- extends the MEMPROXY_CLASS API to expose the pool's use-count as a
static function
- fixes a tiny bit of documentation in aiops.cc
- fixes a bug in aioWrite [1]

[1] old code wouldn't set ctrlp->len; when free_func would eventually
be called, it'd happen with a length argument of 0 (default length
value). I'm quite surprised this hasn't caused havoc so far. New code
sets len. So either this fixes an issue, or it introduces one ;)


-- 
    Francesco
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mempools-nozero-squidaio_ctrl_t-v1.patch
Type: text/x-diff
Size: 10294 bytes
Desc: not available
URL: <http://lists.squid-cache.org/pipermail/squid-dev/attachments/20151001/bcda9901/attachment.patch>


More information about the squid-dev mailing list