When creating a new index file, mark its log offsets so that the possibly existing log file is completely synced. This caused marking index to be corrupted to be quite useless since the same problem was again brought back from the .log file.
When creating a new index file, mark its log offsets so that the possibly
existing log file is completely synced. This caused marking index to be
corrupted to be quite useless since the same problem was again brought back
from the .log file.

--HG--
branch : HEAD

jkerihuel/dovecot,jkerihuel/dovecot,dscho/dovecot,jkerihuel/dovecot,jwm/dovecot-notmuch,jwm/dovecot-notmuch,dscho/dovecot,dscho/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,jkerihuel/dovecot,jwm/dovecot-notmuch,dscho/dovecot,dscho/dovecot