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

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


  Branch: refs/heads/master-2.2
  Home:   https://github.com/dovecot/core
  Commit: a80011b6e3df30a7015959b06e29fa4e8e521305
      https://github.com/dovecot/core/commit/a80011b6e3df30a7015959b06e29fa4e8e521305
  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: 69ced82926a142af47034178a77de804037bdf72
      https://github.com/dovecot/core/commit/69ced82926a142af47034178a77de804037bdf72
  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: 4c4a583c7339bce451b598ad19631df2d79c724d
      https://github.com/dovecot/core/commit/4c4a583c7339bce451b598ad19631df2d79c724d
  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: 7bea15d9a4208c31a4b93764d39453f6e8d05565
      https://github.com/dovecot/core/commit/7bea15d9a4208c31a4b93764d39453f6e8d05565
  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: fece801a15b50e232d9b2cb11fbe507d327287a9
      https://github.com/dovecot/core/commit/fece801a15b50e232d9b2cb11fbe507d327287a9
  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: 5aa642046277a4dbbbbc4fcf3de750d5c8760c18
      https://github.com/dovecot/core/commit/5aa642046277a4dbbbbc4fcf3de750d5c8760c18
  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/ebf2e93ed33c...5aa642046277


More information about the dovecot-cvs mailing list