Thread (1 message) 1 message, 1 author, 2008-11-07

Re: [patch 3/4] io controller: Core IO controller implementation logic

From: KAMEZAWA Hiroyuki <hidden>
Date: 2008-11-07 03:21:45

On Thu, 06 Nov 2008 10:30:25 -0500
vgoyal@redhat.com wrote:
o Core IO controller implementation

Signed-off-by: Vivek Goyal <vgoyal@redhat.com>
2 comments after a quick look.

 - I don't recommend generic work queue. More stacked dependency between "work"
   is not good. (I think disk-driver uses "work" for their jobs.)

 - It seems this bio-cgroup can queue the bio to infinite. Then, a process can submit
   io unitl cause OOM.
   (IIUC, Dirty bit of the page is cleared at submitting I/O. 
    Then dirty_ratio can't help us.)
   please add "wait for congestion by sleeping" code in bio-cgroup.


Thanks,
-Kame
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help