Re: [RFC] sd: dynamically adjust SD_MAX_WS16_BLOCKS as per the actual logical block size

From
Martin K. Petersen <hidden>
Date
2016-08-16 04:03:08
Also in
linux-scsi
quoted
quoted
quoted
quoted
"Tom" == Tom Yan [off-list ref] writes:
Tom,
quoted
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
Thread (1 message) 1 message, 1 author, last reply 2016-08-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help