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
  • fs
  • btrfs
  • dev-replace.c
Find file BlameHistoryPermalink
  • Christoph Hellwig's avatar
    btrfs: don't take a bio_counter reference for cloned bios · 2bbc72f1
    Christoph Hellwig authored Aug 06, 2022
    
    
    Stop grabbing an extra bio_counter reference for each clone bio in a
    mirrored write and instead just release the one original reference in
    btrfs_end_bioc once all the bios for a single btrfs_bio have completed
    instead of at the end of btrfs_submit_bio once all bios have been
    submitted.
    
    This means the reference is now carried by the "upper" btrfs_bio only
    instead of each lower bio.
    
    Also remove the now unused btrfs_bio_counter_inc_noblocked helper.
    
    Reviewed-by: default avatarNikolay Borisov <nborisov@suse.com>
    Reviewed-by: default avatarJohannes Thumshirn <johannes.thumshirn@wdc.com>
    Reviewed-by: default avatarAnand Jain <anand.jain@oracle.com>
    Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
    Signed-off-by: default avatarDavid Sterba <dsterba@suse.com>
    2bbc72f1
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7