All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jens Axboe <axboe@kernel.dk>
To: Christoph Hellwig <hch@infradead.org>
Cc: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>
Subject: Re: [PATCH] block: avoid clearing blk_mq_alloc_data unnecessarily
Date: Mon, 6 Dec 2021 09:34:06 -0700	[thread overview]
Message-ID: <55daad21-0da7-d6ab-cdc9-3f8f509ec91a@kernel.dk> (raw)
In-Reply-To: <Ya20vUb8cldTe4kI@infradead.org>

On 12/5/21 11:59 PM, Christoph Hellwig wrote:
> On Fri, Dec 03, 2021 at 08:48:09AM -0700, Jens Axboe wrote:
>> We already set almost all of what we need here, just the non-plug
>> path needs to set nr_tags and clear cached.
> 
> How does this avoid clearing?  All partial initializers zero the rest of
> the structure.

Yep this is garbage, I'll just drop it.

-- 
Jens Axboe


      reply	other threads:[~2021-12-06 16:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-03 15:48 [PATCH] block: avoid clearing blk_mq_alloc_data unnecessarily Jens Axboe
2021-12-06  6:59 ` Christoph Hellwig
2021-12-06 16:34   ` Jens Axboe [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=55daad21-0da7-d6ab-cdc9-3f8f509ec91a@kernel.dk \
    --to=axboe@kernel.dk \
    --cc=hch@infradead.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 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.