Skip to content
  • Chris Mason's avatar
    Btrfs: do some plugging in the submit_bio threads · 211588ad
    Chris Mason authored
    
    
    The Btrfs submit bio threads have a small number of
    threads responsible for pushing down bios we've collected
    for a large number of devices.
    
    Since we do all the bios for a single device at once,
    we want to make sure we unplug and send down the bios
    for each device as we're done processing them.
    
    The new plugging API removed the btrfs code to
    unplug while processing bios, this adds it back with
    the new API.
    
    Signed-off-by: default avatarChris Mason <chris.mason@oracle.com>
    211588ad