From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from icebox.esperi.org.uk ([81.187.191.129]:58236 "EHLO mail.esperi.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752246AbeBFKuq (ORCPT ); Tue, 6 Feb 2018 05:50:46 -0500 From: Nix To: Coly Li Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org, Pavel Goran , Michael Lyle , Junhui Tang , Hannes Reinecke Subject: Re: [PATCH v5 06/10] bcache: add stop_when_cache_set_failed option to backing device References: <20180206042100.65021-1-colyli@suse.de> <20180206042100.65021-7-colyli@suse.de> Date: Tue, 06 Feb 2018 10:50:30 +0000 In-Reply-To: <20180206042100.65021-7-colyli@suse.de> (Coly Li's message of "Tue, 6 Feb 2018 12:20:56 +0800") Message-ID: <87bmh25r49.fsf@esperi.org.uk> MIME-Version: 1.0 Content-Type: text/plain Sender: linux-block-owner@vger.kernel.org List-Id: linux-block@vger.kernel.org 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.) -- NULL && (void)