Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1591710
| From | Umesh Patel <Umesh.Patel@hgst.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: Kernel bio layer is sending bio size more than our block device is capable of handling |
| Date | 2017-03-03 08:20 +0100 |
| Message-ID | <tgPFn-62U-9@gated-at.bofh.it> (permalink) |
| References | <tgsIN-6Nv-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
From the kernel source code i came to know below things. 4.1 kernel version onward *""nr_pages = min(sdio->pages_in_io, bio_get_nr_vecs(map_bh->b_bdev))""* line has been removed which was considering max_sectors_kb of queue. Now new code is something like this* "nr_pages = min(sdio->pages_in_io, BIO_MAX_PAGES)"*, which is sending 256 bytes of data to our device which we are not supporting. Please let me know is there any other place where i can register my max_sectors_kb to kernel. -- 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-tp1381843p1381844.html Sent from the Linux Kernel mailing list archive at Nabble.com.
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
Kernel bio layer is sending bio size more than our block device is capable of handling Umesh Patel <Umesh.Patel@hgst.com> - 2017-03-02 07:50 +0100
RE: Kernel bio layer is sending bio size more than our block device is capable of handling Umesh Patel <Umesh.Patel@wdc.com> - 2017-03-02 17:10 +0100
Re: Kernel bio layer is sending bio size more than our block device is capable of handling Christoph Hellwig <hch@infradead.org> - 2017-03-02 18:20 +0100
RE: Kernel bio layer is sending bio size more than our block device is capable of handling Umesh Patel <Umesh.Patel@wdc.com> - 2017-03-02 19:50 +0100
Re: Kernel bio layer is sending bio size more than our block device is capable of handling Christoph Hellwig <hch@infradead.org> - 2017-03-02 17:30 +0100
Re: Kernel bio layer is sending bio size more than our block device is capable of handling Umesh Patel <Umesh.Patel@hgst.com> - 2017-03-03 08:20 +0100
csiph-web