Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933947AbeAKUWw (ORCPT + 1 other); Thu, 11 Jan 2018 15:22:52 -0500 Received: from a8-57.smtp-out.amazonses.com ([54.240.8.57]:47814 "EHLO a8-57.smtp-out.amazonses.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933043AbeAKUWt (ORCPT ); Thu, 11 Jan 2018 15:22:49 -0500 Date: Thu, 11 Jan 2018 20:22:48 +0000 From: Jeremy Cline To: "Martin K. Petersen" Cc: "James E . J . Bottomley" , linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] scsi: sd: Use warn for logs about no caching info Message-ID: <01000160e6e3a905-df1c1554-dde2-41c1-8095-eb58a4ba3a75-000000@email.amazonses.com> References: <010001607ad7197e-2f933a99-5ecd-4245-acd8-acfe3e3bdf9a-000000@email.amazonses.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) X-SES-Outgoing: 2018.01.11-54.240.8.57 Feedback-ID: 1.us-east-1.z18Isoc/FaoPOvCyJyi1mnTt8STwoRuibXVNoUcvG6g=:AmazonSES Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On Wed, Jan 03, 2018 at 10:50:29PM -0500, Martin K. Petersen wrote: > > Hi Jeremy, > > > When no caching mode information can be found for a disk, use the > > warning log level rather than error. It is common for this to occur > > with cheap USB sticks. > > Just because something is common occurrence doesn't mean it's not an > error. What's the rationale behind demoting this to a warning? That's true, that's not a particularly compelling reason. My rationale is that in this case when it can't find the cache info it drops back to sane defaults and works fine. It's certainly something to note, but I wouldn't describe it as an "error condition". Regards, Jeremy