All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Teigland <teigland@sourceware.org>
To: lvm-devel@redhat.com
Subject: master - scan: use 128K bcache block size
Date: Mon, 23 Apr 2018 09:54:36 -0400	[thread overview]
Message-ID: <201804231354.w3NDsaKM001493@lists01.pubmisc.prod.ext.phx2.redhat.com> (raw)

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=b504bb809efa8a3a4db0e494bb80d3720d82e6ff
Commit:        b504bb809efa8a3a4db0e494bb80d3720d82e6ff
Parent:        ae093df3f15f6d125bf85ed921e5a971b170dc23
Author:        David Teigland <teigland@redhat.com>
AuthorDate:    Thu Feb 15 10:27:43 2018 -0600
Committer:     David Teigland <teigland@redhat.com>
CommitterDate: Fri Apr 20 11:22:46 2018 -0500

scan: use 128K bcache block size

---
 lib/label/label.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/label/label.c b/lib/label/label.c
index dc14beb..38db733 100644
--- a/lib/label/label.c
+++ b/lib/label/label.c
@@ -253,7 +253,7 @@ struct label *label_create(struct labeller *labeller)
 /* global variable for accessing the bcache populated by label scan */
 struct bcache *scan_bcache;
 
-#define BCACHE_BLOCK_SIZE_IN_SECTORS 2048 /* 1MB */
+#define BCACHE_BLOCK_SIZE_IN_SECTORS 256 /* 256*512 = 128K */
 
 static bool _in_bcache(struct device *dev)
 {



             reply	other threads:[~2018-04-23 13:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-23 13:54 David Teigland [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-04-23 13:50 master - scan: use 128K bcache block size David Teigland

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=201804231354.w3NDsaKM001493@lists01.pubmisc.prod.ext.phx2.redhat.com \
    --to=teigland@sourceware.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.