]> 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)
commit9dac8acd0a87f21ef382bec3a01c26634f1c5acc
tree3869740b69b49283913409a14ffb2e9a92b88909
parent3af46858e7283beb72cef8169788361fcd58461e
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