virtio_blk: quiesce/unquiesce live IO when entering PM states
authorSagi Grimberg <sagi@grimberg.me>
Tue, 4 Jul 2017 07:03:03 +0000 (10:03 +0300)
committerSagi Grimberg <sagi@grimberg.me>
Thu, 6 Jul 2017 06:49:34 +0000 (09:49 +0300)
commit9b3e99058453399b506087b3ac99d67a80343333
tree300511d16ca704e16143cf301d44313547fb9bba
parent436c15ab6596b12cfee7618ecaa69a4341ac3c51
virtio_blk: quiesce/unquiesce live IO when entering PM states

Without it its not guaranteed that no .queue_rq is inflight.

Reviewed-by: Ming Lei <ming.lei@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Cc: virtio-dev@lists.oasis-open.org
Cc: Jason Wang <jasowang@redhat.com>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
drivers/block/virtio_blk.c