Halil Pasic
3edd552472
virtio-blk: improve virtqueue error to BLK_STS
...
[ Upstream commit 3d973b2e9a625996ee997c7303cd793b9d197c65 ]
Let's change the mapping between virtqueue_add errors to BLK_STS
statuses, so that -ENOSPC, which indicates virtqueue full is still
mapped to BLK_STS_DEV_RESOURCE, but -ENOMEM which indicates non-device
specific resource outage is mapped to BLK_STS_RESOURCE.
Signed-off-by: Halil Pasic <pasic@linux.ibm.com>
Link: https://lore.kernel.org/r/20200213123728.61216-3-pasic@linux.ibm.com
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-04-29 16:33:05 +02:00
..
aoe
block: aoe: Fix kernel crash due to atomic sleep when exiting
2019-08-08 07:29:02 -06:00
drbd
block: drbd: remove a stray unlock in __drbd_send_protocol()
2019-11-08 06:55:22 -07:00
mtip32xx
paride
paride/pcd: need to check if cd->disk is null in pcd_detect
2019-09-04 07:04:37 -06:00
rsxx
rsxx: add missed destroy_workqueue calls in remove
2019-11-14 13:59:49 -07:00
xen-blkback
xen/blkback: Avoid unmapping unmapped grant pages
2020-01-09 10:20:07 +01:00
zram
drivers/block/zram/zram_drv.c: fix error return codes not being returned in writeback_store
2020-02-24 08:36:31 +01:00
amiflop.c
ataflop.c
ataflop: Mark expected switch fall-through
2019-07-29 15:24:58 -06:00
brd.c
brd: check and limit max_part par
2020-02-24 08:37:02 +01:00
cryptoloop.c
floppy.c
floppy: check FDC index for errors before assigning it
2020-02-28 17:22:14 +01:00
Kconfig
loop.c
loop: Better discard support for block devices
2020-04-29 16:33:01 +02:00
loop.h
Makefile
nbd.c
nbd: add a flush_workqueue in nbd_start_device
2020-02-24 08:36:31 +01:00
null_blk.h
null_blk: format pr_* logs with pr_fmt
2019-09-16 08:38:29 -06:00
null_blk_main.c
null_blk: fix spurious IO errors after failed past-wp access
2020-04-17 10:50:00 +02:00
null_blk_zoned.c
null_blk: Fix zoned command return code
2019-10-09 21:00:20 -06:00
pktcdvd.c
pktcdvd: remove warning on attempting to register non-passthrough dev
2019-09-22 10:01:05 -06:00
ps3disk.c
ps3vram.c
rbd.c
rbd: call rbd_dev_unprobe() after unwatching and flushing notifies
2020-04-23 10:36:27 +02:00
rbd_types.h
skd_main.c
skd_s1120.h
sunvdc.c
swim.c
swim3.c
swim_asm.S
sx8.c
umem.c
umem.h
virtio_blk.c
virtio-blk: improve virtqueue error to BLK_STS
2020-04-29 16:33:05 +02:00
xen-blkfront.c
xen/blkfront: fix memory allocation flags in blkfront_setup_indirect()
2020-04-17 10:50:22 +02:00
xsysace.c
z2ram.c