Kernel bio layer is sending bio size more than our block device is capable of handling
From: Umesh Patel
Date: Thu Mar 02 2017 - 01:41:16 EST
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.