Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1203175
| From | Kent Overstreet <kent.overstreet@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios |
| Date | 2015-08-08 07:30 +0200 |
| Message-ID | <pV4RI-65k-1@gated-at.bofh.it> (permalink) |
| References | (5 earlier) <pU03L-17l-1@gated-at.bofh.it> <pUKpY-1dl-13@gated-at.bofh.it> <pUZyG-6z7-15@gated-at.bofh.it> <pV0l4-7Uh-11@gated-at.bofh.it> <pV4I1-5Ui-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Fri, Aug 07, 2015 at 10:17:43PM -0700, Ming Lin wrote: > On Fri, Aug 7, 2015 at 5:30 PM, Kent Overstreet > > Ideally we'd get upper layers out of the business of knowing about the queue > > limits at all - that was the point of the patch series, after all. > > > > Instead of using UINT_MAX, would it work to just make the max 1 << 31 sectors?' > > 1 << 31 = 2G bytes = 0x400000 sectors. > > Yes, that works as long as it's multiple of granularity. Is granularity required to be a power of two? One would hope, but looking at the code that doesn't appear to be a requirement... ugh, that's terrible... -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Ming Lin <mlin@kernel.org> - 2015-08-05 08:10 +0200
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Christoph Hellwig <hch@lst.de> - 2015-08-07 09:40 +0200
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Ming Lin <mlin@kernel.org> - 2015-08-08 01:50 +0200
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Kent Overstreet <kent.overstreet@gmail.com> - 2015-08-08 02:40 +0200
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Ming Lin <mlin@kernel.org> - 2015-08-08 07:20 +0200
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Kent Overstreet <kent.overstreet@gmail.com> - 2015-08-08 07:30 +0200
Re: [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Christoph Hellwig <hch@lst.de> - 2015-08-08 14:40 +0200
Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Hannes Reinecke <hare@suse.de> - 2015-08-08 11:00 +0200
Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Kent Overstreet <kent.overstreet@gmail.com> - 2015-08-08 11:10 +0200
Re: [dm-devel] [PATCH v5 01/11] block: make generic_make_request handle arbitrarily sized bios Hannes Reinecke <hare@suse.de> - 2015-08-13 08:10 +0200
csiph-web