From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: To: Jack Wang Cc: axboe@kernel.dk, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, elliott@hpe.com Subject: Re: [PATCH v2] block: ratelimite pr_err on IO path From: "Martin K. Petersen" References: <1523524915-25170-1-git-send-email-jinpu.wangl@profitbricks.com> Date: Thu, 12 Apr 2018 17:20:54 -0400 In-Reply-To: <1523524915-25170-1-git-send-email-jinpu.wangl@profitbricks.com> (Jack Wang's message of "Thu, 12 Apr 2018 11:21:55 +0200") Message-ID: MIME-Version: 1.0 Content-Type: text/plain List-ID: Jack, > + pr_err_ratelimited("%s: ref tag error at location %llu (rcvd %u)\n", I'm a bit concerned about dropping records of potential data loss. Also, what are you doing that compels all these to be logged? This should be a very rare occurrence. -- Martin K. Petersen Oracle Linux Engineering