-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
virtio-blk ZC blocks #40
Comments
Possibly related:
https://listman.redhat.com/archives/virtio-fs/2021-October/004353.html So it may be possible that we are returning a page in |
Currently checking if I can reproduce on native- will update comment UPDATE: cannot reproduce on native. Hence, it must be an SEV specific issue. |
For SEV, this completely blocks the dm-crypt mapper target; calling e.g. Noteworthy, writes to the underlying disk itself, which go through the same virtual device, do not block. Hence: there is probably a deadlock inside dm-crypt. |
I reproduced the error again while watching dmesg, got a similar error as in #41 again; see err message bellow.
|
As mentioned in #41 (comment) , I am currently seeing if running w/ 1 vCPU reproduces issue. Will update comment. NOTE: already had the error of #40 (comment) occur ; even w/ only one vCPU CONFIRMED: error occurs w/ 1 vCPU- so it is not a deadlock. |
As current design is agnostic of driver, will see if same bug occurs w/ nvme driver. |
Just ran it w/ nvme driver- also hangs right away. |
tried setting numjobs for the breaking iops job to 1; still breaks |
also breaks dm-layer got interesting error this time (qemu):
Update: setting io_depth to 1 makes it work - however, setting numjobs to 4 again makes it break again |
This configuration again works???
NOTE: doesn't work with bs=4K |
reproduce:
just start-sev-vm-virtio-blk cryptsetup open /dev/vdb target fio --filename=/dev/mapper/target --name='bw' blk-bm.fio
err:
may be related with removing
BUG_ON
(see gitlab linux repo commit ) #41The text was updated successfully, but these errors were encountered: