All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Snitzer <snitzer@redhat.com>
To: nikhil <nkshirsagar@gmail.com>
Cc: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] persistent value of tunables for dmsetup --target=cache ?
Date: Wed, 22 Apr 2015 10:25:15 -0400	[thread overview]
Message-ID: <20150422142515.GA4468@redhat.com> (raw)
In-Reply-To: <55376E51.2040400@redhat.com>

On Wed, Apr 22 2015 at  5:48am -0400,
Zdenek Kabelac <zkabelac@redhat.com> wrote:

> Dne 21.4.2015 v 10:58 nikhil napsal(a):
> >Hello,
> >
> >how do I ensure that the tunable (for eg. dmsetup message vg02-jetcache_lv 0
> >write_promote_adjustment 0) will remain the same value even after reboot?
> >
> >Seems like the tunables values reset to earlier values upon reboot of the
> >machine.
> >
> >Help! :)
> 
> 
> By using them, when you create/load  dm table for your cache target.

Best to use lvm2 to create/configure/tune dm-cache.  Otherwise, if
you're just using the dmsetup interface directly you won't have your
tunings persist.

      reply	other threads:[~2015-04-22 14:25 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-21  8:58 [linux-lvm] persistent value of tunables for dmsetup --target=cache ? nikhil
2015-04-22  9:48 ` Zdenek Kabelac
2015-04-22 14:25   ` Mike Snitzer [this message]

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=20150422142515.GA4468@redhat.com \
    --to=snitzer@redhat.com \
    --cc=linux-lvm@redhat.com \
    --cc=nkshirsagar@gmail.com \
    /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.