diff options
author | 2020-11-16 15:57:05 +0100 | |
---|---|---|
committer | 2020-11-16 08:34:14 -0700 | |
commit | d17e66aadbe50b7207187d6b2293fc2ddaab2c99 (patch) | |
tree | 8f5477afb59652fa67976fa403617d7522488b38 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | pktcdvd: use set_capacity_and_notify (diff) | |
download | wireguard-linux-d17e66aadbe50b7207187d6b2293fc2ddaab2c99.tar.xz wireguard-linux-d17e66aadbe50b7207187d6b2293fc2ddaab2c99.zip |
nvme: use set_capacity_and_notify in nvme_set_queue_dying
Use the block layer helper to update both the disk and block device
sizes. Contrary to the name no notification is sent in this case,
as a size 0 is special cased.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions