BIO errors to local scsi targets via scst_local atop ZVOLs, related to #4042 #4097
Labels
Component: ZVOL
ZFS Volumes
Status: Inactive
Not being actively updated
Status: Stale
No recent activity for issue
Type: Defect
Incorrect behavior (e.g. crash, hang)
While trying to address #4042 by being clever, i created scst_local handlers and targets for my ZVOLs. And in local testing this worked like a charm - write performance almost doubled (seems to eliminate jitter and provides the numbers i'd expect from a 5SSD RAIDZ, 800/200 linear/random write). However, soon as i mapped these exports into libvirt as virtio-scsi luns (instead of disks) i got this wonderful stack trace from scst:
To my untrained eye, this looks to be coming from scsi_kmap_atomic_sg which makes me think we may have a problem on our end.
Mapping a physical disk this way works.
If i can get this solved, we wont need any of the top/bottom scsi handler discussions anymore as we'll just be able to use the scst_local_tgt and tcm_local (LIO) interfaces for that work, leaving it up to the scsi subsystem of choice.
Only thing i can think of is that the virtio-scsi driver doesnt like my 8K block size, so i'll try with 4, or to try parameters allowing me to remap the blocksize (though i think that requires the disk abstraction, and wont work in lun mode).
The text was updated successfully, but these errors were encountered: