diff options
author | Jan Kara <jack@suse.cz> | 2023-06-22 18:46:54 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-06-23 16:10:04 -0600 |
commit | abcc0cbd49283fccd20420e86416b2475b00819c (patch) | |
tree | 4606004eba851fafebe5258fe56bbc753b9d5c36 /tools/perf/scripts/python/task-analyzer.py | |
parent | c36591f6828b00f01e0b54ccacd603e55cdc45d0 (diff) |
bcache: Alloc holder object before async registration
Allocate holder object (cache or cached_dev) before offloading the
rest of the startup to async work. This will allow us to open the block
block device with proper holder.
Signed-off-by: Jan Kara <jack@suse.cz>
Acked-by: Coly Li <colyli@suse.de>
Reviewed-by: Kent Overstreet <kent.overstreet@linux.dev>
Link: https://lore.kernel.org/r/20230622164658.12861-1-jack@suse.cz
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions