diff options
author | Christoph Hellwig <hch@lst.de> | 2020-04-14 09:28:59 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-04-20 11:32:59 -0600 |
commit | e669c1da03a9dde0e7d43852a5b6ade8312e8701 (patch) | |
tree | 4395c31495eb199ae168dfed3300864a3120271b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 21be6cdc00954b5e5e5842b69ec8e83fb3cb0816 (diff) |
block: don't call invalidate_partition from blk_drop_partitions
Given that the device must not be busy, most of the calls from
invalidate_partition that are related to file system metadata are
guranteed to not happen. Just open code the calls to sync_blockdev
and invalidate_bdev instead.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions