public inbox for linux-block@vger.kernel.org
 help / color / mirror / Atom feed
From: Christoph Hellwig <hch@lst.de>
To: Ming Lei <ming.lei@redhat.com>
Cc: Christoph Hellwig <hch@lst.de>,
	linux-block@vger.kernel.org, linux-nvme@lists.infradead.org,
	Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	Bart Van Assche <bvanassche@acm.org>
Subject: Re: Regression: NVMe: kernel BUG at lib/sg_pool.c:103!
Date: Wed, 20 Feb 2019 15:17:01 +0100	[thread overview]
Message-ID: <20190220141701.GA26537@lst.de> (raw)
In-Reply-To: <20190220031122.GA17298@ming.t460p>

We shouldn't be allocating a scatterlist for a command that doesn't
have a payload.

The blk_rq_payload_bytes check in nvme_rdma_map_data is supposed to
prevent that.

Chaitanya, can you try to debug why this is not working?  I'm on
vacation and don't have much time right now unfortunately.

  parent reply	other threads:[~2019-02-20 14:17 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-20  3:11 Regression: NVMe: kernel BUG at lib/sg_pool.c:103! Ming Lei
2019-02-20  3:13 ` Ming Lei
2019-02-20 14:17 ` Christoph Hellwig [this message]
2019-02-20 16:59   ` Chaitanya Kulkarni
2019-02-20 18:16   ` Chaitanya Kulkarni
2019-02-20 22:55     ` Martin K. Petersen
2019-02-21  1:29       ` Chaitanya Kulkarni
2019-02-21 13:37         ` Christoph Hellwig
2019-02-21 14:22           ` Martin K. Petersen
2019-02-21  2:16     ` Ming Lei
2019-02-21  2:21       ` Chaitanya Kulkarni

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=20190220141701.GA26537@lst.de \
    --to=hch@lst.de \
    --cc=bvanassche@acm.org \
    --cc=chaitanya.kulkarni@wdc.com \
    --cc=linux-block@vger.kernel.org \
    --cc=linux-nvme@lists.infradead.org \
    --cc=martin.petersen@oracle.com \
    --cc=ming.lei@redhat.com \
    /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