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

Re: [win-pv-devel] [PATCH 0/9] Reduce xenstore noise on backend changes



> -----Original Message-----
> From: win-pv-devel [mailto:win-pv-devel-bounces@xxxxxxxxxxxxxxxxxxxx] On
> Behalf Of Owen Smith
> Sent: 22 April 2016 15:15
> To: win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> Cc: Owen Smith
> Subject: [win-pv-devel] [PATCH 0/9] Reduce xenstore noise on backend
> changes
> 
> Currently, each Pdo creates a single watch for its backend path,
> but uses a single common thread event. This means that for any
> backend path change, every backend area, for all VBDs, is scanned
> for changes. This includes when the backend state variable is changed
> which generates a lot of unneccesary xenstore traffic (mostly reads)
> during VBD enumeration and connection.
> 
> Owen Smith (9):
>   Move __FdoNotifyInstaller to DriverNotifyInstaller
>   Simplify StorPort entry points
>   Refactor Pnp/Power handlers
>   Rework enumeration code to work at PASSIVE_LEVEL in the scan thread
>   Dont create Pdo for emulated devices
>   Create a seperate thread per VBD to handle backend change watches
>   Wrap all driver.c globals in a struct
>   Change enumeration function to take PANSI_STRING array to simplify
>     parsing of the data returned by STORE(Directory)
>   Remove logging from failed Pdo Pnp IRPs
> 

Applied (with one post-patch to fix some compiler warnings).

Thanks,

  Paul

>  src/xenvbd/driver.c   | 333 +++++++++------------
>  src/xenvbd/driver.h   |   8 +-
>  src/xenvbd/fdo.c      | 794 ++++++++++++++++++++++--------------------------
> --
>  src/xenvbd/fdo.h      |  27 +-
>  src/xenvbd/frontend.c |  54 +++-
>  src/xenvbd/frontend.h |   7 -
>  src/xenvbd/pdo.c      |  92 ++----
>  src/xenvbd/pdo.h      |  10 +-
>  8 files changed, 557 insertions(+), 768 deletions(-)
> 
> --
> 1.9.4.msysgit.1
> 
> 
> _______________________________________________
> win-pv-devel mailing list
> win-pv-devel@xxxxxxxxxxxxxxxxxxxx
> http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.