diff options
author | 2016-12-02 16:19:12 -0500 | |
---|---|---|
committer | 2016-12-02 21:06:29 -0700 | |
commit | ef77b515243b3499d62cf446eda6ca7e0a0b079c (patch) | |
tree | 02aaf159bb8b651e9be9c4add83b9afca512a85d /tools/perf/scripts/python/export-to-postgresql.py | |
parent | blk-stat: fix a typo (diff) | |
download | wireguard-linux-ef77b515243b3499d62cf446eda6ca7e0a0b079c.tar.xz wireguard-linux-ef77b515243b3499d62cf446eda6ca7e0a0b079c.zip |
nbd: use loff_t for blocksize and nbd_set_size args
If we have large devices (say like the 40t drive I was trying to test with) we
will end up overflowing the int arguments to nbd_set_size and not get the right
size for our device. Fix this by using loff_t everywhere so I don't have to
think about this again. Thanks,
Signed-off-by: Josef Bacik <jbacik@fb.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions