From: martin.petersen@oracle.com (Martin K. Petersen)
Subject: [PATCH] nvme: Check hw sectors before setting chunk sectors
Date: Thu, 14 Dec 2017 22:45:50 -0500 [thread overview]
Message-ID: <yq1o9n0mz69.fsf@oracle.com> (raw)
In-Reply-To: <20171214182014.4715-1-keith.busch@intel.com> (Keith Busch's message of "Thu, 14 Dec 2017 11:20:14 -0700")
Keith,
> Some devices with IDs matching the "stripe" quirk don't actually have
> this quirk, and don't have an MDTS value. When MDTS is not set, the
> driver sets the max sectors to UINT_MAX, which is not a power of 2,
> hitting a BUG_ON from blk_queue_chunk_sectors. This patch skips
> setting chunk sectors for such devices.
Reviewed-by: Martin K. Petersen <martin.petersen at oracle.com>
--
Martin K. Petersen Oracle Linux Engineering
next prev parent reply other threads:[~2017-12-15 3:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-14 18:20 [PATCH] nvme: Check hw sectors before setting chunk sectors Keith Busch
2017-12-15 3:45 ` Martin K. Petersen [this message]
2017-12-20 19:05 ` 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=yq1o9n0mz69.fsf@oracle.com \
--to=martin.petersen@oracle.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