Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • block
  • blk-core.c
Find file BlameHistoryPermalink
  • Bart Van Assche's avatar
    block: Fix cloning of requests with a special payload · 297ba57d
    Bart Van Assche authored Jun 27, 2018
    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: f9d03f96
    
     ("block: improve handling of the magic discard payload")
    Reviewed-by: default avatarMing Lei <ming.lei@redhat.com>
    Reviewed-by: default avatarChristoph Hellwig <hch@lst.de>
    Acked-by: default avatarMike Snitzer <snitzer@redhat.com>
    Signed-off-by: default avatarBart Van Assche <bart.vanassche@wdc.com>
    Cc: Hannes Reinecke <hare@suse.com>
    Cc: Johannes Thumshirn <jthumshirn@suse.de>
    Cc: <stable@vger.kernel.org>
    Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
    297ba57d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7