From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx2.suse.de ([195.135.220.15]:36836 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752403AbeBFLZL (ORCPT ); Tue, 6 Feb 2018 06:25:11 -0500 Subject: Re: [PATCH v5 06/10] bcache: add stop_when_cache_set_failed option to backing device To: Nix Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, Pavel Goran , Michael Lyle , Junhui Tang , Hannes Reinecke References: <20180206042100.65021-1-colyli@suse.de> <20180206042100.65021-7-colyli@suse.de> <87bmh25r49.fsf@esperi.org.uk> From: Coly Li Message-ID: <60c4c4b9-b377-e024-e005-9560b326dc5e@suse.de> Date: Tue, 6 Feb 2018 19:24:57 +0800 MIME-Version: 1.0 In-Reply-To: <87bmh25r49.fsf@esperi.org.uk> Content-Type: text/plain; charset=utf-8 Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org On 06/02/2018 6:50 PM, Nix wrote: > On 6 Feb 2018, Coly Li verbalised: >> diff --git a/drivers/md/bcache/bcache.h b/drivers/md/bcache/bcache.h >> index 7917b3820dd5..263164490833 100644 >> --- a/drivers/md/bcache/bcache.h >> +++ b/drivers/md/bcache/bcache.h >> @@ -287,6 +287,12 @@ struct io { >> sector_t last; >> }; >> >> +enum stop_on_faliure { > > failure? > >> + BCH_CACHED_DEV_STOP_ATUO = 0, > > AUTO? > >> + enum stop_on_faliure stop_when_cache_set_failed; > > (... and all uses would need changing too.) > Thanks for the errata, I just send a single update for this patch. Coly Li