Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 03:35:04PM -0700, Zach Brown wrote: > > Alright... send it out then. > > Workin' on it! :) > > > Also, do you know which branch Jens has his patches in? > > http://git.kernel.dk/?p=linux-block.git;a=commit;h=6b6723fc3e4f24dbd80526df935ca115ead578c6 > >

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Zach Brown
> Alright... send it out then. Workin' on it! :) > Also, do you know which branch Jens has his patches in? http://git.kernel.dk/?p=linux-block.git;a=commit;h=6b6723fc3e4f24dbd80526df935ca115ead578c6 https://plus.google.com/111643045511375507360/posts As far as I know, he hasn't had a chance

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 11:27:55AM -0700, Zach Brown wrote: > On Mon, Oct 08, 2012 at 11:39:18PM -0700, Kent Overstreet wrote: > > The refcounting before wasn't very clear; there are two refcounts in > > struct kioctx, with an unclear relationship between them (or between > > them and ctx->dead).

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Zach Brown
On Mon, Oct 08, 2012 at 11:39:18PM -0700, Kent Overstreet wrote: > The refcounting before wasn't very clear; there are two refcounts in > struct kioctx, with an unclear relationship between them (or between > them and ctx->dead). > > Now, reqs_active holds a refcount on users (when reqs_active is

[PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
The refcounting before wasn't very clear; there are two refcounts in struct kioctx, with an unclear relationship between them (or between them and ctx->dead). Now, reqs_active holds a refcount on users (when reqs_active is nonzero), and the initial refcount is taken on reqs_active - when

[PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
The refcounting before wasn't very clear; there are two refcounts in struct kioctx, with an unclear relationship between them (or between them and ctx-dead). Now, reqs_active holds a refcount on users (when reqs_active is nonzero), and the initial refcount is taken on reqs_active - when ctx-dead

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Zach Brown
On Mon, Oct 08, 2012 at 11:39:18PM -0700, Kent Overstreet wrote: The refcounting before wasn't very clear; there are two refcounts in struct kioctx, with an unclear relationship between them (or between them and ctx-dead). Now, reqs_active holds a refcount on users (when reqs_active is

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 11:27:55AM -0700, Zach Brown wrote: On Mon, Oct 08, 2012 at 11:39:18PM -0700, Kent Overstreet wrote: The refcounting before wasn't very clear; there are two refcounts in struct kioctx, with an unclear relationship between them (or between them and ctx-dead).

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Zach Brown
Alright... send it out then. Workin' on it! :) Also, do you know which branch Jens has his patches in? http://git.kernel.dk/?p=linux-block.git;a=commit;h=6b6723fc3e4f24dbd80526df935ca115ead578c6 https://plus.google.com/111643045511375507360/posts As far as I know, he hasn't had a chance to

Re: [PATCH 3/5] aio: Rewrite refcounting

2012-10-09 Thread Kent Overstreet
On Tue, Oct 09, 2012 at 03:35:04PM -0700, Zach Brown wrote: Alright... send it out then. Workin' on it! :) Also, do you know which branch Jens has his patches in? http://git.kernel.dk/?p=linux-block.git;a=commit;h=6b6723fc3e4f24dbd80526df935ca115ead578c6