Re: [PATCH 6/8] bio-cgroup: The body of bio-cgroup

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Takuya Yoshikawa
Date: Friday, November 14, 2008 - 12:01 am

Hi,

Ryo Tsuruta wrote:



If I understand correctly io_contexts allocated by alloc_io_context() should
be owned by some tasks. In this case, the newly created io_context has no
owner though biog->io_context->nr_tasks == 1. With the cfq scheduler this may
cause some problems especially when cic_free_func() is called because
cfq_exit_io_context() would never be called. Am I wrong?


Here, I suspects what will happen under the following condition:
biog->io_context->refcount: 1 --> 0
biog->io_context->nr_tasks: 1 --> 1
==> cfq_dtor() will be called but cfq_exit() has not be called yet.




Thanks,
Takuya Yoshikawa
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 0/8] I/O bandwidth controller and BIO tracking, Ryo Tsuruta, (Wed Nov 12, 8:10 pm)
[PATCH 1/8] dm-ioband: Introduction, Ryo Tsuruta, (Wed Nov 12, 8:11 pm)
[PATCH 2/8] dm-ioband: Source code and patch, Ryo Tsuruta, (Wed Nov 12, 8:12 pm)
[PATCH 3/8] dm-ioband: Document, Ryo Tsuruta, (Wed Nov 12, 8:12 pm)
[PATCH 4/8] bio-cgroup: Introduction, Ryo Tsuruta, (Wed Nov 12, 8:13 pm)
[PATCH 5/8] bio-cgroup: The new page_cgroup framework, Ryo Tsuruta, (Wed Nov 12, 8:13 pm)
[PATCH 6/8] bio-cgroup: The body of bio-cgroup, Ryo Tsuruta, (Wed Nov 12, 8:14 pm)
[PATCH 7/8] bio-cgroup: Page tracking hooks, Ryo Tsuruta, (Wed Nov 12, 8:15 pm)
Re: [PATCH 0/8] I/O bandwidth controller and BIO tracking, KAMEZAWA Hiroyuki, (Wed Nov 12, 11:30 pm)
Re: [dm-devel] Re: [PATCH 0/8] I/O bandwidth controller an ..., Hirokazu Takahashi, (Thu Nov 13, 12:26 am)
Re: [dm-devel] [PATCH 1/8] dm-ioband: Introduction, Phillip Susi, (Thu Nov 13, 12:36 pm)
Re: [dm-devel] Re: [PATCH 0/8] I/O bandwidth controller an ..., Hirokazu Takahashi, (Thu Nov 13, 4:15 pm)
Re: [dm-devel] [PATCH 1/8] dm-ioband: Introduction, Hirokazu Takahashi, (Thu Nov 13, 4:18 pm)
Re: [dm-devel] [PATCH 1/8] dm-ioband: Introduction, Ryo Tsuruta, (Thu Nov 13, 6:38 pm)
Re: [PATCH 6/8] bio-cgroup: The body of bio-cgroup, Takuya Yoshikawa, (Fri Nov 14, 12:01 am)
Re: [PATCH 6/8] bio-cgroup: The body of bio-cgroup, Hirokazu Takahashi, (Sun Nov 16, 4:46 am)
[PATCH 6/8]Re: bio-cgroup: The body of bio-cgroup, Takuya Yoshikawa, (Mon Nov 17, 12:50 am)