]> xenbits.xensource.com Git - pvdrivers/win/xenvbd.git/commit
Call BlkifRing(Acquire/Release)Lock before/after BlkifRingPoll
authorOwen Smith <owen.smith@citrix.com>
Mon, 21 Jun 2021 12:54:45 +0000 (13:54 +0100)
committerPaul Durrant <pdurrant@amazon.com>
Mon, 21 Jun 2021 13:32:06 +0000 (14:32 +0100)
commit0ece74015a1e16e3d1376fa482957a39c5418353
tree644f24873cb2af6999bfcbf4cf9836f6f1996683
parent5890e83b049a57c1004115ae5a66a181d89c8132
Call BlkifRing(Acquire/Release)Lock before/after BlkifRingPoll

Releasing the blkif ring lock drains the atomic SRB list into the queue. When
attempting to move things along, this also includes the atomic SRB list.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
src/xenvbd/ring.c