All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Joe Thornber <ejt@redhat.com>,
	linux-raid@vger.kernel.org,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	dm-devel@redhat.com
Subject: Re: DM_CACHE_SMQ is experimental and enabled by default? (was: Re: dm cache: add stochastic-multi-queue (smq) policy)
Date: Fri, 26 Jun 2015 12:05:50 -0400	[thread overview]
Message-ID: <20150626160549.GA15434@redhat.com> (raw)
In-Reply-To: <CAMuHMdVfK8x8xXqaq=yX41qZA0L3VP-sezKfDureYMa-QqfM6g@mail.gmail.com>

On Fri, Jun 26 2015 at  3:47am -0400,
Geert Uytterhoeven <geert@linux-m68k.org> wrote:

> On Fri, Jun 26, 2015 at 2:13 AM, Linux Kernel Mailing List
> <linux-kernel@vger.kernel.org> wrote:
> > Gitweb:     http://git.kernel.org/linus/;a=commit;h=66a636356647a9be8885c2ce2948de126577698a
> > Commit:     66a636356647a9be8885c2ce2948de126577698a
> > Parent:     40775257b97e27305cf5c2425be7acaa6edee4ea
> > Refname:    refs/heads/master
> > Author:     Joe Thornber <ejt@redhat.com>
> > AuthorDate: Fri May 15 15:33:34 2015 +0100
> > Committer:  Mike Snitzer <snitzer@redhat.com>
> > CommitDate: Thu Jun 11 17:12:59 2015 -0400
> >
> >     dm cache: add stochastic-multi-queue (smq) policy
> 
> > diff --git a/drivers/md/Kconfig b/drivers/md/Kconfig
> > index edcf4ab..b597273 100644
> > --- a/drivers/md/Kconfig
> > +++ b/drivers/md/Kconfig
> > @@ -304,6 +304,18 @@ config DM_CACHE_MQ
> >           This is meant to be a general purpose policy.  It prioritises
> >           reads over writes.
> >
> > +config DM_CACHE_SMQ
> > +       tristate "Stochastic MQ Cache Policy (EXPERIMENTAL)"
> > +       depends on DM_CACHE
> > +       default y
> 
> A feature cannot be "EXPERIMENTAL", and be enabled by default.
> Please drop (at least) one of them.

Thanks for your concern, but: no.

If you look closer the entirety of DM cache is marked EXPERIMENTAL:

config DM_CACHE
       tristate "Cache target (EXPERIMENTAL)"
...
config DM_CACHE_MQ
       tristate "MQ Cache Policy (EXPERIMENTAL)"
...
config DM_CACHE_SMQ
       tristate "Stochastic MQ Cache Policy (EXPERIMENTAL)"
...
config DM_CACHE_CLEANER
       tristate "Cleaner Cache Policy (EXPERIMENTAL)"

  reply	other threads:[~2015-06-26 16:05 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-26  7:47 DM_CACHE_SMQ is experimental and enabled by default? (was: Re: dm cache: add stochastic-multi-queue (smq) policy) Geert Uytterhoeven
2015-06-26 16:05 ` Mike Snitzer [this message]
2015-07-01  7:25   ` Geert Uytterhoeven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20150626160549.GA15434@redhat.com \
    --to=snitzer@redhat.com \
    --cc=dm-devel@redhat.com \
    --cc=ejt@redhat.com \
    --cc=geert@linux-m68k.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.