summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-11-16 17:57:09 +0300
committerJens Axboe <axboe@kernel.dk>2020-11-16 18:34:14 +0300
commit6e017a3931d7722260e3656a6fc9b02de5fb3c5d (patch)
tree19290c8bed9d15ec2e9a31c165bc8fc1eddebf02 /tools/perf/scripts/python
parent230272b4f809d51c8b21d46dcec99f265b0842ec (diff)
downloadlinux-6e017a3931d7722260e3656a6fc9b02de5fb3c5d.tar.xz
zram: use set_capacity_and_notify
Use set_capacity_and_notify to set the size of both the disk and block device. This also gets the uevent notifications for the resize for free. Signed-off-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