All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@infradead.org>
To: Joe Thornber <thornber@redhat.com>
Cc: Christoph Hellwig <hch@infradead.org>,
	device-mapper development <dm-devel@redhat.com>,
	ejt@redhat.com
Subject: Re: [PATCH] dm-thinp: report correct optimal I/O size
Date: Thu, 28 Apr 2011 04:49:07 -0400	[thread overview]
Message-ID: <20110428084907.GA10252@infradead.org> (raw)
In-Reply-To: <1303980453.2483.2.camel@ubuntu>

On Thu, Apr 28, 2011 at 09:47:33AM +0100, Joe Thornber wrote:
> I'm tempted to just say min(16M, tc->block_size << SECTOR_SHIFT).  Does
> this sound reasonable to you?

If you have a good reason for the limit go for it.  But please add a
comment explaining why the limit is there, so people running into it
later on won't be completely puzzled.

      reply	other threads:[~2011-04-28  8:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-27 13:41 [PATCH] dm-thinp: report correct optimal I/O size Christoph Hellwig
2011-04-27 17:25 ` Joe Thornber
2011-04-28  8:42   ` Christoph Hellwig
2011-04-28  8:47     ` Joe Thornber
2011-04-28  8:49       ` Christoph Hellwig [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=20110428084907.GA10252@infradead.org \
    --to=hch@infradead.org \
    --cc=dm-devel@redhat.com \
    --cc=ejt@redhat.com \
    --cc=thornber@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.