[dovecot/core] 411368: quota: Add quota_root_iter_init_user()

GitHub noreply at github.com
Tue Jun 19 23:00:06 EEST 2018


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: 41136873e5a656ebea10505d38ef4b3d9ded9228
      https://github.com/dovecot/core/commit/41136873e5a656ebea10505d38ef4b3d9ded9228
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M src/plugins/quota/quota.c
    M src/plugins/quota/quota.h

  Log Message:
  -----------
  quota: Add quota_root_iter_init_user()


  Commit: 98d200bdf019c788fa14d326a7aee773b5dc9847
      https://github.com/dovecot/core/commit/98d200bdf019c788fa14d326a7aee773b5dc9847
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M src/plugins/quota-clone/quota-clone-plugin.c

  Log Message:
  -----------
  quota-clone: Move state tracking to user context

This way there's no need to do multiple flushes when e.g. multiple
mailboxes change.

The flush had to be removed from close(), because the code path recurses:

 * mailbox_transaction_commit() when mail is saved
 * quota_count() starts counting the quota, which opens and closes mailbox
 * quota_clone_mailbox_close() attempts to flush quota, which again recurses
into quota_count(), which returns 0 for the quota value.

Based on patch by Michael Slusarz


  Commit: 28087198c0d6d76a295faaf16be6b916325011b2
      https://github.com/dovecot/core/commit/28087198c0d6d76a295faaf16be6b916325011b2
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2018-06-19 (Tue, 19 Jun 2018)

  Changed paths:
    M src/plugins/quota-clone/quota-clone-plugin.c

  Log Message:
  -----------
  quota-clone: Send quota clone data to dict asynchronously

Based on patch by Michael Slusarz


Compare: https://github.com/dovecot/core/compare/73cd1c05d13d...28087198c0d6
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the dovecot-cvs mailing list