All of lore.kernel.org
 help / color / mirror / Atom feed
* any reason why multiple ranged-reads not currently supported in rados-java?
@ 2014-08-15 15:33 Daniel Hsueh
  2014-08-15 15:40 ` Sage Weil
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Hsueh @ 2014-08-15 15:33 UTC (permalink / raw)
  To: ceph-devel

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:dchsueh@alumni.uwaterloo.ca>

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: any reason why multiple ranged-reads not currently supported in rados-java?
  2014-08-15 15:33 any reason why multiple ranged-reads not currently supported in rados-java? Daniel Hsueh
@ 2014-08-15 15:40 ` Sage Weil
  2014-08-16 18:12   ` Wido den Hollander
  0 siblings, 1 reply; 4+ messages in thread
From: Sage Weil @ 2014-08-15 15:40 UTC (permalink / raw)
  To: Daniel Hsueh; +Cc: ceph-devel, wido

On Fri, 15 Aug 2014, Daniel Hsueh wrote:
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: any reason why multiple ranged-reads not currently supported in rados-java?
  2014-08-15 15:40 ` Sage Weil
@ 2014-08-16 18:12   ` Wido den Hollander
  2014-08-18 15:52     ` Daniel Hsueh
  0 siblings, 1 reply; 4+ messages in thread
From: Wido den Hollander @ 2014-08-16 18:12 UTC (permalink / raw)
  To: Sage Weil, Daniel Hsueh; +Cc: ceph-devel, wido

On 08/15/2014 05:40 PM, Sage Weil wrote:
> On Fri, 15 Aug 2014, Daniel Hsueh wrote:
>> 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!

> Thanks!
> sage
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> 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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: any reason why multiple ranged-reads not currently supported in rados-java?
  2014-08-16 18:12   ` Wido den Hollander
@ 2014-08-18 15:52     ` Daniel Hsueh
  0 siblings, 0 replies; 4+ messages in thread
From: Daniel Hsueh @ 2014-08-18 15:52 UTC (permalink / raw)
  To: Wido den Hollander; +Cc: Sage Weil, ceph-devel, wido

pull request submitted

thanks!

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

-- 
Daniel Hsueh <mailto:dchsueh@alumni.uwaterloo.ca>

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-08-18 15:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-15 15:33 any reason why multiple ranged-reads not currently supported in rados-java? Daniel Hsueh
2014-08-15 15:40 ` Sage Weil
2014-08-16 18:12   ` Wido den Hollander
2014-08-18 15:52     ` Daniel Hsueh

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.