* libradosstriper
@ 2016-06-27 22:18 Sage Weil
2016-06-27 22:25 ` libradosstriper Samuel Just
2016-06-28 3:26 ` libradosstriper Sebastien Ponce
0 siblings, 2 replies; 15+ messages in thread
From: Sage Weil @ 2016-06-27 22:18 UTC (permalink / raw)
To: sebastien.ponce; +Cc: ceph-devel
Hi Sebastien,
Do you mind updating us on the current status of libradosstriper? Where
does it stand feature-wise with what you need, how are you currently using
it or how do you plan to use it, and what is still missing?
Also, one thing we really want to see is test coverage for the code so
that we can comfortably point users toward it. This ideally would look
something like the ceph_test_rados_api_* tests that verify individual
operations behave as expected, and/or something like ceph_test_rados that
throws random operations at is and verifies it returns correct results
that match its in-memory model.
Thanks!
sage
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-27 22:18 libradosstriper Sage Weil
@ 2016-06-27 22:25 ` Samuel Just
2016-06-28 3:27 ` libradosstriper Sebastien Ponce
2016-06-28 3:26 ` libradosstriper Sebastien Ponce
1 sibling, 1 reply; 15+ messages in thread
From: Samuel Just @ 2016-06-27 22:25 UTC (permalink / raw)
To: Sage Weil; +Cc: sebastien.ponce, ceph-devel@vger.kernel.org
The something like ceph_test_rados could then be wired into
ceph-qa-suite to be tested with osd thrashing to ensure that ordering
works and continues to work as expected.
-Sam
On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.com> wrote:
> Hi Sebastien,
>
> Do you mind updating us on the current status of libradosstriper? Where
> does it stand feature-wise with what you need, how are you currently using
> it or how do you plan to use it, and what is still missing?
>
> Also, one thing we really want to see is test coverage for the code so
> that we can comfortably point users toward it. This ideally would look
> something like the ceph_test_rados_api_* tests that verify individual
> operations behave as expected, and/or something like ceph_test_rados that
> throws random operations at is and verifies it returns correct results
> that match its in-memory model.
>
> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-27 22:18 libradosstriper Sage Weil
2016-06-27 22:25 ` libradosstriper Samuel Just
@ 2016-06-28 3:26 ` Sebastien Ponce
1 sibling, 0 replies; 15+ messages in thread
From: Sebastien Ponce @ 2016-06-28 3:26 UTC (permalink / raw)
To: Sage Weil; +Cc: ceph-devel
On Mon, 2016-06-27 at 22:18 +0000, Sage Weil wrote:
> Hi Sebastien,
>
> Do you mind updating us on the current status of
> libradosstriper? Where does it stand feature-wise with what you
> need, how are you currently using it or how do you plan to use it,
> and what is still missing?
Most of the feature we need are there and they are being used,
including in production. However, I have a couple of improvements to
propose, in particular a faster remove implementation (using async
removal of the subparts) and the few async APIs I've mentioned at the
ceph day. I've just prepared the commits in the plane yesterday, I'll
try to create the pull request this week.
> Also, one thing we really want to see is test coverage for the code
> so that we can comfortably point users toward it. This ideally would
> look something like the ceph_test_rados_api_* tests that verify
> individual operations behave as expected, and/or something like
> ceph_test_rados that throws random operations at is and verifies it
> returns correct results that match its in-memory model.
I believe the test coverage for individual operations is complete for
what exists, and the new improvements will come with their tests too.
They are called ceph_test_radosstriper.
Now I do not think I have the random operation one. Probably something
to be added.
Cheers,
Sebastien
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-27 22:25 ` libradosstriper Samuel Just
@ 2016-06-28 3:27 ` Sebastien Ponce
2016-06-28 16:07 ` libradosstriper Samuel Just
0 siblings, 1 reply; 15+ messages in thread
From: Sebastien Ponce @ 2016-06-28 3:27 UTC (permalink / raw)
To: Samuel Just, Sage Weil; +Cc: ceph-devel@vger.kernel.org
Would be great indeed. As it's already there, it can be done already
now.
Sebastien
On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
> The something like ceph_test_rados could then be wired into
> ceph-qa-suite to be tested with osd thrashing to ensure that ordering
> works and continues to work as expected.
> -Sam
>
> On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.com> wrote:
> >
> > Hi Sebastien,
> >
> > Do you mind updating us on the current status of
> > libradosstriper? Where
> > does it stand feature-wise with what you need, how are you
> > currently using
> > it or how do you plan to use it, and what is still missing?
> >
> > Also, one thing we really want to see is test coverage for the code
> > so
> > that we can comfortably point users toward it. This ideally would
> > look
> > something like the ceph_test_rados_api_* tests that verify
> > individual
> > operations behave as expected, and/or something like
> > ceph_test_rados that
> > throws random operations at is and verifies it returns correct
> > results
> > that match its in-memory model.
> >
> > 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
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-28 3:27 ` libradosstriper Sebastien Ponce
@ 2016-06-28 16:07 ` Samuel Just
2016-06-29 15:03 ` libradosstriper Sebastien Ponce
0 siblings, 1 reply; 15+ messages in thread
From: Samuel Just @ 2016-06-28 16:07 UTC (permalink / raw)
To: Sebastien Ponce; +Cc: Sage Weil, ceph-devel@vger.kernel.org
I don't remember anything like ceph_test_rados which uses
libradosstriper. Did I miss it?
-Sam
On Mon, Jun 27, 2016 at 8:27 PM, Sebastien Ponce
<sebastien.ponce@cern.ch> wrote:
> Would be great indeed. As it's already there, it can be done already
> now.
>
> Sebastien
>
> On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
>> The something like ceph_test_rados could then be wired into
>> ceph-qa-suite to be tested with osd thrashing to ensure that ordering
>> works and continues to work as expected.
>> -Sam
>>
>> On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.com> wrote:
>> >
>> > Hi Sebastien,
>> >
>> > Do you mind updating us on the current status of
>> > libradosstriper? Where
>> > does it stand feature-wise with what you need, how are you
>> > currently using
>> > it or how do you plan to use it, and what is still missing?
>> >
>> > Also, one thing we really want to see is test coverage for the code
>> > so
>> > that we can comfortably point users toward it. This ideally would
>> > look
>> > something like the ceph_test_rados_api_* tests that verify
>> > individual
>> > operations behave as expected, and/or something like
>> > ceph_test_rados that
>> > throws random operations at is and verifies it returns correct
>> > results
>> > that match its in-memory model.
>> >
>> > 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-28 16:07 ` libradosstriper Samuel Just
@ 2016-06-29 15:03 ` Sebastien Ponce
2016-06-29 15:30 ` libradosstriper Samuel Just
0 siblings, 1 reply; 15+ messages in thread
From: Sebastien Ponce @ 2016-06-29 15:03 UTC (permalink / raw)
To: Samuel Just; +Cc: Sage Weil, ceph-devel@vger.kernel.org
Well, I'm not sure what you are exactly looking for : I see now that I
look more carefully that there is a file called ceph_test_rados that
looks like a wrapper around the ceph_test_rados_* tests.
The equivalent does not seem to exist for striper (although the same
wrapper would probably work), but the ceph_test_rados_striper_* tests
do exist.
Should we/I create a wrapper for striper ? I'm not sure I have the
whole understanding of the structure of the whole test system...
Sebastien
On Tue, 2016-06-28 at 09:07 -0700, Samuel Just wrote:
> I don't remember anything like ceph_test_rados which uses
> libradosstriper. Did I miss it?
> -Sam
>
> On Mon, Jun 27, 2016 at 8:27 PM, Sebastien Ponce
> <sebastien.ponce@cern.ch> wrote:
> >
> > Would be great indeed. As it's already there, it can be done
> > already
> > now.
> >
> > Sebastien
> >
> > On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
> > >
> > > The something like ceph_test_rados could then be wired into
> > > ceph-qa-suite to be tested with osd thrashing to ensure that
> > > ordering
> > > works and continues to work as expected.
> > > -Sam
> > >
> > > On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.com>
> > > wrote:
> > > >
> > > >
> > > > Hi Sebastien,
> > > >
> > > > Do you mind updating us on the current status of
> > > > libradosstriper? Where
> > > > does it stand feature-wise with what you need, how are you
> > > > currently using
> > > > it or how do you plan to use it, and what is still missing?
> > > >
> > > > Also, one thing we really want to see is test coverage for the
> > > > code
> > > > so
> > > > that we can comfortably point users toward it. This ideally
> > > > would
> > > > look
> > > > something like the ceph_test_rados_api_* tests that verify
> > > > individual
> > > > operations behave as expected, and/or something like
> > > > ceph_test_rados that
> > > > throws random operations at is and verifies it returns correct
> > > > results
> > > > that match its in-memory model.
> > > >
> > > > 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.h
> > > > tml
> --
> 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
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-29 15:03 ` libradosstriper Sebastien Ponce
@ 2016-06-29 15:30 ` Samuel Just
2016-06-29 15:44 ` libradosstriper Sebastien Ponce
0 siblings, 1 reply; 15+ messages in thread
From: Samuel Just @ 2016-06-29 15:30 UTC (permalink / raw)
To: Sebastien Ponce; +Cc: Sage Weil, ceph-devel@vger.kernel.org
Ah, sorry. See src/test/osd/RadosModel.* and
src/test/osd/TestRados.cc. It's gotten to be a somewhat kludgy mess,
but it's a really valuable stress test for verifying that the osd and
librados are behaving properly, especially when combined with failure
injection and osd thrashing. I'd like to either create a (less
kludgy, I can only hope) seperate version for librados striper, or add
a flag to the existing one which causes it to use the striper instead
(and only allows ops where it makes sense). libradosstriper should
have the same ordering properties for piplined writes as normal
librados (right?), so modifying the existing test would probably get
us the most coverage for the least effort.
-Sam
On Wed, Jun 29, 2016 at 8:03 AM, Sebastien Ponce
<sebastien.ponce@cern.ch> wrote:
> Well, I'm not sure what you are exactly looking for : I see now that I
> look more carefully that there is a file called ceph_test_rados that
> looks like a wrapper around the ceph_test_rados_* tests.
> The equivalent does not seem to exist for striper (although the same
> wrapper would probably work), but the ceph_test_rados_striper_* tests
> do exist.
> Should we/I create a wrapper for striper ? I'm not sure I have the
> whole understanding of the structure of the whole test system...
>
> Sebastien
>
>
> On Tue, 2016-06-28 at 09:07 -0700, Samuel Just wrote:
>> I don't remember anything like ceph_test_rados which uses
>> libradosstriper. Did I miss it?
>> -Sam
>>
>> On Mon, Jun 27, 2016 at 8:27 PM, Sebastien Ponce
>> <sebastien.ponce@cern.ch> wrote:
>> >
>> > Would be great indeed. As it's already there, it can be done
>> > already
>> > now.
>> >
>> > Sebastien
>> >
>> > On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
>> > >
>> > > The something like ceph_test_rados could then be wired into
>> > > ceph-qa-suite to be tested with osd thrashing to ensure that
>> > > ordering
>> > > works and continues to work as expected.
>> > > -Sam
>> > >
>> > > On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.com>
>> > > wrote:
>> > > >
>> > > >
>> > > > Hi Sebastien,
>> > > >
>> > > > Do you mind updating us on the current status of
>> > > > libradosstriper? Where
>> > > > does it stand feature-wise with what you need, how are you
>> > > > currently using
>> > > > it or how do you plan to use it, and what is still missing?
>> > > >
>> > > > Also, one thing we really want to see is test coverage for the
>> > > > code
>> > > > so
>> > > > that we can comfortably point users toward it. This ideally
>> > > > would
>> > > > look
>> > > > something like the ceph_test_rados_api_* tests that verify
>> > > > individual
>> > > > operations behave as expected, and/or something like
>> > > > ceph_test_rados that
>> > > > throws random operations at is and verifies it returns correct
>> > > > results
>> > > > that match its in-memory model.
>> > > >
>> > > > 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.h
>> > > > tml
>> --
>> 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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-29 15:30 ` libradosstriper Samuel Just
@ 2016-06-29 15:44 ` Sebastien Ponce
[not found] ` <CAN=+7FXwB45kLA+W7U_cyWkEOtykGpuYXXGv2Xh9wkBo_sXLMQ@mail.gmail.com>
0 siblings, 1 reply; 15+ messages in thread
From: Sebastien Ponce @ 2016-06-29 15:44 UTC (permalink / raw)
To: Samuel Just; +Cc: Sage Weil, ceph-devel@vger.kernel.org
Oh I see, I did not know this one indeed.
I used the flag approach for the rados command line and it was really
easy, as the API is identical, you only have to use a Striper object
instead of an IOContext.
Now looking at the RadosModel class, I see that the user API (like
read/write/aio_read,...) is almost not used. Almost everything goes
through the aio_operate calls wich are not present in Striper.
So I believe the simplest would be to add a couple of TestOpType,
namely 5 of them : TEST_OP_READ/WRITE/DELETE/SETXATTR/RMXATTR_STRIPER
and implement the corresponding classes inheriting from TestOp.
This would also have the advantage to mix striped and regular objects
in the test, which is absolutely valid and thus should be tested.
Sebastien
On Wed, 2016-06-29 at 08:30 -0700, Samuel Just wrote:
> Ah, sorry. See src/test/osd/RadosModel.* and
> src/test/osd/TestRados.cc. It's gotten to be a somewhat kludgy mess,
> but it's a really valuable stress test for verifying that the osd and
> librados are behaving properly, especially when combined with failure
> injection and osd thrashing. I'd like to either create a (less
> kludgy, I can only hope) seperate version for librados striper, or
> add
> a flag to the existing one which causes it to use the striper instead
> (and only allows ops where it makes sense). libradosstriper should
> have the same ordering properties for piplined writes as normal
> librados (right?), so modifying the existing test would probably get
> us the most coverage for the least effort.
> -Sam
>
> On Wed, Jun 29, 2016 at 8:03 AM, Sebastien Ponce
> <sebastien.ponce@cern.ch> wrote:
> >
> > Well, I'm not sure what you are exactly looking for : I see now
> > that I
> > look more carefully that there is a file called ceph_test_rados
> > that
> > looks like a wrapper around the ceph_test_rados_* tests.
> > The equivalent does not seem to exist for striper (although the
> > same
> > wrapper would probably work), but the ceph_test_rados_striper_*
> > tests
> > do exist.
> > Should we/I create a wrapper for striper ? I'm not sure I have the
> > whole understanding of the structure of the whole test system...
> >
> > Sebastien
> >
> >
> > On Tue, 2016-06-28 at 09:07 -0700, Samuel Just wrote:
> > >
> > > I don't remember anything like ceph_test_rados which uses
> > > libradosstriper. Did I miss it?
> > > -Sam
> > >
> > > On Mon, Jun 27, 2016 at 8:27 PM, Sebastien Ponce
> > > <sebastien.ponce@cern.ch> wrote:
> > > >
> > > >
> > > > Would be great indeed. As it's already there, it can be done
> > > > already
> > > > now.
> > > >
> > > > Sebastien
> > > >
> > > > On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
> > > > >
> > > > >
> > > > > The something like ceph_test_rados could then be wired into
> > > > > ceph-qa-suite to be tested with osd thrashing to ensure that
> > > > > ordering
> > > > > works and continues to work as expected.
> > > > > -Sam
> > > > >
> > > > > On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.com>
> > > > > wrote:
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi Sebastien,
> > > > > >
> > > > > > Do you mind updating us on the current status of
> > > > > > libradosstriper? Where
> > > > > > does it stand feature-wise with what you need, how are you
> > > > > > currently using
> > > > > > it or how do you plan to use it, and what is still missing?
> > > > > >
> > > > > > Also, one thing we really want to see is test coverage for
> > > > > > the
> > > > > > code
> > > > > > so
> > > > > > that we can comfortably point users toward it. This
> > > > > > ideally
> > > > > > would
> > > > > > look
> > > > > > something like the ceph_test_rados_api_* tests that verify
> > > > > > individual
> > > > > > operations behave as expected, and/or something like
> > > > > > ceph_test_rados that
> > > > > > throws random operations at is and verifies it returns
> > > > > > correct
> > > > > > results
> > > > > > that match its in-memory model.
> > > > > >
> > > > > > 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-in
> > > > > > fo.h
> > > > > > tml
> > > --
> > > 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.htm
> > > l
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
[not found] ` <CAN=+7FXwB45kLA+W7U_cyWkEOtykGpuYXXGv2Xh9wkBo_sXLMQ@mail.gmail.com>
@ 2016-06-30 7:47 ` Sebastien Ponce
2016-07-11 12:35 ` libradosstriper Sebastien Ponce
0 siblings, 1 reply; 15+ messages in thread
From: Sebastien Ponce @ 2016-06-30 7:47 UTC (permalink / raw)
To: Samuel Just; +Cc: Weil, Sage, ceph-devel
I would even use the same pool, as this is perfectly allowed. Will look at this next week.
On another topic, I've just created a pull request for the improvements done on librados and libradosstriper around async calls : https://github.com/ceph/ceph/pull/10049. Could somebody review it ?
Also, I've added tests for the new calls, tried them and noticed that some tests of the rados test suite concerning writesame are failing right now.
Sebastien
On Wed, 2016-06-29 at 10:16 -0700, Samuel Just wrote:
> Makes sense. I guess they'd have to pull from distinct name pools?
> -Sam
> On Jun 29, 2016 8:45 AM, "Sebastien Ponce" <sebastien.ponce@cern.ch>
> wrote:
> > Oh I see, I did not know this one indeed.
> > I used the flag approach for the rados command line and it was
> > really
> > easy, as the API is identical, you only have to use a Striper
> > object
> > instead of an IOContext.
> > Now looking at the RadosModel class, I see that the user API (like
> > read/write/aio_read,...) is almost not used. Almost everything goes
> > through the aio_operate calls wich are not present in Striper.
> > So I believe the simplest would be to add a couple of TestOpType,
> > namely 5 of them :
> > TEST_OP_READ/WRITE/DELETE/SETXATTR/RMXATTR_STRIPER
> > and implement the corresponding classes inheriting from TestOp.
> > This would also have the advantage to mix striped and regular
> > objects
> > in the test, which is absolutely valid and thus should be tested.
> >
> > Sebastien
> >
> >
> > On Wed, 2016-06-29 at 08:30 -0700, Samuel Just wrote:
> > > Ah, sorry. See src/test/osd/RadosModel.* and
> > > src/test/osd/TestRados.cc. It's gotten to be a somewhat kludgy
> > mess,
> > > but it's a really valuable stress test for verifying that the osd
> > and
> > > librados are behaving properly, especially when combined with
> > failure
> > > injection and osd thrashing. I'd like to either create a (less
> > > kludgy, I can only hope) seperate version for librados striper,
> > or
> > > add
> > > a flag to the existing one which causes it to use the striper
> > instead
> > > (and only allows ops where it makes sense). libradosstriper
> > should
> > > have the same ordering properties for piplined writes as normal
> > > librados (right?), so modifying the existing test would probably
> > get
> > > us the most coverage for the least effort.
> > > -Sam
> > >
> > > On Wed, Jun 29, 2016 at 8:03 AM, Sebastien Ponce
> > > <sebastien.ponce@cern.ch> wrote:
> > > >
> > > > Well, I'm not sure what you are exactly looking for : I see now
> > > > that I
> > > > look more carefully that there is a file called ceph_test_rados
> > > > that
> > > > looks like a wrapper around the ceph_test_rados_* tests.
> > > > The equivalent does not seem to exist for striper (although the
> > > > same
> > > > wrapper would probably work), but the ceph_test_rados_striper_*
> > > > tests
> > > > do exist.
> > > > Should we/I create a wrapper for striper ? I'm not sure I have
> > the
> > > > whole understanding of the structure of the whole test
> > system...
> > > >
> > > > Sebastien
> > > >
> > > >
> > > > On Tue, 2016-06-28 at 09:07 -0700, Samuel Just wrote:
> > > > >
> > > > > I don't remember anything like ceph_test_rados which uses
> > > > > libradosstriper. Did I miss it?
> > > > > -Sam
> > > > >
> > > > > On Mon, Jun 27, 2016 at 8:27 PM, Sebastien Ponce
> > > > > <sebastien.ponce@cern.ch> wrote:
> > > > > >
> > > > > >
> > > > > > Would be great indeed. As it's already there, it can be
> > done
> > > > > > already
> > > > > > now.
> > > > > >
> > > > > > Sebastien
> > > > > >
> > > > > > On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
> > > > > > >
> > > > > > >
> > > > > > > The something like ceph_test_rados could then be wired
> > into
> > > > > > > ceph-qa-suite to be tested with osd thrashing to ensure
> > that
> > > > > > > ordering
> > > > > > > works and continues to work as expected.
> > > > > > > -Sam
> > > > > > >
> > > > > > > On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redhat.
> > com>
> > > > > > > wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi Sebastien,
> > > > > > > >
> > > > > > > > Do you mind updating us on the current status of
> > > > > > > > libradosstriper? Where
> > > > > > > > does it stand feature-wise with what you need, how are
> > you
> > > > > > > > currently using
> > > > > > > > it or how do you plan to use it, and what is still
> > missing?
> > > > > > > >
> > > > > > > > Also, one thing we really want to see is test coverage
> > for
> > > > > > > > the
> > > > > > > > code
> > > > > > > > so
> > > > > > > > that we can comfortably point users toward it. This
> > > > > > > > ideally
> > > > > > > > would
> > > > > > > > look
> > > > > > > > something like the ceph_test_rados_api_* tests that
> > verify
> > > > > > > > individual
> > > > > > > > operations behave as expected, and/or something like
> > > > > > > > ceph_test_rados that
> > > > > > > > throws random operations at is and verifies it returns
> > > > > > > > correct
> > > > > > > > results
> > > > > > > > that match its in-memory model.
> > > > > > > >
> > > > > > > > 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/majordom
> > o-in
> > > > > > > > fo.h
> > > > > > > > tml
> > > > > --
> > > > > 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
> > .htm
> > > > > l
> >
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2016-06-30 7:47 ` libradosstriper Sebastien Ponce
@ 2016-07-11 12:35 ` Sebastien Ponce
0 siblings, 0 replies; 15+ messages in thread
From: Sebastien Ponce @ 2016-07-11 12:35 UTC (permalink / raw)
To: Samuel Just; +Cc: Weil, Sage, ceph-devel
Anyone wanting to review the pool request mentioned below ?
Would be nice if it could be included in the next release.
Sebastien
On Thu, 2016-06-30 at 09:47 +0200, Sebastien Ponce wrote:
> I would even use the same pool, as this is perfectly allowed. Will
> look at this next week.
>
> On another topic, I've just created a pull request for the
> improvements done on librados and libradosstriper around async calls
> : https://github.com/ceph/ceph/pull/10049. Could somebody review it ?
>
> Also, I've added tests for the new calls, tried them and noticed that
> some tests of the rados test suite concerning writesame are failing
> right now.
>
> Sebastien
>
>
> On Wed, 2016-06-29 at 10:16 -0700, Samuel Just wrote:
> >
> > Makes sense. I guess they'd have to pull from distinct name pools?
> > -Sam
> > On Jun 29, 2016 8:45 AM, "Sebastien Ponce" <sebastien.ponce@cern.ch
> > >
> > wrote:
> > >
> > > Oh I see, I did not know this one indeed.
> > > I used the flag approach for the rados command line and it was
> > > really
> > > easy, as the API is identical, you only have to use a Striper
> > > object
> > > instead of an IOContext.
> > > Now looking at the RadosModel class, I see that the user API
> > > (like
> > > read/write/aio_read,...) is almost not used. Almost everything
> > > goes
> > > through the aio_operate calls wich are not present in Striper.
> > > So I believe the simplest would be to add a couple of TestOpType,
> > > namely 5 of them :
> > > TEST_OP_READ/WRITE/DELETE/SETXATTR/RMXATTR_STRIPER
> > > and implement the corresponding classes inheriting from TestOp.
> > > This would also have the advantage to mix striped and regular
> > > objects
> > > in the test, which is absolutely valid and thus should be tested.
> > >
> > > Sebastien
> > >
> > >
> > > On Wed, 2016-06-29 at 08:30 -0700, Samuel Just wrote:
> > > >
> > > > Ah, sorry. See src/test/osd/RadosModel.* and
> > > > src/test/osd/TestRados.cc. It's gotten to be a somewhat kludgy
> > > mess,
> > > >
> > > > but it's a really valuable stress test for verifying that the
> > > > osd
> > > and
> > > >
> > > > librados are behaving properly, especially when combined with
> > > failure
> > > >
> > > > injection and osd thrashing. I'd like to either create a (less
> > > > kludgy, I can only hope) seperate version for librados striper,
> > > or
> > > >
> > > > add
> > > > a flag to the existing one which causes it to use the striper
> > > instead
> > > >
> > > > (and only allows ops where it makes sense). libradosstriper
> > > should
> > > >
> > > > have the same ordering properties for piplined writes as normal
> > > > librados (right?), so modifying the existing test would
> > > > probably
> > > get
> > > >
> > > > us the most coverage for the least effort.
> > > > -Sam
> > > >
> > > > On Wed, Jun 29, 2016 at 8:03 AM, Sebastien Ponce
> > > > <sebastien.ponce@cern.ch> wrote:
> > > > >
> > > > >
> > > > > Well, I'm not sure what you are exactly looking for : I see
> > > > > now
> > > > > that I
> > > > > look more carefully that there is a file called
> > > > > ceph_test_rados
> > > > > that
> > > > > looks like a wrapper around the ceph_test_rados_* tests.
> > > > > The equivalent does not seem to exist for striper (although
> > > > > the
> > > > > same
> > > > > wrapper would probably work), but the
> > > > > ceph_test_rados_striper_*
> > > > > tests
> > > > > do exist.
> > > > > Should we/I create a wrapper for striper ? I'm not sure I
> > > > > have
> > > the
> > > >
> > > > >
> > > > > whole understanding of the structure of the whole test
> > > system...
> > > >
> > > > >
> > > > >
> > > > > Sebastien
> > > > >
> > > > >
> > > > > On Tue, 2016-06-28 at 09:07 -0700, Samuel Just wrote:
> > > > > >
> > > > > >
> > > > > > I don't remember anything like ceph_test_rados which uses
> > > > > > libradosstriper. Did I miss it?
> > > > > > -Sam
> > > > > >
> > > > > > On Mon, Jun 27, 2016 at 8:27 PM, Sebastien Ponce
> > > > > > <sebastien.ponce@cern.ch> wrote:
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Would be great indeed. As it's already there, it can be
> > > done
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > already
> > > > > > > now.
> > > > > > >
> > > > > > > Sebastien
> > > > > > >
> > > > > > > On Mon, 2016-06-27 at 15:25 -0700, Samuel Just wrote:
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > The something like ceph_test_rados could then be wired
> > > into
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > ceph-qa-suite to be tested with osd thrashing to ensure
> > > that
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > ordering
> > > > > > > > works and continues to work as expected.
> > > > > > > > -Sam
> > > > > > > >
> > > > > > > > On Mon, Jun 27, 2016 at 3:18 PM, Sage Weil <sweil@redha
> > > > > > > > t.
> > > com>
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi Sebastien,
> > > > > > > > >
> > > > > > > > > Do you mind updating us on the current status of
> > > > > > > > > libradosstriper? Where
> > > > > > > > > does it stand feature-wise with what you need, how
> > > > > > > > > are
> > > you
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > currently using
> > > > > > > > > it or how do you plan to use it, and what is still
> > > missing?
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Also, one thing we really want to see is test
> > > > > > > > > coverage
> > > for
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > the
> > > > > > > > > code
> > > > > > > > > so
> > > > > > > > > that we can comfortably point users toward it. This
> > > > > > > > > ideally
> > > > > > > > > would
> > > > > > > > > look
> > > > > > > > > something like the ceph_test_rados_api_* tests that
> > > verify
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > individual
> > > > > > > > > operations behave as expected, and/or something like
> > > > > > > > > ceph_test_rados that
> > > > > > > > > throws random operations at is and verifies it
> > > > > > > > > returns
> > > > > > > > > correct
> > > > > > > > > results
> > > > > > > > > that match its in-memory model.
> > > > > > > > >
> > > > > > > > > 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/majord
> > > > > > > > > om
> > > o-in
> > > >
> > > > >
> > > > > >
> > > > > > >
> > > > > > > >
> > > > > > > > >
> > > > > > > > > fo.h
> > > > > > > > > tml
> > > > > > --
> > > > > > 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-in
> > > > > > fo
> > > .htm
> > > >
> > > > >
> > > > > >
> > > > > > l
--
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
^ permalink raw reply [flat|nested] 15+ messages in thread
* libradosstriper
@ 2017-08-17 19:18 Jesse Williamson
2017-08-17 21:39 ` libradosstriper Gregory Farnum
0 siblings, 1 reply; 15+ messages in thread
From: Jesse Williamson @ 2017-08-17 19:18 UTC (permalink / raw)
To: Squid Cybernetic
Hi folks,
What are the future plans for libradosstriper? Are we planning on keeping
it around, or does the crystal ball forsee a fond farewell?
-Jesse
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2017-08-17 19:18 libradosstriper Jesse Williamson
@ 2017-08-17 21:39 ` Gregory Farnum
2017-08-18 8:28 ` libradosstriper Dan van der Ster
0 siblings, 1 reply; 15+ messages in thread
From: Gregory Farnum @ 2017-08-17 21:39 UTC (permalink / raw)
To: Jesse Williamson; +Cc: Squid Cybernetic
On Thu, Aug 17, 2017 at 12:18 PM, Jesse Williamson <jwilliamson@suse.de> wrote:
>
> Hi folks,
>
> What are the future plans for libradosstriper? Are we planning on keeping it
> around, or does the crystal ball forsee a fond farewell?
I've not heard any talk of removing it, and I don't think it adds much
load to carry on.
Although I also think the CERN guys who were maintaining it said
they're not making use of it any more, so I don't know if anybody
feels any dedication to maintaining it either.
-Greg
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2017-08-17 21:39 ` libradosstriper Gregory Farnum
@ 2017-08-18 8:28 ` Dan van der Ster
2017-08-18 18:35 ` libradosstriper Nathan Cutler
2017-08-18 23:38 ` libradosstriper Gregory Farnum
0 siblings, 2 replies; 15+ messages in thread
From: Dan van der Ster @ 2017-08-18 8:28 UTC (permalink / raw)
To: Gregory Farnum; +Cc: Jesse Williamson, Squid Cybernetic, Giuseppe Lo Presti
On Thu, Aug 17, 2017 at 11:39 PM, Gregory Farnum <gfarnum@redhat.com> wrote:
> On Thu, Aug 17, 2017 at 12:18 PM, Jesse Williamson <jwilliamson@suse.de> wrote:
>>
>> Hi folks,
>>
>> What are the future plans for libradosstriper? Are we planning on keeping it
>> around, or does the crystal ball forsee a fond farewell?
>
> I've not heard any talk of removing it, and I don't think it adds much
> load to carry on.
>
> Although I also think the CERN guys who were maintaining it said
> they're not making use of it any more, so I don't know if anybody
> feels any dedication to maintaining it either.
(cc'ing my colleague Giuseppe)
In fact it is still used at CERN and we're aware of at least one other
user in our HEP community at RAL. Xrootd -- the storage framework we
use heavily in HEP -- has a Ceph module built around libradosstriper.
As to maintenance, it's true that the original contributor is
currently on a different assignment, so it hasn't seen much dev
activity. Are there any issues we should be aware of that need
following up?
Cheers, Dan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2017-08-18 8:28 ` libradosstriper Dan van der Ster
@ 2017-08-18 18:35 ` Nathan Cutler
2017-08-18 23:38 ` libradosstriper Gregory Farnum
1 sibling, 0 replies; 15+ messages in thread
From: Nathan Cutler @ 2017-08-18 18:35 UTC (permalink / raw)
To: Dan van der Ster, Gregory Farnum
Cc: Jesse Williamson, Squid Cybernetic, Giuseppe Lo Presti
> As to maintenance, it's true that the original contributor is
> currently on a different assignment, so it hasn't seen much dev
> activity. Are there any issues we should be aware of that need
> following up?
If it's not being maintained, would it make sense to have a
WITH_RADOSSTRIPER toggle so one could build Ceph without it?
Nathan
^ permalink raw reply [flat|nested] 15+ messages in thread
* Re: libradosstriper
2017-08-18 8:28 ` libradosstriper Dan van der Ster
2017-08-18 18:35 ` libradosstriper Nathan Cutler
@ 2017-08-18 23:38 ` Gregory Farnum
1 sibling, 0 replies; 15+ messages in thread
From: Gregory Farnum @ 2017-08-18 23:38 UTC (permalink / raw)
To: Dan van der Ster; +Cc: Jesse Williamson, Squid Cybernetic, Giuseppe Lo Presti
On Fri, Aug 18, 2017 at 1:28 AM, Dan van der Ster <dan@vanderster.com> wrote:
> On Thu, Aug 17, 2017 at 11:39 PM, Gregory Farnum <gfarnum@redhat.com> wrote:
>> On Thu, Aug 17, 2017 at 12:18 PM, Jesse Williamson <jwilliamson@suse.de> wrote:
>>>
>>> Hi folks,
>>>
>>> What are the future plans for libradosstriper? Are we planning on keeping it
>>> around, or does the crystal ball forsee a fond farewell?
>>
>> I've not heard any talk of removing it, and I don't think it adds much
>> load to carry on.
>>
>> Although I also think the CERN guys who were maintaining it said
>> they're not making use of it any more, so I don't know if anybody
>> feels any dedication to maintaining it either.
>
> (cc'ing my colleague Giuseppe)
>
> In fact it is still used at CERN and we're aware of at least one other
> user in our HEP community at RAL. Xrootd -- the storage framework we
> use heavily in HEP -- has a Ceph module built around libradosstriper.
>
> As to maintenance, it's true that the original contributor is
> currently on a different assignment, so it hasn't seen much dev
> activity. Are there any issues we should be aware of that need
> following up?
I'm not aware of any issues at the time. Just not having an active
maintainer does make it susceptible to bitrot; and I'e seen a few
queries go by on the lists that I don't think anybody was able to
answer. So those are the potential avenues that would prompt a
removal, but AFAIK no issues yet.
-Greg
^ permalink raw reply [flat|nested] 15+ messages in thread
end of thread, other threads:[~2017-08-18 23:38 UTC | newest]
Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-27 22:18 libradosstriper Sage Weil
2016-06-27 22:25 ` libradosstriper Samuel Just
2016-06-28 3:27 ` libradosstriper Sebastien Ponce
2016-06-28 16:07 ` libradosstriper Samuel Just
2016-06-29 15:03 ` libradosstriper Sebastien Ponce
2016-06-29 15:30 ` libradosstriper Samuel Just
2016-06-29 15:44 ` libradosstriper Sebastien Ponce
[not found] ` <CAN=+7FXwB45kLA+W7U_cyWkEOtykGpuYXXGv2Xh9wkBo_sXLMQ@mail.gmail.com>
2016-06-30 7:47 ` libradosstriper Sebastien Ponce
2016-07-11 12:35 ` libradosstriper Sebastien Ponce
2016-06-28 3:26 ` libradosstriper Sebastien Ponce
-- strict thread matches above, loose matches on Subject: below --
2017-08-17 19:18 libradosstriper Jesse Williamson
2017-08-17 21:39 ` libradosstriper Gregory Farnum
2017-08-18 8:28 ` libradosstriper Dan van der Ster
2017-08-18 18:35 ` libradosstriper Nathan Cutler
2017-08-18 23:38 ` libradosstriper Gregory Farnum
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.