Re: Writing large files into a ext4 with mkfs is truncating files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Got a patch, posting now.

Ross

On Fri, 1 Feb 2019 at 09:44, Burton, Ross <ross.burton@xxxxxxxxx> wrote:
>
> On Fri, 1 Feb 2019 at 00:14, Burton, Ross <ross.burton@xxxxxxxxx> wrote:
> > $ cmp fs/foo  /mnt/foo
> > fs/foo /mnt/foo differ: byte 1073741825, line 4194938
> >
> > Okay that's not the 4GB boundary.
>
> $ bc
> obase=2
> 1073741825
> 1000000000000000000000000000001
>
> That's 2^30.  I'm guessing a signed type is used somewhere?
>
> Ross



[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux