aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartijn Coenen <maco@android.com>2020-05-13 15:38:38 +0200
committerJens Axboe <axboe@kernel.dk>2020-05-21 08:20:34 -0600
commit716ad0986cbd1d3b2ab3f6d23144a94638dac20b (patch)
tree6da8fb59b059b6dc1270a6f9a7e211cdeadd2d79 /tools/perf/scripts/python
parentloop: Factor out setting loop device size (diff)
downloadlinux-716ad0986cbd1d3b2ab3f6d23144a94638dac20b.tar.gz
linux-716ad0986cbd1d3b2ab3f6d23144a94638dac20b.zip
loop: Switch to set_capacity_revalidate_and_notify()
This was recently added to block/genhd.c, and takes care of both updating the capacity and notifying userspace of the new size. Signed-off-by: Martijn Coenen <maco@android.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions