All of lore.kernel.org
 help / color / mirror / Atom feed
* Kernel bio layer is sending bio size more than our block device is capable of handling
@ 2017-03-02  6:16 Umesh Patel
  2017-03-02 15:43 ` Christoph Hellwig
  2017-03-03  7:14 ` Umesh Patel
  0 siblings, 2 replies; 6+ messages in thread
From: Umesh Patel @ 2017-03-02  6:16 UTC (permalink / raw)
  To: linux-kernel

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-03-03  7:16 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-02  6:16 Kernel bio layer is sending bio size more than our block device is capable of handling Umesh Patel
2017-03-02 15:43 ` Christoph Hellwig
2017-03-02 15:59   ` Umesh Patel
2017-03-02 16:03     ` Christoph Hellwig
2017-03-02 16:15       ` Umesh Patel
2017-03-03  7:14 ` Umesh Patel

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.