Re: çå: Re: [PATCH v2] scsi: Introduce sdev_printk_ratelimited to throttlefrequent printk

From: Jason Yan
Date: Mon Apr 02 2018 - 02:06:30 EST




On 2018/4/2 13:14, wen.yang99@xxxxxxxxxx wrote:
Hello,

> It's true that this print for the same device is useless. But it's

> useful for different devices. Is it possible to limit the print only

> for the same device?


In our scene, it's just for the same device (q->queuedata), Thanks.


I mean the print limit you add will affect all devices. One device's print *may* cause another device's print limited even if it only printed one message.