[dovecot/core] be6fab: fs-api: Add and use fs_write_stream_abort_error

GitHub noreply at github.com
Tue Aug 23 10:30:10 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/dovecot/core
  Commit: be6fab2b1eded6b57d6688c6aa5a7c784f943865
      https://github.com/dovecot/core/commit/be6fab2b1eded6b57d6688c6aa5a7c784f943865
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
    M src/lib-fs/fs-api.c
    M src/lib-fs/fs-api.h
    M src/lib-fs/fs-metawrap.c
    M src/lib-fs/fs-randomfail.c
    M src/lib-fs/fs-sis-queue.c
    M src/lib-fs/fs-sis.c
    M src/lib-fs/fs-wrapper.c
    M src/lib-storage/index/index-attachment.c
    M src/plugins/fs-compress/fs-compress.c

  Log Message:
  -----------
  fs-api: Add and use fs_write_stream_abort_error

This lets caller to specify error instead of setting it
with fs_error. Doing it like this lets us percolate the
error upwards.


  Commit: 6d035effc27b2556393e6b26fbe1a846741cdb8e
      https://github.com/dovecot/core/commit/6d035effc27b2556393e6b26fbe1a846741cdb8e
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
    M src/lib-fs/fs-api.c
    M src/lib-fs/fs-api.h
    M src/lib-fs/fs-sis.c
    M src/lib-fs/fs-test-async.c

  Log Message:
  -----------
  lib-fs: Remove fs_write_stream_abort

Do not use fs_write_stream_abort anymore, instead use
fs_write_stream_abort_error to provide upstream some
reason when it's used.


  Commit: 0c1f911643fd8542fb488bfe23a54000372cde80
      https://github.com/dovecot/core/commit/0c1f911643fd8542fb488bfe23a54000372cde80
  Author: Aki Tuomi <aki.tuomi at dovecot.fi>
  Date:   2016-08-23 (Tue, 23 Aug 2016)

  Changed paths:
    M src/lib-fs/fs-api.c
    M src/lib-fs/fs-api.h
    M src/lib-fs/fs-metawrap.c
    M src/lib-fs/fs-sis-queue.c
    M src/lib-fs/fs-sis.c
    M src/lib-fs/fs-wrapper.c
    M src/plugins/fs-compress/fs-compress.c

  Log Message:
  -----------
  lib-fs: Add fs_write_stream_abort_parent and use it

Will do all the things abort_error does, but leaves
error untouched. You are expected to set one yourself.


Compare: https://github.com/dovecot/core/compare/1cc5027b902f...0c1f911643fd


More information about the dovecot-cvs mailing list