From: hch@lst.de (Christoph Hellwig)
Subject: [PATCH 1/5] blk-mq: update ->init_request and ->exit_request prototypes
Date: Fri, 28 Apr 2017 16:09:23 +0200 [thread overview]
Message-ID: <20170428140923.GA32073@lst.de> (raw)
In-Reply-To: <x49inlpsoey.fsf@segfault.boston.devel.redhat.com>
On Thu, Apr 27, 2017@02:20:21PM -0400, Jeff Moyer wrote:
> Hi, Christoph,
>
> Christoph Hellwig <hch at lst.de> writes:
>
> > Remove the request_idx parameter, which can't be used safely now that we
> > support I/O schedulers with blk-mq. Except for a superflous check in
> > mtip32xx it was unused anyway.
>
> I'm not sure how your patch builds. If I look at the mtip32xx driver in
> for-4.12/post-merge, I see this:
Meh, you're right. It did build fine when I tested it based on Jens'
for-4.12/block + my nvme PR. But it seems like the post-merge merge
branch doesn't have the previous mtip32xxx fix yet that is a prerequisite
for this change. Jens: any idea why? I'm getting lost in the maze
of branches..
> If you got rid of request_idx, then this shouldn't build. So, is there
> some other prerequisite patch I'm missing?
Yes, both you and I are. It's "mtip32xx: use runtime tag to initialize
command header" which is in Jens' for-4.12/block tree, but not in the
post-merge one.
>
> Note that the patch that introduced the request_idx check fixed a bug,
> where module load would walk off the end of an array. See commit
> 74c9c9134bf8.
Yes, but that behavior is gone with the above patch, which was
necessary to support blk-mq I/O schedulers.
next prev parent reply other threads:[~2017-04-28 14:09 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-27 17:44 update ->init_request and ->exit_request prototypes Christoph Hellwig
2017-04-27 17:44 ` [PATCH 1/5] blk-mq: " Christoph Hellwig
2017-04-27 18:20 ` Jeff Moyer
2017-04-28 14:09 ` Christoph Hellwig [this message]
2017-04-28 14:19 ` Jens Axboe
2017-04-28 14:20 ` Jens Axboe
2017-04-28 14:24 ` Christoph Hellwig
2017-04-28 14:27 ` Jeff Moyer
2017-04-27 17:44 ` [PATCH 2/5] nvme-pci: merge init_request methods Christoph Hellwig
2017-04-27 17:44 ` [PATCH 3/5] nvme-rdma: merge init_request and exit_request methods Christoph Hellwig
2017-04-27 17:45 ` [PATCH 4/5] nvme-fc: merge init_request methods Christoph Hellwig
2017-04-27 17:45 ` [PATCH 5/5] nvme-loop: " Christoph Hellwig
2017-04-28 14:53 ` update ->init_request and ->exit_request prototypes Christoph Hellwig
2017-05-03 7:53 ` Sagi Grimberg
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=20170428140923.GA32073@lst.de \
--to=hch@lst.de \
/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