• Wu Fengguang's avatar
    writeback: show bdi write bandwidth in debugfs · 00821b00
    Wu Fengguang authored
    Add a "BdiWriteBandwidth" entry and indent others in /debug/bdi/*/stats.
    
    btw, increase digital field width to 10, for keeping the possibly
    huge BdiWritten number aligned at least for desktop systems.
    
    Impact: this could break user space tools if they are dumb enough to
    depend on the number of white spaces.
    
    CC: Theodore Ts'o <tytso@mit.edu>
    CC: Jan Kara <jack@suse.cz>
    CC: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Signed-off-by: default avatarWu Fengguang <fengguang.wu@intel.com>
    00821b00
backing-dev.c 21.4 KB