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
..
2012-11-14 18:19:21 +01:00
2012-11-14 18:19:21 +01:00
2012-11-14 18:19:21 +01:00
2012-11-14 18:19:21 +01:00
2012-11-14 18:19:21 +01:00
2012-11-14 18:19:21 +01:00
2012-11-12 14:38:28 +01:00
2012-08-06 22:39:14 +02:00
2012-09-24 15:15:12 +02:00
2012-10-05 15:10:21 +02:00
2012-11-14 18:19:21 +01:00
2012-09-24 15:15:12 +02:00
2012-11-14 18:19:21 +01:00
2012-11-21 09:40:29 +01:00
2012-09-24 15:15:12 +02:00
2012-11-14 18:19:21 +01:00