Re: [PATCH 4/4] writeback: Reporting dirty thresholds in /proc/vmstat

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Wu Fengguang
Date: Friday, August 20, 2010 - 10:48 pm

On Fri, Aug 20, 2010 at 05:31:29PM +0800, Michael Rubin wrote:

I realized that the dirty thresholds has already been exported here:

$ grep Thresh  /debug/bdi/8:0/stats
BdiDirtyThresh:     381000 kB
DirtyThresh:       1719076 kB
BackgroundThresh:   859536 kB

So why not use that interface directly?

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

Messages in current thread:
[PATCH 0/4] writeback: kernel visibility, Michael Rubin, (Fri Aug 20, 2:31 am)
Re: [PATCH 4/4] writeback: Reporting dirty thresholds in / ..., Wu Fengguang, (Fri Aug 20, 10:48 pm)