qemu-e2k/block
Stefan Priebe 08448d5195 use int64_t for return values from rbd instead of int
rbd / rados tends to return pretty often length of writes
or discarded blocks. These values might be bigger than int.

The steps to reproduce are:

  mkfs.xfs -f a whole device bigger than int in bytes. mkfs.xfs sends
  a discard. Important is that you use scsi-hd and set
  discard_granularity=512. Otherwise rbd disabled discard support.

Signed-off-by: Stefan Priebe <s.priebe@profihost.ag>
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
2012-11-21 09:43:23 +01:00
..
blkdebug.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
blkverify.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
bochs.c
cloop.c
commit.c block: rename block_job_complete to block_job_completed 2012-10-24 10:26:19 +02:00
cow.c
curl.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
dmg.c
gluster.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
iscsi.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
linux-aio.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
Makefile.objs Merge remote-tracking branch 'origin/master' into threadpool 2012-10-31 10:42:51 +01:00
mirror.c mirror: add support for on-source-error/on-target-error 2012-10-24 10:26:22 +02:00
nbd.c nbd: accept URIs 2012-11-12 14:38:28 +01:00
parallels.c
qcow2-cache.c
qcow2-cluster.c
qcow2-refcount.c qcow2: Fix refcount table size calculation 2012-11-14 18:19:21 +01:00
qcow2-snapshot.c
qcow2.c qcow2: mark this file's sole strncpy use as justified 2012-10-05 07:58:38 -05:00
qcow2.h
qcow.c
qed-check.c
qed-cluster.c
qed-gencb.c
qed-l2-cache.c
qed-table.c cleanup useless return sentence 2012-10-05 15:10:21 +02:00
qed.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
qed.h
raw-aio.h raw-win32: implement native asynchronous I/O 2012-10-31 10:38:13 +01:00
raw-posix.c block: add bdrv_reopen() support for raw hdev, floppy, and cdrom 2012-11-21 09:40:29 +01:00
raw-win32.c raw-win32: implement native asynchronous I/O 2012-10-31 10:38:13 +01:00
raw.c
rbd.c use int64_t for return values from rbd instead of int 2012-11-21 09:43:23 +01:00
sheepdog.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00
stream.c block: rename block_job_complete to block_job_completed 2012-10-24 10:26:19 +02:00
vdi.c vdi: don't override libuuid symbols 2012-11-21 09:40:29 +01:00
vmdk.c vmdk: Fix data corruption bug in WRITE and READ handling 2012-11-14 18:19:23 +01:00
vpc.c
vvfat.c
win32-aio.c aio: rename AIOPool to AIOCBInfo 2012-11-14 18:19:21 +01:00