aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/tasks.py
diff options
context:
space:
mode:
authorGuoqing Jiang <[email protected]>2021-06-03 17:21:06 +0800
committerSong Liu <[email protected]>2021-06-14 22:32:07 -0700
commitdaee2024715ddf430a069c0c4eab8417146934cf (patch)
treed5b09f67638c56454d5ad6aeca212b8d31181c85 /scripts/gdb/linux/tasks.py
parentc32dc04059c79ddb4f7cff94ad5de6e92ea2218d (diff)
md: check level before create and exit io_acct_set
The bio_set (io_acct_set) is used by personalities to clone bio and trace the timestamp of bio. Some personalities such as raid1/10 don't need the bio_set, so add check to not create it unconditionally. Also update the comment for md_account_bio to make it more clear. Suggested-by: Christoph Hellwig <[email protected]> Signed-off-by: Guoqing Jiang <[email protected]> Signed-off-by: Song Liu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions