On 11/28/2017 07:10 AM, Denis V. Lunev wrote: > There are 2 cases I have spotted so far: > 1) IDE ATAPI read processing. Actually this was reported from field > 2) QEMU IO hmp command (found during evaluation of (1)) > > SCSI code checks during access that blk_is_available(). These patches add > same checks on different code paths. > > Pls decide whether these patches should go through sub-system trees or via > block tree. > > Signed-off-by: Denis V. Lunev <d...@openvz.org> > CC: "Dr. David Alan Gilbert" <dgilb...@redhat.com> > CC: John Snow <js...@redhat.com> > CC: Kevin Wolf <kw...@redhat.com> > CC: Stefan Hajnoczi <stefa...@redhat.com> > >
Denis, I was never able to figure this out, but Stefan added a more rigorous block-wide fix that should prevent these crashes. If you see any anomalies in the ATAPI device again please let me know. Sorry I wasn't able to help any faster.