diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-11-16 17:57:09 +0300 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 18:34:14 +0300 |
| commit | 6e017a3931d7722260e3656a6fc9b02de5fb3c5d (patch) | |
| tree | 19290c8bed9d15ec2e9a31c165bc8fc1eddebf02 /tools/perf/scripts/python/net_dropmonitor.py | |
| parent | 230272b4f809d51c8b21d46dcec99f265b0842ec (diff) | |
| download | linux-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/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions
