Discussion:
any reason why multiple ranged-reads not currently supported in rados-java?
Daniel Hsueh
2014-08-15 15:33:13 UTC
Permalink
Hello,

I'm looking at the Java librados JNA-based API, and note that ranged
reads (rados_create_read_op, rados_release_read_op,
rados_read_op_read, rados_read_op_operate) are not currently
accessible to a Java program.

Are there any difficulties in implementing access to these calls? If
it is straightforward, I'll implement them myself and contribute back
to the github repository.

Thank you.
--
Daniel Hsueh <mailto:***@alumni.uwaterloo.ca>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Sage Weil
2014-08-15 15:40:35 UTC
Permalink
Post by Daniel Hsueh
Hello,
I'm looking at the Java librados JNA-based API, and note that ranged
reads (rados_create_read_op, rados_release_read_op,
rados_read_op_read, rados_read_op_operate) are not currently
accessible to a Java program.
Are there any difficulties in implementing access to these calls? If
it is straightforward, I'll implement them myself and contribute back
to the github repository.
My guess is this was just an oversight. A patch / pull request wiring
this up would be awesome.

Thanks!
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Wido den Hollander
2014-08-16 18:12:42 UTC
Permalink
Post by Sage Weil
Post by Daniel Hsueh
Hello,
I'm looking at the Java librados JNA-based API, and note that ranged
reads (rados_create_read_op, rados_release_read_op,
rados_read_op_read, rados_read_op_operate) are not currently
accessible to a Java program.
Are there any difficulties in implementing access to these calls? If
it is straightforward, I'll implement them myself and contribute back
to the github repository.
My guess is this was just an oversight. A patch / pull request wiring
this up would be awesome.
Indeed. I was a bit lazy and implemented what I needed at the time of
writing rados-java.

A pull request is welcome, or just create a issue in the tracker on
http://tracker.ceph.com/

Thanks!
Post by Sage Weil
Thanks!
sage
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
More majordomo info at http://vger.kernel.org/majordomo-info.html
--
Wido den Hollander
42on B.V.

Phone: +31 (0)20 700 9902
Skype: contact42on
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Daniel Hsueh
2014-08-18 15:52:57 UTC
Permalink
pull request submitted

thanks!
Post by Wido den Hollander
A pull request is welcome, or just create a issue in the tracker on
http://tracker.ceph.com/
--
Daniel Hsueh <mailto:***@alumni.uwaterloo.ca>
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Loading...