Re: Cannot partition 32GB disk on a 32bit machine (correct version of the patch this time)

From: James Bottomley
Date: Thu Jun 19 2014 - 19:44:16 EST


On Fri, 2014-06-20 at 00:04 +0100, Alan Cox wrote:
> > Wow that's junk issued by an Exchange server ... Alan, really ...
>
> Blame evolution. It apparently thinks that if you follow up to your own
> email from one address it should randomly switch to another.

so you @linux.intel.com is sane and you @intel.com is exchange ...

> > 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.
>
> LBDAF is set

OK, so as Andrew said, it looks like Viro's conversion from aio to
iterators has a length and offset problem on 32 bits.

my suspicion is that iov_offset and count in struct iov_iter have to
become loff_t quantities ... plus a lot of other size_t to loff_t
conversions. Hopefully Viro will fix it as a matter of urgency.

James


--
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/