aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2018-06-27 19:55:18 +0000
committerJens Axboe <[email protected]>2018-06-28 15:51:30 +0000
commit297ba57dcdec7ea37e702bcf1a577ac32a034e21 (patch)
tree5a3d287ce53462625a831f60d2354592e44186df /drivers/gpu/drm/amd/amdgpu/amdgpu_test.c
parentblock: Fix transfer when chunk sectors exceeds max (diff)
downloadkernel-297ba57dcdec7ea37e702bcf1a577ac32a034e21.tar.gz
kernel-297ba57dcdec7ea37e702bcf1a577ac32a034e21.zip
block: Fix cloning of requests with a special payload
This patch avoids that removing a path controlled by the dm-mpath driver while mkfs is running triggers the following kernel bug: kernel BUG at block/blk-core.c:3347! invalid opcode: 0000 [#1] PREEMPT SMP KASAN CPU: 20 PID: 24369 Comm: mkfs.ext4 Not tainted 4.18.0-rc1-dbg+ #2 RIP: 0010:blk_end_request_all+0x68/0x70 Call Trace: <IRQ> dm_softirq_done+0x326/0x3d0 [dm_mod] blk_done_softirq+0x19b/0x1e0 __do_softirq+0x128/0x60d irq_exit+0x100/0x110 smp_call_function_single_interrupt+0x90/0x330 call_function_single_interrupt+0xf/0x20 </IRQ> Fixes: f9d03f96b988 ("block: improve handling of the magic discard payload") Reviewed-by: Ming Lei <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Acked-by: Mike Snitzer <[email protected]> Signed-off-by: Bart Van Assche <[email protected]> Cc: Hannes Reinecke <[email protected]> Cc: Johannes Thumshirn <[email protected]> Cc: <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_test.c')
0 files changed, 0 insertions, 0 deletions