All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zdenek Kabelac <zkabelac@fedoraproject.org>
To: lvm-devel@redhat.com
Subject: master - deactivate: drop readahead calc in deactivation
Date: Sat,  7 Sep 2013 07:20:02 +0000 (UTC)	[thread overview]
Message-ID: <20130907072002.44F696107C@fedorahosted.org> (raw)

Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f5832d8c49bfe96d0162d1b59125a169117c52b2
Commit:        f5832d8c49bfe96d0162d1b59125a169117c52b2
Parent:        0670bfeb5942508c3d2e2573a50980f82abe1bcf
Author:        Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate:    Sat Sep 7 02:48:19 2013 +0200
Committer:     Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Sat Sep 7 09:13:20 2013 +0200

deactivate: drop readahead calc in deactivation

Skip readahead when device will be deactivated.
---
 WHATS_NEW               |    1 +
 lib/activate/activate.c |    2 --
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/WHATS_NEW b/WHATS_NEW
index 342f15b..b1060af 100644
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -1,5 +1,6 @@
 Version 2.02.101 - 
 ===================================
+  Drop calculation of read ahead for deactivated volume.
   Check for exactly one lv segment in validation of thin pools and volumes.
   Fix dmeventd unmonitoring of thin pools.
   Fix lvresize for stacked thin pool volumes (i.e. mirrors).
diff --git a/lib/activate/activate.c b/lib/activate/activate.c
index 1706ae5..e5033c6 100644
--- a/lib/activate/activate.c
+++ b/lib/activate/activate.c
@@ -1947,8 +1947,6 @@ int lv_deactivate(struct cmd_context *cmd, const char *lvid_s, struct logical_vo
 	if (!lv_read_replicator_vgs(lv))
 		goto_out;
 
-	lv_calculate_readahead(lv, NULL);
-
 	if (!monitor_dev_for_events(cmd, lv, &laopts, 0))
 		stack;
 



                 reply	other threads:[~2013-09-07  7:20 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20130907072002.44F696107C@fedorahosted.org \
    --to=zkabelac@fedoraproject.org \
    --cc=lvm-devel@redhat.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.