• Jens Axboe's avatar
    block: kill swap_io_context() · 3bc217ff
    Jens Axboe authored
    It blindly copies everything in the io_context, including the lock.
    That doesn't work so well for either lock ordering or lockdep.
    
    There seems zero point in swapping io contexts on a request to request
    merge, so the best point of action is to just remove it.
    Signed-off-by: default avatarJens Axboe <jens.axboe@oracle.com>
    3bc217ff
blk-ioc.c 4.1 KB