[dovecot/core] bd3f28: quota: Optimize handling a large number of expunge...

GitHub noreply at github.com
Fri Apr 29 13:00:16 UTC 2016


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: bd3f28156ad2c5d1c99e0d3e5e9fdfe48694187e
      https://github.com/dovecot/core/commit/bd3f28156ad2c5d1c99e0d3e5e9fdfe48694187e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-29 (Fri, 29 Apr 2016)

  Changed paths:
    M src/plugins/quota/quota-storage.c

  Log Message:
  -----------
  quota: Optimize handling a large number of expunges.

This assumes that the mail_expunge() was called in the same order as
sync_notify(), which practically means that they were both done in
ascending uid order. This is usually true.


  Commit: 86d26af6f9bd7ba50636b0c6440d7699400289f2
      https://github.com/dovecot/core/commit/86d26af6f9bd7ba50636b0c6440d7699400289f2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-04-29 (Fri, 29 Apr 2016)

  Changed paths:
    M src/lib-fts/test-fts-icu.c
    M src/lib-ssl-iostream/ostream-openssl.c
    M src/lib/aqueue.c
    M src/lib/str.c

  Log Message:
  -----------
  global: Use buffer_get_writable_size() where possible

With 09539f3db increasing buffer's init_size with +1 some fts-icu unit tests
started failing. And in general it's better to use the writable size since
that provides the true size that can be used.


Compare: https://github.com/dovecot/core/compare/a17f0687f5ad...86d26af6f9bd


More information about the dovecot-cvs mailing list