]> git.baikalelectronics.ru Git - kernel.git/commit
loop: Use pr_warn_once() for loop_control_remove() warning
authorTetsuo Handa <penguin-kernel@i-love.sakura.ne.jp>
Mon, 29 Nov 2021 10:00:43 +0000 (19:00 +0900)
committerJens Axboe <axboe@kernel.dk>
Mon, 29 Nov 2021 13:44:45 +0000 (06:44 -0700)
commit22bfeb2609c502cc3efd088e6b838f997ddb8772
tree3869740b69b49283913409a14ffb2e9a92b88909
parent6ec0d1d669edc0ebcba2c6d94d94cf1c668d1e53
loop: Use pr_warn_once() for loop_control_remove() warning

kernel test robot reported that RCU stall via printk() flooding is
possible [1] when stress testing.

Link: https://lkml.kernel.org/r/20211129073709.GA18483@xsang-OptiPlex-9020
Reported-by: kernel test robot <oliver.sang@intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Tetsuo Handa <penguin-kernel@I-love.SAKURA.ne.jp>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
drivers/block/loop.c