> I'll ask the question on tech-kern.
It looks like there is no method of explicitly syncing a drectory; you'll have
to sync the individual files instead.
The reason is probably that before the advent of soft updates, metadata write
on FFS used to be syncronous anyway.
On Sat, 2008-07-19 at 22:57 +0200, Geert Hendrickx wrote:
> On Tue, Jun 24, 2008 at 07:36:44PM +0300, Timo Sirainen wrote:
> > On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote:
> > >Jun 24 12:22:13 chicken-ac dovecot: Panic: IMAP(schmonz): file
> > >maildir-uidlist.c: line 1217 (maildir_uidlist_
On Tue, Jun 24, 2008 at 07:36:44PM +0300, Timo Sirainen wrote:
> On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote:
> >Jun 24 12:22:13 chicken-ac dovecot: Panic: IMAP(schmonz): file
> >maildir-uidlist.c: line 1217 (maildir_uidlist_sync_update):
> >assertion failed: (ctx->first_unwritten_pos !=
If there is no 3 and the server crashes just after 4, I don't think
the rename() was guaranteed to have reached the disk.
OK, I understand.
If NetBSD doesn't support this, what other way is there to do it?
I don't know of a way of doing this. The problem probably is that
metadata writes used
On Jul 9, 2008, at 3:48 PM, Edgar Fuß wrote:
Apparently it doesn't like that I try to fsync() a read-only
directory file descriptor.
I would argue that NetBSD is correct in this.
Posix says:
The fsync() function shall request that all data for the open file
descriptor named by fildes is to
Apparently it doesn't like that I try to fsync() a read-only
directory file descriptor.
I would argue that NetBSD is correct in this.
Posix says:
The fsync() function shall request that all data for the open file
descriptor named by fildes is to be transferred to the storage
device associa
On Tue, Jun 24, 2008 at 6:50 PM, Amitai Schlair <[EMAIL PROTECTED]> wrote:
> Timo Sirainen wrote:
>
>> On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote:
>>
>>> Jun 24 12:22:13 chicken-ac dovecot: IMAP(schmonz):
>>> fdatasync_path(/home/schmonz/Maildir/.Trash/cur) failed: Bad file descriptor
>>
>>
Timo Sirainen wrote:
On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote:
Jun 24 12:22:13 chicken-ac dovecot: IMAP(schmonz):
fdatasync_path(/home/schmonz/Maildir/.Trash/cur) failed: Bad file
descriptor
What OS and filesystem do you use?
NetBSD 4.0, FFS with soft updates.
Jun 24 12:22:13 ch
On Jun 24, 2008, at 7:31 PM, Amitai Schlair wrote:
I've just updated from 1.0.14 to 1.1.1 (Maildirs). According to http://wiki.dovecot.org/Upgrading/1.1
>, "dovecot-uidlist file is in a new format. The old format is
automatically converted to new one."
When I try to delete a message (which m
I've just updated from 1.0.14 to 1.1.1 (Maildirs). According to
http://wiki.dovecot.org/Upgrading/1.1>, "dovecot-uidlist file is in
a new format. The old format is automatically converted to new one."
When I try to delete a message (which moves it to the IMAP Trash
folder), I get the following
10 matches
Mail list logo