linux-bcache.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Coly Li <colyli@suse.de>,
	Kent Overstreet <kent.overstreet@linux.dev>,
	 Christoph Hellwig <hch@lst.de>
Cc: linux-bcache@vger.kernel.org, linux-block@vger.kernel.org
Subject: Re: [PATCH] bcache: move calculation of stripe_size and io_opt into bcache_device_init
Date: Wed, 06 Mar 2024 08:35:37 -0700	[thread overview]
Message-ID: <170973933779.23995.9027032366565112081.b4-ty@kernel.dk> (raw)
In-Reply-To: <20240226104826.283067-2-hch@lst.de>


On Mon, 26 Feb 2024 11:48:26 +0100, Christoph Hellwig wrote:
> bcache currently calculates the stripe size for the non-cached_dev
> case directly in bcache_device_init, but for the cached_dev case it does
> it in the caller.  Consolidate it in one places, which also enables
> setting the io_opt queue_limit before allocating the gendisk so that it
> can be passed in instead of changing the limit just after the allocation.
> 
> 
> [...]

Applied, thanks!

[1/1] bcache: move calculation of stripe_size and io_opt into bcache_device_init
      commit: 34a2cf3fbef17deee2d4d28c41e3cb8ac1929fda

Best regards,
-- 
Jens Axboe




  parent reply	other threads:[~2024-03-06 15:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-02-26 10:48 bcache queue limit cleanups Christoph Hellwig
2024-02-26 10:48 ` [PATCH] bcache: move calculation of stripe_size and io_opt into bcache_device_init Christoph Hellwig
2024-03-03 16:33   ` Coly Li
2024-03-06 15:35   ` Jens Axboe [this message]
2024-03-03 15:12 ` bcache queue limit cleanups Christoph Hellwig
2024-03-03 16:35   ` Coly Li

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=170973933779.23995.9027032366565112081.b4-ty@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=colyli@suse.de \
    --cc=hch@lst.de \
    --cc=kent.overstreet@linux.dev \
    --cc=linux-bcache@vger.kernel.org \
    --cc=linux-block@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).