Recent changes (master)
The following changes since commit 4e7a881493790a3a2b970988aef4bd3603877fab:
Fix duplicated typos from 42d97b5c in fio(1) (2016-11-02 08:05:49 -0600)
are available in the git repository at:
git://git.kernel.dk/fio.git master
for you to fetch changes up to 206c546d6015fe3809b8e52ea95f56114b8e9f25:
rbd: fix crash with zero sized image (2016-11-12 08:36:23 -0700)
----------------------------------------------------------------
Pan Liu (1):
rbd: fix crash with zero sized image
engines/rbd.c | 5 +++++ 1 file changed, 5 insertions(+)
---
Diff of recent changes:
engines/rbd.c +5 -0
@@ -595,7 +595,12 @@ static int fio_rbd_setup(struct thread_data *td)if (r <0 ) {log_err ("rbd_status failed.\n" ); goto disconnect; + }else if (info.size ==0 ) { +log_err ("image size should be larger than zero.\n" ); + r = -EINVAL ; + goto disconnect; } +dprint (FD_IO ,"rbd-engine: image size: %lu\n" , info.size);/* taken from "net" engine. Pretend we deal with files,