Increase number of read and writes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I am using Ceph in developer mode. Currently I am implementing Librados
examples which are also available in Introduction to Librados section
https://docs.ceph.com/docs/master/rados/api/librados-intro/#step-3-creating-an-i-o-context.
It says once your app has a cluster handle and a connection to a Ceph
Storage Cluster, you may create an I/O Context and begin reading and
writing data.  For example,









*err = rados_write(io, "hw", "Hello World!", 12, 0);        if (err < 0) {
              fprintf(stderr, "%s: Cannot write object \"neo-obj\" to pool
%s: %s\n", argv[0], poolname, strerror(-err));
rados_ioctx_destroy(io);                rados_shutdown(cluster);
    exit(1);        } else {                printf("\nWrote \"Hello World\"
to object \"neo-obj\".\n");        }*

My question, Is "12" is the number of writes? Because I want to test the
with high number of read and writes.

Looking for help !
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux