Skip to content
  • Mike Snitzer's avatar
    dm thin: use per thin device deferred bio lists · c140e1c4
    Mike Snitzer authored
    
    
    The thin-pool previously only had a single deferred_bios list that would
    collect bios for all thin devices in the pool.  Split this per-pool
    deferred_bios list out to per-thin deferred_bios_list -- doing so
    enables increased parallelism when processing deferred bios.  And now
    that each thin device has it's own deferred_bios_list we can sort all
    bios in the list using logical sector.  The requeue code in error
    handling path is also cleaner as a side-effect.
    
    Signed-off-by: default avatarMike Snitzer <snitzer@redhat.com>
    Acked-by: default avatarJoe Thornber <ejt@redhat.com>
    c140e1c4