Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: taka
Subject:
Date: Tuesday, April 22, 2008 - 6:49 am

To agk@sourceware.org
cc: dm-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: [RFC][PATCH 0/10] I/O context inheritance
From: Hirokazu Takahashi <taka@valinux.co.jp>
X-Mailer: Mew version 5.1.52 on Emacs 21.4 / Mule 5.0 (SAKAKI)
Mime-Version: 1.0
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Hi,

This series of patches make the block I/O layer and the I/O schedulers
be able to determine the right io_context of every I/O.

The current implementation of the block I/O layer and the I/O schedulers
assume that the current process is the one which issued the given I/O,
then use the io_context of this process to control the I/O.
But this assumption isn't quite right because several kernel threads
will handle I/O requests on behalf of the processes which originated them.
This often happens when you want to use device mapper modules.

The patches make every bio has a pointer to an io_context, which will
be set when it is allocated or cloned. So it makes it possible to find
the right io_context from any bio at any place.

I'm waiting for your comments.

Thank you,
Hirokazu Takahashi.





--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[No subject], taka, (Tue Apr 22, 6:49 am)
[RFC][PATCH 1/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:51 am)
[RFC][PATCH 2/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:53 am)
[RFC][PATCH 3/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:53 am)
[RFC][PATCH 4/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:54 am)
[RFC][PATCH 5/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:55 am)
[RFC][PATCH 6/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:55 am)
[RFC][PATCH 7/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:57 am)
[RFC][PATCH 8/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:58 am)
[RFC][PATCH 9/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 6:59 am)
[RFC][PATCH 10/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 7:00 am)
Re: [RFC][PATCH 0/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 7:03 am)
Re: [RFC][PATCH 0/10] I/O context inheritance, Jens Axboe, (Tue Apr 22, 7:54 am)
Re: [dm-devel] Re: [RFC][PATCH 0/10] I/O context inheritance, Hirokazu Takahashi, (Tue Apr 22, 8:27 pm)