]> git.baikalelectronics.ru Git - kernel.git/commit
NVMe: Rate limit nvme IO warnings
authorKeith Busch <keith.busch@intel.com>
Thu, 11 Feb 2016 20:05:47 +0000 (13:05 -0700)
committerJens Axboe <axboe@fb.com>
Fri, 12 Feb 2016 15:10:31 +0000 (08:10 -0700)
commit8991e430f3f28c8b8e428306774be67ba7e2b8d8
treecbd94ed118904ddbcffc6b080043de479e98b2fb
parent58b99bd7f680c17dcea2cce2edcfd7fff0b99a01
NVMe: Rate limit nvme IO warnings

We don't need to spam the kernel logs with thousands of IO cancelling
messages. We can infer all IO's are being cancelled with fewer, or
even none at all. This patch rate limits the message and uses the debug
log level as it is mainly used for testing purposes.

Signed-off-by: Keith Busch <keith.busch@intel.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/nvme/host/pci.c