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

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


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 62f2f6bafd6253443a8ec9715278db60df660254
      https://github.com/dovecot/core/commit/62f2f6bafd6253443a8ec9715278db60df660254
  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: 8b48c53a81bdc67f267ffbcc45ba9860cb49e977
      https://github.com/dovecot/core/commit/8b48c53a81bdc67f267ffbcc45ba9860cb49e977
  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/6876b613e653...8b48c53a81bd


More information about the dovecot-cvs mailing list