Linux bcache driver list
 help / color / mirror / Atom feed
From: Kent Overstreet <koverstreet-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
To: Joseph Glanville
	<joseph.glanville-2MxvZkOi9dvvnOemgxGiVw@public.gmane.org>
Cc: James Harper
	<james.harper-NMzNsA1hOHcW+bLBXbPJGg@public.gmane.org>,
	"xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org"
	<xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.org>,
	"linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: [Xen-devel] blkback and bcache
Date: Wed, 15 Aug 2012 13:04:18 -0700	[thread overview]
Message-ID: <20120815200418.GA2758@google.com> (raw)
In-Reply-To: <CAOzFzEitP95cy4LKJD+H1ffBLP_OjxWPTYCEd=XNkb-i5Mz39w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

On Wed, Aug 15, 2012 at 10:40:08PM +1000, Joseph Glanville wrote:
> Hi James, Kent.
> 
> I can confirm this is the issue I was seeing, thanks for locating the
> blkback issue!

Cool!

> Is there anything xen-devel should be doing about this? I wouldn't
> expect blkback to care about block size...

Well, I wouldn't be surprised if Windows doesn't work on a device with
block size > 512 bytes. But Linux (ext4 at least) certaintly does work
with 4k blocks - unless maybe it was breaking on something in the boot
process?

So it sounds like this might be indicative of a bug in blkback.

> Joseph.
> 
> On 14 August 2012 09:30, James Harper <james.harper-NMzNsA1hOHcW+bLBXbPJGg@public.gmane.org> wrote:
> >>
> >> Just mentioned this in the other thread, but if this is due to the 4k blocksize -
> >> that's easy to fix: just format with 512 byte blocksize
> >>
> >> make-bcache --block 512
> >>
> >> Maybe I should change the default.
> >
> > I suggest making the default 512, but also print a warning if the user didn't explicitly set it,eg "Block size not set - defaulting to 512 bytes"
> >
> > James
> > --
> > To unsubscribe from this list: send the line "unsubscribe linux-bcache" in
> > the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
> > More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 
> 
> 
> -- 
> CTO | Orion Virtualisation Solutions | www.orionvm.com.au
> Phone: 1300 56 99 52 | Mobile: 0428 754 846

  parent reply	other threads:[~2012-08-15 20:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <6035A0D088A63A46850C3988ED045A4B299F67FA@BITCOM1.int.sbss.com.au>
     [not found] ` <6035A0D088A63A46850C3988ED045A4B299F67FA-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2012-08-13  7:35   ` [Xen-devel] blkback and bcache Joseph Glanville
     [not found]     ` <CAOzFzEhna3CaBE28aHVX_ZoNLDEa6AhArHPcB9240Ni4jh9PYA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-13  8:17       ` James Harper
     [not found]         ` <6035A0D088A63A46850C3988ED045A4B299F6A9B-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2012-08-13 10:53           ` Joseph Glanville
     [not found]             ` <CAOzFzEhF+Pb89PNoibBc-9_Db6OUiyG5R8mKkAPi5pns4+CsAg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-13 21:34               ` Kent Overstreet
     [not found]                 ` <20120813213455.GC6887-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-08-13 23:30                   ` James Harper
     [not found]                     ` <6035A0D088A63A46850C3988ED045A4B299F80E1-mzsoxcrO4/2UD0RQwgcqbDSf8X3wrgjD@public.gmane.org>
2012-08-15 12:40                       ` Joseph Glanville
     [not found]                         ` <CAOzFzEitP95cy4LKJD+H1ffBLP_OjxWPTYCEd=XNkb-i5Mz39w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-08-15 20:04                           ` Kent Overstreet [this message]
     [not found]                             ` <20120815200418.GA2758-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>
2012-08-15 23:48                               ` James Harper

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=20120815200418.GA2758@google.com \
    --to=koverstreet-hpiqsd4aklfqt0dzr+alfa@public.gmane.org \
    --cc=james.harper-NMzNsA1hOHcW+bLBXbPJGg@public.gmane.org \
    --cc=joseph.glanville-2MxvZkOi9dvvnOemgxGiVw@public.gmane.org \
    --cc=linux-bcache-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=xen-devel-GuqFBffKawuEi8DpZVb4nw@public.gmane.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox