diff options
author | Ming Lei <ming.lei@redhat.com> | 2022-02-16 12:45:10 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-02-16 19:42:28 -0700 |
commit | 3f98c753717c600eb5708e9b78b3eba6664bddf1 (patch) | |
tree | a71629adf3e470acddd2d75da91766654ccad88b /kernel/ptrace.c | |
parent | 29ff23624e21c89d3321d6429dec8ad3847b534a (diff) | |
download | linux-3f98c753717c600eb5708e9b78b3eba6664bddf1.tar.gz linux-3f98c753717c600eb5708e9b78b3eba6664bddf1.tar.bz2 linux-3f98c753717c600eb5708e9b78b3eba6664bddf1.zip |
block: don't check bio in blk_throtl_dispatch_work_fn
The bio has been checked already before throttling, so no need to check
it again before dispatching it from throttle queue.
Add a helper of submit_bio_noacct_nocheck() for this purpose.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20220216044514.2903784-5-ming.lei@redhat.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'kernel/ptrace.c')
0 files changed, 0 insertions, 0 deletions