[PATCH v2 1/2] driver: xen-blkfront: move talk_to_blkback to a more suitable place

2015-05-21 Thread Bob Liu
The major responsibility of talk_to_blkback() is allocate and initialize the request ring and write the ring info to xenstore. But this work should be done after backend entered 'XenbusStateInitWait' as defined in the protocol file. See xen/include/public/io/blkif.h in XEN git tree: Front

Re: [PATCH v2 1/2] driver: xen-blkfront: move talk_to_blkback to a more suitable place

2015-05-21 Thread Roger Pau Monné
El 20/05/15 a les 15.10, Bob Liu ha escrit: > The major responsibility of talk_to_blkback() is allocate and initialize the > request ring and writes the ring info stuff out. ^ write ^ to xenstore. > But this work should be done after backend entered 'XenbusStateInitWa

[PATCH v2 1/2] driver: xen-blkfront: move talk_to_blkback to a more suitable place

2015-05-20 Thread Bob Liu
The major responsibility of talk_to_blkback() is allocate and initialize the request ring and writes the ring info stuff out. But this work should be done after backend entered 'XenbusStateInitWait' as defined in the protocol file. See xen/include/public/io/blkif.h in XEN git tree: Front