[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200925161447.1486883-1-hch@lst.de>
Date: Fri, 25 Sep 2020 18:14:45 +0200
From: Christoph Hellwig <hch@....de>
To: Tejun Heo <tj@...nel.org>, Jens Axboe <axboe@...nel.dk>,
"Rafael J. Wysocki" <rjw@...ysocki.net>,
Pavel Machek <pavel@....cz>, Len Brown <len.brown@...el.com>,
Minho Ban <mhban@...sung.com>
Cc: cgroups@...r.kernel.org, linux-block@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org
Subject: RFC: sort out get_gendisk abuses
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.
Powered by blists - more mailing lists