Received: by 10.213.65.68 with SMTP id h4csp2044389imn; Sun, 1 Apr 2018 23:07:43 -0700 (PDT) X-Google-Smtp-Source: AIpwx49L3ZXWtTKtOkGfWEQJE55gqTKnakto5VOr1m77M+gS45itg8qWSg3PFo/ICXsjWOHzseGc X-Received: by 10.98.87.7 with SMTP id l7mr6425721pfb.148.1522649263610; Sun, 01 Apr 2018 23:07:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1522649263; cv=none; d=google.com; s=arc-20160816; b=k6c7tFGmdTkgOtWAoHMYRjNhDCckyuX1ADb/MfYcUPDZpcN7V/LcOyUdJ7GE8hSvri XZzxLb9K8XVe6vNgV1jbdot38F7Ux6112RN0K5gVk7jZXEtFSf+fJsKV0h0e++d41JKy mxIRzzef7EpBuWAwpI40hxwZTJuoC2UuN3H0k/I0krZ0ck1fOmMK4cbNB1yocCEUqy+1 x04JYVoyGJ7s69NN+6t/4UXei5/dxe+cWgwyVWGTirTQ+PqBb5deJcuNbDBYZiUAaDRP suE/IG5DKw3Ai3ihCAq33XTSvPJF+XWdjRKjKsZ2MqAjl0hcKONIAQ8lj/uwARD9L7RC RmSw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:in-reply-to :mime-version:user-agent:date:message-id:from:cc:references:to :subject:arc-authentication-results; bh=tFxhrHzxtKzmcPvQcwE1hCnti89gZX8nmroAln4O7e4=; b=G04GCFzc4iUJ/rViCdHfHkpySSvPKNlUoNnZtr4oiXY0odAB1MmuGp9WaRJEt3psPK m5FkN1VcYkltzLdMSsKEd2F7PTegL4R/cUAlMriGBwjXR5LH8VmtsOYQOZPdVrveN0fZ u8uP2JrWydlKlegt6wRbHGTk4Wjh7VIVXlUegpj1TgNKn4sTIs20eUeFGWvlnN9jT9bq G6w3qBdyMTsaa55CxNNAhduyHFmBuF4NHQ7cSsK6j7FK5sEg67ZDJjQCBN3F2tMtjIQU vWrNbRZFkpcmK0pjj20fOc0fIuvvRdbFRqg0PXaHNRMmvUg9ssmQhUb4PpZ9jaqrwlSk zPVA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id bh5-v6si13524274plb.480.2018.04.01.23.07.29; Sun, 01 Apr 2018 23:07:43 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752018AbeDBGGY (ORCPT + 99 others); Mon, 2 Apr 2018 02:06:24 -0400 Received: from szxga06-in.huawei.com ([45.249.212.32]:47310 "EHLO huawei.com" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1751231AbeDBGGX (ORCPT ); Mon, 2 Apr 2018 02:06:23 -0400 Received: from DGGEMS402-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id A2A2042785AC4; Mon, 2 Apr 2018 14:06:19 +0800 (CST) Received: from [127.0.0.1] (10.177.96.203) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.361.1; Mon, 2 Apr 2018 14:06:19 +0800 Subject: =?UTF-8?Q?Re:_=e7=ad=94=e5=a4=8d:_Re:_[PATCH_v2]_scsi:_Introduce_sd?= =?UTF-8?Q?ev=5fprintk=5fratelimited_to_throttlefrequent_printk?= To: References: 1522634332-151328-1-git-send-email-wen.yang99@zte.com.cn 5AC1976F.1040801@huawei.com <201804021314481872986@zte.com.cn> CC: , , , , , , , , , , From: Jason Yan Message-ID: <5AC1C85B.4010804@huawei.com> Date: Mon, 2 Apr 2018 14:06:19 +0800 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <201804021314481872986@zte.com.cn> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.177.96.203] X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018/4/2 13:14, wen.yang99@zte.com.cn 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.