Re: [PATCH -mm 2/3] i/o bandwidth controller infrastructure

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Li Zefan
Date: Sunday, July 13, 2008 - 7:25 pm

> +/* The various types of throttling algorithms */

It's better to explicitly assigned 0 to IOTHROTTLE_LEAKY_BUCKET.



use strsep()


why not parse dev before parse bandwidth limit ?


redundant kmalloc, just use buffer, and ...


and you should specify .max_write_len = XXX unless XXX <= 64.
You use 1024 in v4.

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

Messages in current thread:
[PATCH -mm 2/3] i/o bandwidth controller infrastructure, Andrea Righi, (Sat Jul 12, 4:31 am)
Re: [PATCH -mm 2/3] i/o bandwidth controller infrastructure, Li Zefan, (Sun Jul 13, 7:25 pm)