commit | 6730b51f1d128910f628c43bb0d2fb655c7ceefe | [log] [tgz] |
---|---|---|
author | Jean-Philippe Brucker <jean-philippe.brucker@arm.com> | Thu Jan 10 14:12:47 2019 +0000 |
committer | Will Deacon <will.deacon@arm.com> | Tue Jan 22 06:55:26 2019 +0000 |
tree | 81ba2e86b44b140ba149945e05c7da7d4b3af5a6 | |
parent | 49bada437b7f24abebd98a14b2ed9a06dde8827e [diff] |
virtio/blk: Reset virtqueue Move pthread creation to init_vq, and kill the thread in exit_vq. Initialize the virtqueue states at runtime. All in-flight I/O is canceled with the virtqueue pthreads, except for AIO threads, but after reading the code I'm not sure if AIO has ever worked anyway. Signed-off-by: Jean-Philippe Brucker <jean-philippe.brucker@arm.com> Signed-off-by: Julien Thierry <julien.thierry@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>