[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Dazuko-help] Problem with dazukofs.ign
From: |
John Ogness |
Subject: |
Re: [Dazuko-help] Problem with dazukofs.ign |
Date: |
Sun, 03 Jan 2010 12:23:04 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
On 2009-12-09, Lino Sanfilippo <address@hidden> wrote:
>> Next thing what is not the best is need to seek after reading
>> dazukofs.ctrl. It complicates writing scanning threads. I think
>> that the most simple model, would be if every thread read
>> dazukofs.ctrl and scaned the result without need to
>> synchronize. But because of the lseek we need to synchronize
>> threads.
>
> Youre right, this is something that could be improved. But until
> then: what about pread()?
Every thread should have its _own_ open file descriptor to the
DazukoFS group device. This requires no thread synchronization and no
seeking.
John Ogness
--
Dazuko Maintainer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Dazuko-help] Problem with dazukofs.ign,
John Ogness <=