All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Jens Axboe <axboe@kernel.dk>
Cc: Jinlong Chen <nickyc975@zju.edu.cn>, linux-block@vger.kernel.org
Subject: elevator refcount fixes
Date: Thu, 20 Oct 2022 08:48:15 +0200	[thread overview]
Message-ID: <20221020064819.1469928-1-hch@lst.de> (raw)

Hi Jens,

this series is a take on the elevator refcount fixes from Jinlong.
I've added a cleanup patch, and one that improves on one of the incidental
fixes he did, as well as splitting the main patch into two and improving
some comments.

Diffstat:
 blk-mq-sched.c |    1 +
 blk-mq.c       |   13 ++++---------
 elevator.c     |   43 +++++++++++++++++++------------------------
 elevator.h     |   15 +++++++++++++++
 4 files changed, 39 insertions(+), 33 deletions(-)

             reply	other threads:[~2022-10-20  6:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-20  6:48 Christoph Hellwig [this message]
2022-10-20  6:48 ` [PATCH 1/4] block: add proper helpers for elevator_type module refcount management Christoph Hellwig
2022-10-20  6:48 ` [PATCH 2/4] block: sanitize the elevator name before passing it to __elevator_change Christoph Hellwig
2022-10-20  6:48 ` [PATCH 3/4] block: check for an unchanged elevator earlier in __elevator_change Christoph Hellwig
2022-10-20  6:48 ` [PATCH 4/4] block: fix up elevator_type refcounting Christoph Hellwig
2022-10-20  8:34 ` elevator refcount fixes Jinlong Chen
2022-10-23  3:05 ` Jens Axboe

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=20221020064819.1469928-1-hch@lst.de \
    --to=hch@lst.de \
    --cc=axboe@kernel.dk \
    --cc=linux-block@vger.kernel.org \
    --cc=nickyc975@zju.edu.cn \
    /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.