• Christoph Hellwig's avatar
    block: cleanup the block plug helper functions · 88b996cd
    Christoph Hellwig authored
    It's a bit of a mess currently. task->plug is being cleared
    and reset in __blk_finish_plug(), and blk_finish_plug() is
    testing for a NULL plug which cannot happen even from schedule()
    anymore since it uses blk_needs_flush_plug() to determine
    whether to call into this function at all.
    
    So get rid of some of the cruft.
    Signed-off-by: default avatarJens Axboe <jaxboe@fusionio.com>
    88b996cd
blk-core.c 72.6 KB