Skip to contentSkip to conversation

wip-libcephfs-firefly-rb

DISCUSSION Matt W. Benjamin 2 participants 5 messages Feb 8, 2014 – Feb 11, 2014

lore
Share & tools
lore
#0 lore raw

Hi Sage and Ceph devs,

Casey over here root-caused and we believe fixed the refcounting problem on our wip-libcephfs branch, and a rebase to firefly is in progress.

The fix is on wip-libcephfs-firefly-rb :

"""
fuse: fix for missing ll_ref on create
when the 'Inode **outp' argument was added to ll_create(), it was changed to only take the ll_ref if outp was not NULL. fuse_ll_create() was calling ll_create() with outp=NULL, and subsequently calling fuse_reply_create() (which causes fuse to increment the lookup count) without registering the initial ll_ref

this patch adds a dummy inode pointer i2 to the ll_create() call to claim our initial reference

"""

We're still finishing up the rebase, but I expect to have one tested by some time tomorrow am.

Thanks,

Matt

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 
#1 lore raw

Hey Matt, Casey,

This is great news! Please let me know as soon as the rebase is ready and there is a pull-request so I get this run through the test suite. This is the last week before the firefly freeze and it would be great to get this libcephfs API update into that release.

sage

Quoted 44 lines · Matt W. Benjamin

Hi Sage and Ceph devs,

Casey over here root-caused and we believe fixed the refcounting problem on our wip-libcephfs branch, and a rebase to firefly is in progress.

The fix is on wip-libcephfs-firefly-rb :

"""
fuse: fix for missing ll_ref on create
when the 'Inode **outp' argument was added to ll_create(), it was changed to only take the ll_ref if outp was not NULL. fuse_ll_create() was calling ll_create() with outp=NULL, and subsequently calling fuse_reply_create() (which causes fuse to increment the lookup count) without registering the initial ll_ref

this patch adds a dummy inode pointer i2 to the ll_create() call to claim our initial reference

"""

We're still finishing up the rebase, but I expect to have one tested by some time tomorrow am.

Thanks,

Matt

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
#2 lore raw

Hi,

It looks to me like the rebase was already done--I thought Casey needed me to finish that up, but everything just built for me.

Matt

Quoted 68 lines · ----- "Sage Weil

Hey Matt, Casey,

This is great news! Please let me know as soon as the rebase is ready and
there is a pull-request so I get this run through the test suite. This is
the last week before the firefly freeze and it would be great to get this
libcephfs API update into that release.

sage

Quoted 3 lines · Matt W. Benjamin

Hi Sage and Ceph devs,

Casey over here root-caused and we believe fixed the refcounting

problem on our wip-libcephfs branch, and

Quoted 8 lines

a rebase to firefly is in progress.

The fix is on wip-libcephfs-firefly-rb :

"""
fuse: fix for missing ll_ref on create
when the 'Inode **outp' argument was added to ll_create(), it was changed to only take the ll_ref if outp was not NULL.

fuse_ll_create()

Quoted 2 lines

was calling ll_create() with outp=NULL, and subsequently calling fuse_reply_create() (which causes fuse to increment the lookup

count)

Quoted 9 lines

without registering the initial ll_ref

this patch adds a dummy inode pointer i2 to the ll_create() call to claim our initial reference

"""

We're still finishing up the rebase, but I expect to have one tested

by some time tomorrow am.

Quoted 18 lines

Thanks,

Matt

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

--
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

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 
#3 lore raw
Quoted 4 lines · Matt W. Benjamin

Hi,

It looks to me like the rebase was already done--I thought Casey needed me to finish that up, but everything just built for me.

What is the URL for the posted branch?

Thanks!
sage

Quoted 91 lines

Matt

Quoted 68 lines · ----- "Sage Weil

Hey Matt, Casey,

This is great news! Please let me know as soon as the rebase is ready and
there is a pull-request so I get this run through the test suite. This is
the last week before the firefly freeze and it would be great to get this
libcephfs API update into that release.

sage

Quoted 3 lines · Matt W. Benjamin

Hi Sage and Ceph devs,

Casey over here root-caused and we believe fixed the refcounting

problem on our wip-libcephfs branch, and

Quoted 8 lines

a rebase to firefly is in progress.

The fix is on wip-libcephfs-firefly-rb :

"""
fuse: fix for missing ll_ref on create
when the 'Inode **outp' argument was added to ll_create(), it was changed to only take the ll_ref if outp was not NULL.

fuse_ll_create()

Quoted 2 lines

was calling ll_create() with outp=NULL, and subsequently calling fuse_reply_create() (which causes fuse to increment the lookup

count)

Quoted 9 lines

without registering the initial ll_ref

this patch adds a dummy inode pointer i2 to the ll_create() call to claim our initial reference

"""

We're still finishing up the rebase, but I expect to have one tested

by some time tomorrow am.

Quoted 18 lines

Thanks,

Matt

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

--
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

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
#4 lore raw

This should be it:

https://github.com/linuxbox2/linuxbox-ceph/tree/wip-libcephfs-firefly-rb

Matt

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

Hi,

It looks to me like the rebase was already done--I thought Casey

needed me to finish that up,

Quoted 1 line

but everything just built for me.

What is the URL for the posted branch?

Thanks!
sage

Quoted 8 lines

Matt

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

Hey Matt, Casey,

This is great news! Please let me know as soon as the rebase is

ready

Quoted 5 lines
Quoted 5 lines

and
there is a pull-request so I get this run through the test suite.

This is
the last week before the firefly freeze and it would be great to

get

Quoted 10 lines
Quoted 10 lines

this
libcephfs API update into that release.

sage

Quoted 3 lines · Matt W. Benjamin

Hi Sage and Ceph devs,

Casey over here root-caused and we believe fixed the

refcounting

Quoted 8 lines
Quoted 8 lines

problem on our wip-libcephfs branch, and

Quoted 7 lines

a rebase to firefly is in progress.

The fix is on wip-libcephfs-firefly-rb :

"""
fuse: fix for missing ll_ref on create
when the 'Inode **outp' argument was added to ll_create(), it

was

Quoted 3 lines
Quoted 3 lines
Quoted 1 line

changed to only take the ll_ref if outp was not NULL.

fuse_ll_create()

Quoted 1 line

was calling ll_create() with outp=NULL, and subsequently

calling

Quoted 5 lines
Quoted 5 lines
Quoted 1 line

fuse_reply_create() (which causes fuse to increment the lookup

count)

Quoted 3 lines

without registering the initial ll_ref

this patch adds a dummy inode pointer i2 to the ll_create() call

to

Quoted 6 lines
Quoted 6 lines
Quoted 6 lines

claim our initial reference

"""

We're still finishing up the rebase, but I expect to have one

tested

Quoted 14 lines
Quoted 14 lines

by some time tomorrow am.

Quoted 13 lines

Thanks,

Matt

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 4 lines
Quoted 4 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 · 13 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