Re: [PATCH v3 RFC 2/4] virtio_blk: avoid further request queueing on device loss

2013-12-03 Thread Rusty Russell
Heinz Graalfs writes: > Code is added to the remove callback to verify if a device was lost. > > In case of a device loss further request queueing should be prevented > by setting appropriate queue flags prior to invoking del_gendisk(). > Blocking of request queueing leads to appropriate I/O error

[PATCH v3 RFC 2/4] virtio_blk: avoid further request queueing on device loss

2013-11-27 Thread Heinz Graalfs
Code is added to the remove callback to verify if a device was lost. In case of a device loss further request queueing should be prevented by setting appropriate queue flags prior to invoking del_gendisk(). Blocking of request queueing leads to appropriate I/O errors when data are tried to be sync