[PATCH v2 15/20] insert: fsync new directory after rename

2012-11-25 Thread Mark Walters
On Sun, 25 Nov 2012, Peter Wang wrote: > After moving the file from the 'tmp' to the 'new' directory, > fsync on the 'new' directory for durability. > --- > notmuch-insert.c | 39 --- > 1 file changed, 32 insertions(+), 7 deletions(-) > > diff --git

[PATCH v2 15/20] insert: fsync new directory after rename

2012-11-25 Thread Peter Wang
After moving the file from the 'tmp' to the 'new' directory, fsync on the 'new' directory for durability. --- notmuch-insert.c | 39 --- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/notmuch-insert.c b/notmuch-insert.c index f09c579..831b322

Re: [PATCH v2 15/20] insert: fsync new directory after rename

2012-11-25 Thread Mark Walters
On Sun, 25 Nov 2012, Peter Wang noval...@gmail.com wrote: After moving the file from the 'tmp' to the 'new' directory, fsync on the 'new' directory for durability. --- notmuch-insert.c | 39 --- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git

[PATCH v2 15/20] insert: fsync new directory after rename

2012-11-24 Thread Peter Wang
After moving the file from the 'tmp' to the 'new' directory, fsync on the 'new' directory for durability. --- notmuch-insert.c | 39 --- 1 file changed, 32 insertions(+), 7 deletions(-) diff --git a/notmuch-insert.c b/notmuch-insert.c index f09c579..831b322