[dovecot/core] cc8fdd: fs-randomfail: Set fs error always when injecting ...

GitHub noreply at github.com
Thu May 12 12:00:11 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: cc8fdda7b8e82de63115d2dfc80ea63cdde51e3e
      https://github.com/dovecot/core/commit/cc8fdda7b8e82de63115d2dfc80ea63cdde51e3e
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M src/lib-fs/fs-randomfail.c

  Log Message:
  -----------
  fs-randomfail: Set fs error always when injecting failure.

It was done in some places, but not everywhere.


  Commit: 5a20b6bb2a3a04300e341755e3bc2029042727d4
      https://github.com/dovecot/core/commit/5a20b6bb2a3a04300e341755e3bc2029042727d4
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M src/lib-fs/fs-metawrap.c

  Log Message:
  -----------
  fs-metawrap: Propagate fs_write_stream_abort() to parent always

It needed to be done also when temp_output==NULL, because we had already
started sending it to parent, but async parent wasn't being finished.


  Commit: 8b8534cc005aeafe43d7d1de7b50924568328129
      https://github.com/dovecot/core/commit/8b8534cc005aeafe43d7d1de7b50924568328129
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M src/lib-fs/fs-metawrap.c

  Log Message:
  -----------
  fs-metawrap: Minor code cleanup

temp_output==NULL, so these calls are equal.


  Commit: d4a85e170c276969ba14c598a3efdbfaf33c7fc6
      https://github.com/dovecot/core/commit/d4a85e170c276969ba14c598a3efdbfaf33c7fc6
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M src/lib-fs/fs-api-private.h
    M src/lib-fs/fs-api.c

  Log Message:
  -----------
  lib-fs: Added asserts to make sure async writes are finished before close


  Commit: eaac2584903d75da935eeee5098a7baa904f1afd
      https://github.com/dovecot/core/commit/eaac2584903d75da935eeee5098a7baa904f1afd
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M src/lib-fs/fs-api.c

  Log Message:
  -----------
  lib-fs: Set fs error on fs_write_stream_abort()

Probably would be nice for fs_write_stream_abort() to have an error string
parameter, which could be used instead of this generic error.


  Commit: 526af69146c11a7a2c429f026e69fd66be845949
      https://github.com/dovecot/core/commit/526af69146c11a7a2c429f026e69fd66be845949
  Author: Timo Sirainen <timo.sirainen at dovecot.fi>
  Date:   2016-05-12 (Thu, 12 May 2016)

  Changed paths:
    M src/lib-fs/fs-api.c

  Log Message:
  -----------
  lib-fs: Minor code cleanup


Compare: https://github.com/dovecot/core/compare/5a6ad44f1366...526af69146c1


More information about the dovecot-cvs mailing list