lkml.org 
[lkml]   [2020]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRFC: sort out get_gendisk abuses
    Date
    Hi all,

    this series tries to remove two abuses of the get_gendisk API.
    The first one is fairly straigt forward and switched the blk-cgroup
    configuration API to properly open the block device, but I'd love to see
    it reviewed and tested by the cgroup maintainers, as I don't really know
    how this code is actually used.

    The other one in the hibernation code really puzzles me - it busy loops
    on the gendisk lookup, just to leak a reference when it finally succeeds
    and then doesn't actually do anything with the result. My proposal for
    now is to simply revert the offending change, but better proposals are
    welcome.

    \
     
     \ /
      Last update: 2020-09-25 18:15    [W:5.457 / U:0.012 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site