Re: [gamin] FileSystems



On Tue, Jul 26, 2005 at 10:30:40PM +0000, John McCutchan wrote:
> Yo,
  
   I'm just back to my mail now.

> Currently there are only 2 preferences, monitor type (KERNEL/POLL/NONE),
> and the poll timeout. So,  we can say NFS fs's should be polled every 5
> seconds, and ext3 fs's should use a kernel monitor and poll every 1
> second. The infrastructure is complete, and gamin now keeps a data
> structure in sync with /etc/mtab, and there are some default filesystems
> preferences (Which could easily be extended in the .gaminrc).

  sounds excellent !

> Now, I'm looking into how to cleanly enforce these preferences in gamin.
> I'm starting to think that we need to refactor the poll code so that
> poll state is kept in a file system mount structure. This way we could
> install a timer for each file system's poll rate. Daniel, what do you
> think?

  sounds okay, the problem would be if there is hundreds of FSes being
monitored. Maybe instead of per FS, a per timeout lenght queuing would
be fine ?

Daniel

-- 
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]