[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dazuko-help] kmail corrupts index file with dazukofs
From: |
John Ogness |
Subject: |
Re: [Dazuko-help] kmail corrupts index file with dazukofs |
Date: |
Mon, 11 May 2009 22:26:50 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
On 2009-05-11, Lino Sanfilippo <address@hidden> wrote:
> Unfortunately dazukofs 3.0.1-rc1 only supports reading via mmap().
> Writing is still unsupported. Seemingly this is exactly the problem
> with applications like kmail, that try to write (or copy) files via
> mmap() (probably for performance reasons).
>
> I think a first quick fix could be to make dazukofs return an error
> if a process attempts to write via mmap(). Normally applications
> should be able to handle this and switch to write() system calls.
>
> @John
> what do you think about a solution like this?
I think it would be great. I once spent nearly a whole day trying to
figure out how to implement such a thing. Obviously I was not
successful. I believe that this would be the appropriate solution.
John Ogness
--
Dazuko Maintainer