Re: devd limitations / automounting removable storage

From: Bruce M Simpson (bms_at_spc.org)
Date: 09/18/03

  • Next message: Suleiman Souhlal: "Re: devd limitations / automounting removable storage"
    Date: Thu, 18 Sep 2003 01:35:56 +0100
    To: Jeff Roberson <jroberson@chesapeake.net>
    
    

    On Wed, Sep 17, 2003 at 08:18:49PM -0400, Jeff Roberson wrote:
    > On Wed, 17 Sep 2003, John-Mark Gurney wrote:
    > > I was thinking about a more generic event posting mechanism, where
    > > modules can register to receive notifications when events came in.
    >
    > Please use kqueue. We should have 1 eventing mechanism in the kernel.

    Right now, the way devd/devctl works, it simply polls that device for changes.

    Interesting. Are you suggesting we ditch /dev/devctl and define event
    filters instead inside NEWBUS? Assuming kqueue can be made to play with
    SMP and that we can push Giant out of it this might not be such a bad idea.

    The routing daemon I've been working on (currently stalled due to other work)
    uses kqueue for all network and system event dispatch. I'm very happy with
    kqueue.

    BMS
    _______________________________________________
    freebsd-arch@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-arch
    To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"


  • Next message: Suleiman Souhlal: "Re: devd limitations / automounting removable storage"

    Relevant Pages

    • Re: devd limitations / automounting removable storage
      ... :>> modules can register to receive notifications when events came in. ... :> Please use kqueue. ...
      (freebsd-arch)
    • Re: kqueue and libev
      ... Solaris /dev/poll support which I've elided. ... Does kqueue work with USB for example? ... The typical symptoms are either delayed notificatrions, no notifications at ... The fact that it works fine on everything I threw at it on netbsd is ...
      (freebsd-hackers)
    • Re: kqueue and libev
      ... Solaris /dev/poll support which I've ... Does kqueue work with USB for example? ... The typical symptoms are either delayed notificatrions, no notifications at ... The fact that it works fine on everything I threw at it on netbsd is ...
      (freebsd-hackers)
    • Re: First release of pyfsevents
      ... trouble to have to register each file individually. ... quite sure if we can use kqueue to register a directory, ... multiple renames in quick succession). ... The problem with FSEVents is that you don't get informed about changes ...
      (comp.lang.python)
    • Re: Kqueue write event position?
      ... knoteis generic and is used for all types of notifications, ... probably roll down your own replacement and call it from VN_KNOTE. ... Before I get any further with this, can anyone predict what would be the impact of monitoring a large number of files with kqueue? ...
      (freebsd-hackers)

  • Quantcast