[dovecot/core] fe85c1: lib-storage: If ITERINDEX is set, delay checking w...

GitHub noreply at github.com
Mon Sep 11 13:30:12 EEST 2017


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: fe85c16b9846f304816af0f529229e0014a6ad6d
      https://github.com/dovecot/core/commit/fe85c16b9846f304816af0f529229e0014a6ad6d
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M src/lib-storage/mail-storage.c

  Log Message:
  -----------
  lib-storage: If ITERINDEX is set, delay checking whether mail root exists

In future this could be done even without ITERINDEX. It's not done yet,
since it might break backwards compatibility with some systems.


  Commit: 19ac276c5d92ddcff9662a660a1b6faccb4524c8
      https://github.com/dovecot/core/commit/19ac276c5d92ddcff9662a660a1b6faccb4524c8
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M src/lib-index/mail-index.c
    M src/lib-index/mail-index.h

  Log Message:
  -----------
  lib-index: Add mail_index_use_existing_permissions()

This has annoyingly lot of copy&pasting from
mailbox_list_get_permissions_stat(), but there didn't seem to be any nice
place where to share the code.


  Commit: 72abc81adc0c46b71269fbec6102139b313dc6ab
      https://github.com/dovecot/core/commit/72abc81adc0c46b71269fbec6102139b313dc6ab
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M src/lib-storage/list/mailbox-list-index.c

  Log Message:
  -----------
  lib-storage: Try to get mailbox list index's permissions from its parent directory

This avoids stat()ing the mail/index root directory, which is especially
useful when mailbox list index is stored in tmpfs.


  Commit: bb82aeaf07bc9d576db3b37c90684d97d73f420f
      https://github.com/dovecot/core/commit/bb82aeaf07bc9d576db3b37c90684d97d73f420f
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2017-09-11 (Mon, 11 Sep 2017)

  Changed paths:
    M src/lib-storage/mailbox-list.c

  Log Message:
  -----------
  lib-storage: If root dir already exists as file, log better error message.


Compare: https://github.com/dovecot/core/compare/3c28795b12bb...bb82aeaf07bc


More information about the dovecot-cvs mailing list