From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: [PATCH 3/5] block: Provide blk_status_t decoding for retryable errors Date: Mon, 8 Jan 2018 10:58:01 +0100 Message-ID: <20180108095801.GE4673@lst.de> References: <20180104224623.8944-1-keith.busch@intel.com> <20180104224623.8944-4-keith.busch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20180104224623.8944-4-keith.busch@intel.com> Sender: linux-block-owner@vger.kernel.org To: Keith Busch Cc: Linux Block , Linux NVMe , Device Mapper , Christoph Hellwig , Mike Snitzer , Jens Axboe , Bart VanAssche , James Smart , "Martin K . Petersen" , Hannes Reinecke , Sagi Grimberg List-Id: dm-devel.ids > +static inline bool blk_retryable(blk_status_t error) The naming isn't really useful - it is about the fact that it's worth retrying on another path. So please chose a better name, and add a kerneldoc comment describing it. From mboxrd@z Thu Jan 1 00:00:00 1970 From: hch@lst.de (Christoph Hellwig) Date: Mon, 8 Jan 2018 10:58:01 +0100 Subject: [PATCH 3/5] block: Provide blk_status_t decoding for retryable errors In-Reply-To: <20180104224623.8944-4-keith.busch@intel.com> References: <20180104224623.8944-1-keith.busch@intel.com> <20180104224623.8944-4-keith.busch@intel.com> Message-ID: <20180108095801.GE4673@lst.de> > +static inline bool blk_retryable(blk_status_t error) The naming isn't really useful - it is about the fact that it's worth retrying on another path. So please chose a better name, and add a kerneldoc comment describing it.