Re: [Nbd] NBD: exported files over something around 1 TiB get an insane device size on the client side and are actually empty

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

 



> On 15 Jan 2017, at 01:03, Josef Bacik <jbacik@xxxxxx> wrote:
> 
> Yeah I noticed this in testing, there's a bug with NBD since it's 
> inception where it uses a 32 bit number for keeping track of the size 
> of the device, I fixed it with
> 
> nbd: use loff_t for blocksize and nbd_set_size args
> 
> It'll be in 4.10.  Thanks,

Interestingly enough, this is a regression, as the random 3.x kernel I tried did not show the issue.

Thanks for the fix Josef.

-- 
Alex Bligh




--
To unsubscribe from this list: send the line "unsubscribe linux-block" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux RAID]     [Linux SCSI]     [Linux ATA RAID]     [IDE]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Device Mapper]

  Powered by Linux