lkml.org 
[lkml]   [2017]   [Mar]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectKernel bio layer is sending bio size more than our block device is capable of handling
Hello,

We are registering bio size of our device with linux kernel with below
available kernel API. blk_queue_max_hw_sectors(dev->osdev.queue,
(dev->aggr_max_size >> KERNEL_SECTOR_SHIFT));.

Max size of bio that our block device can handle is 106496 bytes (104KB) but
linux block device is sending 262144 bytes (256 KB) which is more than we
are registering with kernel.

This issue we are observing in 4.4.0-59-generic kernel version. Until this
we had not seen this issue.
So does anything extra require to tell linux kernel or anything else need to
register ?


Thanks




--
View this message in context: http://linux-kernel.2935.n7.nabble.com/Kernel-bio-layer-is-sending-bio-size-more-than-our-block-device-is-capable-of-handling-tp1381843.html
Sent from the Linux Kernel mailing list archive at Nabble.com.

\
 
 \ /
  Last update: 2017-03-02 07:41    [W:0.075 / U:1.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site