Re: Cannot partition 32GB disk on a 32bit machine (correct version of the patch this time)
From: Andrew Morton
Date: Thu Jun 19 2014 - 16:52:25 EST
On Thu, 19 Jun 2014 11:43:57 -0700 James Bottomley <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx> 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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/