diff options
author | Christoph Hellwig <[email protected]> | 2020-11-23 10:19:22 +0100 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-12-01 14:53:39 -0700 |
commit | 5b56b6ed574b583b07da9d824c1eca6d67c1074e (patch) | |
tree | adf38195b9fe9213aa0c621e328b9a0cb4e1e721 /tools/perf/scripts/python/stackcollapse.py | |
parent | ec5d451438a2f24c9b9c33c195bc2c39dcd3d3f0 (diff) |
block: refactor blkdev_get
Move more code that is only run on the outer open but not the open of
the underlying whole device when opening a partition into blkdev_get,
which leads to a much easier to follow structure.
This allows to simplify the disk and module refcounting so that one
reference is held for each open, similar to what we do with normal
file operations.
Signed-off-by: Christoph Hellwig <[email protected]>
Acked-by: Tejun Heo <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions