Linux bcache driver list
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Coly Li <colyli@suse.de>
Cc: Christoph Hellwig <hch@lst.de>, linux-bcache@vger.kernel.org
Subject: Re: [PATCH 1/4] bcache: remove the cache_dev_name field from struct cache
Date: Mon, 18 Oct 2021 17:21:27 +0200	[thread overview]
Message-ID: <20211018152127.GA31195@lst.de> (raw)
In-Reply-To: <dc8601a6-21a5-3680-7489-1430d14788db@suse.de>

On Mon, Oct 18, 2021 at 10:26:18PM +0800, Coly Li wrote:
> On 10/18/21 2:09 PM, Christoph Hellwig wrote:
>> Just use the %pg format specifier to print the name directly.
>
> Hi  Christoph,
>
> NACK for this patch.  The buffer cache_dev_name is added on purpose, in 
> case ca->bdev cannot be referenced correctly for some special condition 
> when underlying device fails.

Where exactly?  ->bdev is never cleared and only dropped after we
waited for the I/O to complete.

  reply	other threads:[~2021-10-18 15:21 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-18  6:09 misc bcache cleanups Christoph Hellwig
2021-10-18  6:09 ` [PATCH 1/4] bcache: remove the cache_dev_name field from struct cache Christoph Hellwig
2021-10-18 14:26   ` Coly Li
2021-10-18 15:21     ` Christoph Hellwig [this message]
2021-10-18 15:32       ` Coly Li
2021-10-18 15:35         ` Christoph Hellwig
2021-10-18 15:38           ` Coly Li
2021-10-18  6:09 ` [PATCH 2/4] bcache: remove the backing_dev_name field from struct cached_dev Christoph Hellwig
2021-10-18 14:28   ` Coly Li
2021-10-18  6:09 ` [PATCH 3/4] bcache: use bvec_kmap_local in bch_data_verify Christoph Hellwig
2021-10-18 14:31   ` Coly Li
2021-10-18  6:09 ` [PATCH 4/4] bcache: remove bch_crc64_update Christoph Hellwig
2021-10-18 14:33   ` Coly Li
2021-10-18 14:34 ` misc bcache cleanups Coly Li
2021-10-19  5:31   ` Christoph Hellwig
2021-10-19  6:21     ` 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=20211018152127.GA31195@lst.de \
    --to=hch@lst.de \
    --cc=colyli@suse.de \
    --cc=linux-bcache@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