From: "Martin K. Petersen" <martin.petersen@oracle.com>
To: Tom Yan <tom.ty89@gmail.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>,
Shaun Tancheff <shaun@tancheff.com>,
linux-scsi@vger.kernel.org, linux-block@vger.kernel.org,
Shaun Tancheff <shaun.tancheff@seagate.com>
Subject: Re: [RFC] sd: dynamically adjust SD_MAX_WS16_BLOCKS as per the actual logical block size
Date: Tue, 16 Aug 2016 00:02:52 -0400 [thread overview]
Message-ID: <yq1k2fhl5sj.fsf@sermon.lab.mkp.net> (raw)
In-Reply-To: <CAGnHSEmh7ckOksN3T64nLtTax0aaQYN67h+j-YwYwBw3ihTf6A@mail.gmail.com> (Tom Yan's message of "Sun, 14 Aug 2016 16:46:00 +0800")
>>>>> "Tom" == Tom Yan <tom.ty89@gmail.com> writes:
Tom,
>> 0x7fffff, the maximum number of block layer sectors that can be
>> expressed in a single bio.
Tom> Hmm, so when we queue any of the limits, we convert a certain
Tom> maximum number of physical sectors (which we has already been
Tom> doing)
logical sectors
Tom> to its corresponding maximum number of block layer sectors, and
Tom> then make sure that number does not exceed 0x7fffff, right?
Yep.
--
Martin K. Petersen Oracle Linux Engineering
prev parent reply other threads:[~2016-08-16 4:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-08-11 22:29 [RFC] sd: dynamically adjust SD_MAX_WS16_BLOCKS as per the actual logical block size tom.ty89
2016-08-12 3:10 ` Martin K. Petersen
2016-08-12 4:52 ` Tom Yan
2016-08-12 20:26 ` Martin K. Petersen
2016-08-14 8:46 ` Tom Yan
2016-08-16 4:02 ` Martin K. Petersen [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=yq1k2fhl5sj.fsf@sermon.lab.mkp.net \
--to=martin.petersen@oracle.com \
--cc=linux-block@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=shaun.tancheff@seagate.com \
--cc=shaun@tancheff.com \
--cc=tom.ty89@gmail.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