Home
last modified time | relevance | path

Searched hist:"08448 d51" (Results 1 – 1 of 1) sorted by relevance

/qemu/block/
H A Drbd.c08448d51 Tue Nov 20 12:44:55 GMT 2012 Stefan Priebe <s.priebe@profihost.ag> 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>