Messages in this thread | | | Date | Thu, 19 Jun 2014 13:51:45 -0700 | From | Andrew Morton <> | Subject | Re: Cannot partition 32GB disk on a 32bit machine (correct version of the patch this time) |
| |
On Thu, 19 Jun 2014 11:43:57 -0700 James Bottomley <James.Bottomley@hansenpartnership.com> wrote:
> Do you have CONFIG_LBD turned on? That's supposed to let us go up to > about 16TB before we run out of page index bits. If you do, we might > have a variable that's int but should be sector_t somewhere.
I assume the problem is that iov_iter uses size_t (which is 32-bit on 32-bit) and we're trying to use iov_iter for blockdevs.
All this code is new and I've NFI how it's supposed to work and cannot find a description anywhere.
cc's viro and runs away.
| |