Re: [patch 3/4] io controller: Core IO controller implementationlogic
From: KAMEZAWA Hiroyuki
Date: Thu Nov 06 2008 - 22:22:39 EST
On Thu, 06 Nov 2008 10:30:25 -0500
vgoyal@xxxxxxxxxx wrote:
>
> o Core IO controller implementation
>
> Signed-off-by: Vivek Goyal <vgoyal@xxxxxxxxxx>
>
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/