diff options
| author | Christoph Hellwig <hch@lst.de> | 2020-11-16 15:57:01 +0100 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2020-11-16 08:34:14 -0700 |
| commit | 2ebcabf3dba50f61850efec9a331bd061c6333e0 (patch) | |
| tree | 580d924fb6bc06d1dd94d7fd6cc3d900bc7cd886 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | nbd: validate the block size in nbd_set_size (diff) | |
| download | linux-2ebcabf3dba50f61850efec9a331bd061c6333e0.tar.gz linux-2ebcabf3dba50f61850efec9a331bd061c6333e0.zip | |
nbd: use set_capacity_and_notify
Use set_capacity_and_notify to update the disk and block device sizes and
send a RESIZE uevent to userspace. Note that blktests relies on uevents
being sent also for updates that did not change the device size, so the
explicit kobject_uevent remains for that case.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Josef Bacik <josef@toxicpanda.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
