From: Umesh Patel <Umesh.Patel@hgst.com>
To: linux-kernel@vger.kernel.org
Subject: Kernel bio layer is sending bio size more than our block device is capable of handling
Date: Wed, 1 Mar 2017 23:16:02 -0700 (MST) [thread overview]
Message-ID: <1488435362749-1381843.post@n7.nabble.com> (raw)
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.
next reply other threads:[~2017-03-02 6:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-02 6:16 Umesh Patel [this message]
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
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=1488435362749-1381843.post@n7.nabble.com \
--to=umesh.patel@hgst.com \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®