Skip to contentSkip to conversation

Master needs newer version of boost on centos?

DISCUSSION Matt W. Benjamin 2 participants 3 messages Feb 17, 2014 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,

I think the offset,length change is probably not correct, since we need to span the range actually being written.

Also we think that overlapping intervals are possible.

Matt

Quoted 281 lines · ----- "Sage Weil
Quoted 3 lines · Matt W. Benjamin

Hi,

I don't know, that's an interesting catch. I guess it's not really

feasible to do

Quoted 1 line

anything accept ack this, for now.

Probably given that we need to be able to build, but really it comes down to one questions and a sanity check:

- Does the (start,end) -> (start, length) fix look right? AFAICS it's

coming straight from the caller, so it should only break something if the
external caller is also broken.

- Is span supposed to contain overlapping intervals? If so, then our

internal type is not sufficient.

sage

Quoted 9 lines

Matt

Quoted 4 lines · ----- "Sage Weil
Quoted 3 lines · Matt W. Benjamin

Hi Sage,

I originally used this, and it was replaced with the Boost

version

Quoted 9 lines
Quoted 9 lines

as part

Quoted 1 line

of a bugfix.

I wonder if the bug was our internal class asserting because of an

overlapping interval due to the (start, end) thing?

s

Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Matt

Quoted 3 lines · ----- "Sage Weil

Hi Matt,

I pushed wip-interval-set, which replaces the boost

interval_set

Quoted 5 lines
Quoted 5 lines

with

Quoted 4 lines
Quoted 4 lines

our
internal type. As far as I can see it is only being used for

intersects(), which we support. As long as the interval_set

isn't

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

supposed to handle overlapping sets (ours doesn't) this should

be

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

fine.

I did notice one discrepancy where one user was passing in

(start,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

length) and the other was using (start, end). I switched it

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

(start,
offset) (since that's what our class does) but didn't verify

the

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

semantics
were what was originally intended... can you take a look?

	https://github.com/ceph/ceph/pull/1253

Thanks!
sage

On Fri, 14 Feb 2014, Matt W. Benjamin wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

yarg, sorry

Quoted 1 line · ----- "Josh Durgin

ICL was added in 1.46 according to

http://www.boost.org/doc/libs/.

Quoted 1 line
Quoted 1 line

This also fails on debian wheezy with only 1.42

available:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

http://tracker.ceph.com/issues/7422

On 02/14/2014 04:26 PM, Matt W. Benjamin wrote:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

according to google, 1.41 ahould have it.

Quoted 4 lines · ----- "Sage Weil
Quoted 1 line · Matt W. Benjamin

but we haven't built on centos, to my knowledge...

I think the question is really: is there an

interval_set

Quoted 5 lines
Quoted 5 lines

in

Quoted 4 lines
Quoted 4 lines

boost

Quoted 3 lines
Quoted 3 lines

1.41

Quoted 2 lines
Quoted 2 lines

that you can use, can you use something else instead,

or do

Quoted 5 lines
Quoted 5 lines

we

Quoted 4 lines
Quoted 4 lines

need

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines

do
a boost backport in order to build for centos/rhel

6.x?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

sage

Quoted 3 lines

----- "Matt W. Benjamin" <[email protected]> wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

oh, ok. I think they need an extra boost rpm?

Quoted 3 lines · ----- "Sage Weil

Hey Matt,

This is in the libcephfs code I merged yesterday.

Any

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

ideas?

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Thanks!
sage

Quoted 2 lines · Sandon Van Ness

The last couple builds of master have been failing

on

Quoted 12 lines
Quoted 12 lines

the

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines

centos

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

gitbuilder.

Quoted 3 lines

here is the build log:

http://gitbuilder.sepia.ceph.com/gitbuilder-centos6-amd64/log.cgi?log=f47062d8a66b94743888aaea13e0766579379395

Quoted 18 lines
Quoted 18 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Its running into:

CXX mds/Capability.lo
CXX mds/Dumper.lo
In file included from client/Client.h:38,
from libcephfs.cc:21:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

error: client/barrier.h:25:38:

boost/icl/interval_set.hpp:

Quoted 5 lines
Quoted 5 lines

No

Quoted 4 lines

such

Quoted 3 lines

file or directory

It looks like its not effecting fedora gitbuilders

that

Quoted 2 lines
Quoted 2 lines

have

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

newer

Quoted 2 lines

version

Quoted 1 line

of boost but on centos/rhel the version is only

1.41.0-18.

Quoted 4 lines
Quoted 4 lines

Is

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

there

Quoted 2 lines

something

Quoted 1 line

we can do to get around this without back-porting

or

Quoted 76 lines
Quoted 76 lines

will

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

backporting a newer

Quoted 3 lines

boost for rhel/centos be necessary?
--
To unsubscribe from this list: send the line

"unsubscribe

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 3 lines

ceph-devel" in

Quoted 2 lines

the body of a message to [email protected]
More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 2 lines
Quoted 2 lines

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309

--
To unsubscribe from this list: send the line

"unsubscribe

Quoted 49 lines
Quoted 42 lines
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
Quoted 19 lines

ceph-devel"

Quoted 3 lines
Quoted 3 lines

in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 14 lines

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309
Quoted 2 lines
Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel"

Quoted 3 lines
Quoted 3 lines

in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 14 lines
Signature · 11 lines
-- 
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
Signature · 4 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104
Quoted 21 lines
Quoted 7 lines
Quoted 7 lines

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
Signature · 12 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel" in

Quoted 4 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 10 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
#2 lore raw
Quoted 6 lines · Matt W. Benjamin

Hi,

I think the offset,length change is probably not correct, since we need to span the range actually being written.

Also we think that overlapping intervals are possible.

Yeah, it looks like it.

Pushed wip-barrier, which fixes the interval and another small item that I noticed, but then just disables barriers to fix the build.

Note that I see two places wehre intersect() is used. One is in commit_barrier, but this is comparing two static intervals, so the full class isn't really necessary. (The internal one could be used, but this is a degenerate case so it is probably just easier to open-code the range checks.)

The other case is write_barrier(), where we are using span, which likely does include overlapping intervals (assuming that overlapping writes are possible, which I assume they are). This is non-trivial to change.

BTW looking at that function, it looks like the cond blocking behavior is broken. done is set to true after the cond variable wakes up, but that change isn't guarded by the condition check (a signal can cause a wakeup). Probably the done variable and check shoudl be there at all so that the condition is verified before the function completes.

Anyway, unless you have a quick fix in mind, let's merge this now and hopefully get this fixed up in the next couple of weeks before release?

	https://github.com/ceph/ceph/pull/1254

Thanks!
sage

Quoted 304 lines

Matt

Quoted 281 lines · ----- "Sage Weil
Quoted 3 lines · Matt W. Benjamin

Hi,

I don't know, that's an interesting catch. I guess it's not really

feasible to do

Quoted 1 line

anything accept ack this, for now.

Probably given that we need to be able to build, but really it comes down to one questions and a sanity check:

- Does the (start,end) -> (start, length) fix look right? AFAICS it's

coming straight from the caller, so it should only break something if the
external caller is also broken.

- Is span supposed to contain overlapping intervals? If so, then our

internal type is not sufficient.

sage

Quoted 9 lines

Matt

Quoted 4 lines · ----- "Sage Weil
Quoted 3 lines · Matt W. Benjamin

Hi Sage,

I originally used this, and it was replaced with the Boost

version

Quoted 9 lines
Quoted 9 lines

as part

Quoted 1 line

of a bugfix.

I wonder if the bug was our internal class asserting because of an

overlapping interval due to the (start, end) thing?

s

Quoted 1 line
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

Matt

Quoted 3 lines · ----- "Sage Weil

Hi Matt,

I pushed wip-interval-set, which replaces the boost

interval_set

Quoted 5 lines
Quoted 5 lines

with

Quoted 4 lines
Quoted 4 lines

our
internal type. As far as I can see it is only being used for

intersects(), which we support. As long as the interval_set

isn't

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

supposed to handle overlapping sets (ours doesn't) this should

be

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

fine.

I did notice one discrepancy where one user was passing in

(start,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

length) and the other was using (start, end). I switched it

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

(start,
offset) (since that's what our class does) but didn't verify

the

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

semantics
were what was originally intended... can you take a look?

	https://github.com/ceph/ceph/pull/1253

Thanks!
sage

On Fri, 14 Feb 2014, Matt W. Benjamin wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

yarg, sorry

Quoted 1 line · ----- "Josh Durgin

ICL was added in 1.46 according to

http://www.boost.org/doc/libs/.

Quoted 1 line
Quoted 1 line

This also fails on debian wheezy with only 1.42

available:

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

http://tracker.ceph.com/issues/7422

On 02/14/2014 04:26 PM, Matt W. Benjamin wrote:

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

according to google, 1.41 ahould have it.

Quoted 4 lines · ----- "Sage Weil
Quoted 1 line · Matt W. Benjamin

but we haven't built on centos, to my knowledge...

I think the question is really: is there an

interval_set

Quoted 5 lines
Quoted 5 lines

in

Quoted 4 lines
Quoted 4 lines

boost

Quoted 3 lines
Quoted 3 lines

1.41

Quoted 2 lines
Quoted 2 lines

that you can use, can you use something else instead,

or do

Quoted 5 lines
Quoted 5 lines

we

Quoted 4 lines
Quoted 4 lines

need

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines

do
a boost backport in order to build for centos/rhel

6.x?

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

sage

Quoted 3 lines

----- "Matt W. Benjamin" <[email protected]> wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

oh, ok. I think they need an extra boost rpm?

Quoted 3 lines · ----- "Sage Weil

Hey Matt,

This is in the libcephfs code I merged yesterday.

Any

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

ideas?

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Thanks!
sage

On Fri, 14 Feb 2014, Sandon Van Ness wrote:

The last couple builds of master have been failing

on

Quoted 12 lines
Quoted 12 lines

the

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines

centos

Quoted 6 lines
Quoted 6 lines
Quoted 5 lines

gitbuilder.
here is the build log:

http://gitbuilder.sepia.ceph.com/gitbuilder-centos6-amd64/log.cgi?log=f47062d8a66b94743888aaea13e0766579379395

Quoted 18 lines
Quoted 18 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Its running into:

CXX mds/Capability.lo
CXX mds/Dumper.lo
In file included from client/Client.h:38,
from libcephfs.cc:21:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line

error: client/barrier.h:25:38:

boost/icl/interval_set.hpp:

Quoted 5 lines
Quoted 5 lines

No

Quoted 4 lines

such
file or directory

It looks like its not effecting fedora gitbuilders

that

Quoted 2 lines
Quoted 2 lines

have

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

a

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

newer

Quoted 2 lines

version
of boost but on centos/rhel the version is only

1.41.0-18.

Quoted 4 lines
Quoted 4 lines

Is

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

there

Quoted 2 lines

something
we can do to get around this without back-porting

or

Quoted 76 lines
Quoted 76 lines

will

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

backporting a newer
boost for rhel/centos be necessary?
--
To unsubscribe from this list: send the line

"unsubscribe

Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 13 lines
Quoted 3 lines

ceph-devel" in
the body of a message to [email protected]
More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 2 lines

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309

--
To unsubscribe from this list: send the line

"unsubscribe

Quoted 49 lines
Quoted 42 lines
Quoted 21 lines
Quoted 21 lines
Quoted 20 lines
Quoted 19 lines

ceph-devel"

Quoted 3 lines
Quoted 3 lines

in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 14 lines

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309
Quoted 2 lines
Quoted 2 lines

--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel"

Quoted 3 lines
Quoted 3 lines

in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 14 lines
Signature · 11 lines
-- 
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
Signature · 4 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104
Quoted 21 lines
Quoted 7 lines
Quoted 7 lines

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
Signature · 12 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel" in

Quoted 4 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 14 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
#3 lore raw

Hi,

Ok, sure, will follow up.

Matt

Quoted 380 lines · ----- "Sage Weil
Quoted 3 lines · Matt W. Benjamin

Hi,

I think the offset,length change is probably not correct, since we

need

Quoted 3 lines

to span the range actually being written.

Also we think that overlapping intervals are possible.

Yeah, it looks like it.

Pushed wip-barrier, which fixes the interval and another small item that I
noticed, but then just disables barriers to fix the build.

Note that I see two places wehre intersect() is used. One is in commit_barrier, but this is comparing two static intervals, so the full
class isn't really necessary. (The internal one could be used, but this
is a degenerate case so it is probably just easier to open-code the range
checks.)

The other case is write_barrier(), where we are using span, which likely does include overlapping intervals (assuming that overlapping writes are possible, which I assume they are). This is non-trivial to

change.

BTW looking at that function, it looks like the cond blocking behavior is
broken. done is set to true after the cond variable wakes up, but that
change isn't guarded by the condition check (a signal can cause a wakeup). Probably the done variable and check shoudl be there at all so
that the condition is verified before the function completes.

Anyway, unless you have a quick fix in mind, let's merge this now and

hopefully get this fixed up in the next couple of weeks before release?

	https://github.com/ceph/ceph/pull/1254

Thanks!
sage

Quoted 9 lines

Matt

Quoted 4 lines · ----- "Sage Weil
Quoted 3 lines · Matt W. Benjamin

Hi,

I don't know, that's an interesting catch. I guess it's not

really

Quoted 4 lines
Quoted 4 lines

feasible to do

Quoted 1 line

anything accept ack this, for now.

Probably given that we need to be able to build, but really it

comes

Quoted 3 lines
Quoted 3 lines

down to one questions and a sanity check:

- Does the (start,end) -> (start, length) fix look right? AFAICS

it's

Quoted 2 lines
Quoted 2 lines

coming straight from the caller, so it should only break something

if

Quoted 4 lines
Quoted 4 lines

the
external caller is also broken.

- Is span supposed to contain overlapping intervals? If so, then

our

Quoted 13 lines
Quoted 13 lines

internal type is not sufficient.

sage

Quoted 6 lines

Matt

Quoted 1 line · ----- "Sage Weil

On Mon, 17 Feb 2014, Matt W. Benjamin wrote:

Quoted 8 lines
Quoted 8 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi Sage,

I originally used this, and it was replaced with the Boost

version

Quoted 4 lines
Quoted 4 lines

as part

Quoted 1 line

of a bugfix.

I wonder if the bug was our internal class asserting because

of an

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

overlapping interval due to the (start, end) thing?

s

Quoted 5 lines

Matt

----- "Sage Weil" <[email protected]> wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

Hi Matt,

I pushed wip-interval-set, which replaces the boost

interval_set

Quoted 3 lines
Quoted 3 lines

with

Quoted 2 lines
Quoted 2 lines

our
internal type. As far as I can see it is only being used

for

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

intersects(), which we support. As long as the

interval_set

Quoted 3 lines
Quoted 3 lines

isn't

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

supposed to handle overlapping sets (ours doesn't) this

should

Quoted 4 lines
Quoted 4 lines

be

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

fine.

I did notice one discrepancy where one user was passing

in

Quoted 3 lines
Quoted 3 lines

(start,

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

length) and the other was using (start, end). I switched

it

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

(start,
offset) (since that's what our class does) but didn't

verify

Quoted 23 lines
Quoted 23 lines

the

Quoted 11 lines
Quoted 11 lines
Quoted 11 lines
Quoted 11 lines

semantics
were what was originally intended... can you take a look?

	https://github.com/ceph/ceph/pull/1253

Thanks!
sage

On Fri, 14 Feb 2014, Matt W. Benjamin wrote:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 5 lines

yarg, sorry

Quoted 1 line · ----- "Josh Durgin

ICL was added in 1.46 according to

http://www.boost.org/doc/libs/.

Quoted 1 line
Quoted 1 line

This also fails on debian wheezy with only 1.42

available:

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

http://tracker.ceph.com/issues/7422

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines · Matt W. Benjamin
Quoted 6 lines

according to google, 1.41 ahould have it.

Quoted 2 lines · ----- "Sage Weil
Quoted 1 line · Matt W. Benjamin

but we haven't built on centos, to my

knowledge...

Quoted 8 lines
Quoted 8 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

I think the question is really: is there an

interval_set

Quoted 5 lines
Quoted 5 lines

in

Quoted 4 lines
Quoted 4 lines

boost

Quoted 3 lines
Quoted 3 lines

1.41

Quoted 2 lines
Quoted 2 lines

that you can use, can you use something else

instead,

Quoted 12 lines
Quoted 12 lines

or do

Quoted 5 lines
Quoted 5 lines

we

Quoted 4 lines
Quoted 4 lines

need

Quoted 3 lines
Quoted 3 lines

to

Quoted 2 lines
Quoted 2 lines

do
a boost backport in order to build for centos/rhel

6.x?

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

sage

Quoted 2 lines

----- "Matt W. Benjamin" <[email protected]>

Quoted 8 lines · wrote:
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

oh, ok. I think they need an extra boost rpm?

----- "Sage Weil" <[email protected]> wrote:

Hey Matt,

This is in the libcephfs code I merged

yesterday.

Quoted 11 lines
Quoted 11 lines

Any

Quoted 10 lines
Quoted 10 lines
Quoted 10 lines
Quoted 10 lines

ideas?

Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines
Quoted 9 lines

Thanks!
sage

On Fri, 14 Feb 2014, Sandon Van Ness wrote:

The last couple builds of master have been

failing

Quoted 4 lines
Quoted 4 lines

on

Quoted 3 lines
Quoted 3 lines

the

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

centos

Quoted 1 line
Quoted 1 line

gitbuilder.

Quoted 10 lines
Quoted 10 lines
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 8 lines
Quoted 7 lines
Quoted 7 lines
Quoted 6 lines
Quoted 6 lines
Quoted 5 lines
Quoted 5 lines

here is the build log:

http://gitbuilder.sepia.ceph.com/gitbuilder-centos6-amd64/log.cgi?log=f47062d8a66b94743888aaea13e0766579379395

Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines
Quoted 8 lines

Its running into:

CXX mds/Capability.lo
CXX mds/Dumper.lo
In file included from client/Client.h:38,
from libcephfs.cc:21:

Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 7 lines
Quoted 1 line
Quoted 1 line

error: client/barrier.h:25:38:

boost/icl/interval_set.hpp:

Quoted 5 lines
Quoted 5 lines

No
such
file or directory

It looks like its not effecting fedora

gitbuilders

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

that

Quoted 5 lines
Quoted 5 lines

have

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

a

Quoted 3 lines
Quoted 3 lines

newer
version
of boost but on centos/rhel the version is

only

Quoted 5 lines
Quoted 5 lines
Quoted 5 lines
Quoted 5 lines

1.41.0-18.

Quoted 4 lines
Quoted 4 lines

Is

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

there
something
we can do to get around this without

back-porting

Quoted 9 lines
Quoted 9 lines

or

Quoted 8 lines
Quoted 8 lines

will

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

backporting a newer
boost for rhel/centos be necessary?
--
To unsubscribe from this list: send the line

"unsubscribe

Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

ceph-devel" in
the body of a message to

[email protected]

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines

More majordomo info at
http://vger.kernel.org/majordomo-info.html

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

tel. 734-761-4689
fax. 734-769-8938
cel. 734-216-5309
--
To unsubscribe from this list: send the line

Quoted 4 lines
Quoted 4 lines
Quoted 4 lines
Quoted 4 lines

"unsubscribe

Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines
Quoted 3 lines

ceph-devel"

Quoted 2 lines
Quoted 2 lines

in
the body of a message to

[email protected]

Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 18 lines
Quoted 17 lines
Quoted 16 lines
Quoted 1 line
Quoted 1 line

More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 14 lines

--
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI 48104

http://linuxbox.com

tel.  734-761-4689
fax.  734-769-8938
cel.  734-216-5309
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

--
To unsubscribe from this list: send the line

"unsubscribe

Quoted 42 lines
Quoted 42 lines
Quoted 42 lines
Quoted 33 lines
Quoted 33 lines
Quoted 19 lines

ceph-devel"

Quoted 3 lines
Quoted 3 lines

in
the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 14 lines
Signature · 11 lines
-- 
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
Signature · 10 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
Signature · 6 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com
Quoted 8 lines
Quoted 8 lines
Quoted 5 lines
tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 

--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel" in

Quoted 2 lines

the body of a message to [email protected] More majordomo info at

http://vger.kernel.org/majordomo-info.html

Quoted 16 lines
Quoted 2 lines
Quoted 2 lines
Signature · 12 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309 
--
To unsubscribe from this list: send the line "unsubscribe

ceph-devel" in

Quoted 4 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 10 lines
Matt Benjamin
The Linux Box
206 South Fifth Ave. Suite 150
Ann Arbor, MI  48104

http://linuxbox.com

tel.  734-761-4689 
fax.  734-769-8938 
cel.  734-216-5309