]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ext4: Add percpu dirty block accounting.
authorAneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Fri, 10 Oct 2008 13:39:00 +0000 (09:39 -0400)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 10 Oct 2008 13:39:00 +0000 (09:39 -0400)
commit6bc6e63fcd7dac9e633ea29f1fddd9580ab28f3f
tree144d53023af5faeb94b9b3aa28e186a33e6c5b98
parent030ba6bc67b4f2bc5cd174f57785a1745c929abe
ext4: Add percpu dirty block accounting.

This patch adds dirty block accounting using percpu_counters.  Delayed
allocation block reservation is now done by updating dirty block
counter.  In a later patch we switch to non delalloc mode if the
filesystem free blocks is greater than 150% of total filesystem dirty
blocks

Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Mingming Cao<cmm@us.ibm.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/ext4_sb.h
fs/ext4/inode.c
fs/ext4/mballoc.c
fs/ext4/super.c