summaryrefslogtreecommitdiff
path: root/mm/truncate.c
diff options
context:
space:
mode:
authorAndrew Morton <akpm@osdl.org>2006-12-10 02:19:27 -0800
committerLinus Torvalds <torvalds@woody.osdl.org>2006-12-10 09:55:41 -0800
commit55e829af06681e5d731c03ba04febbd1c76ca293 (patch)
tree4304030be250d913f56696ffda8ae660fb17b110 /mm/truncate.c
parent8c08540f8755c451d8b96ea14cfe796bc3cd712d (diff)
downloadlinux-3.10-55e829af06681e5d731c03ba04febbd1c76ca293.tar.gz
linux-3.10-55e829af06681e5d731c03ba04febbd1c76ca293.tar.bz2
linux-3.10-55e829af06681e5d731c03ba04febbd1c76ca293.zip
[PATCH] io-accounting: write accounting
Accounting writes is fairly simple: whenever a process flips a page from clean to dirty, we accuse it of having caused a write to underlying storage of PAGE_CACHE_SIZE bytes. This may overestimate the amount of writing: the page-dirtying may cause only one buffer_head's worth of writeout. Fixing that is possible, but probably a bit messy and isn't obviously important. Cc: Jay Lan <jlan@sgi.com> Cc: Shailabh Nagar <nagar@watson.ibm.com> Cc: Balbir Singh <balbir@in.ibm.com> Cc: Chris Sturtivant <csturtiv@sgi.com> Cc: Tony Ernst <tee@sgi.com> Cc: Guillaume Thouvenin <guillaume.thouvenin@bull.net> Cc: David Wright <daw@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'mm/truncate.c')
0 files changed, 0 insertions, 0 deletions