]> git.karo-electronics.de Git - linux-beck.git/commit
ext4: Use atomic_t's in struct flex_groups
authorTheodore Ts'o <tytso@mit.edu>
Thu, 5 Mar 2009 00:09:10 +0000 (19:09 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Thu, 5 Mar 2009 00:09:10 +0000 (19:09 -0500)
commit9f24e4208f7ee2748f157368b63287dc903fcf60
tree255989fe69ebfb2b031dc7cf6dbe975df67c711a
parentb713a5ec55bf73c833f9883cdd761b20ee61a1ab
ext4: Use atomic_t's in struct flex_groups

Reduce pressure on the sb_bgl_lock family of locks by using atomic_t's
to track the number of free blocks and inodes in each flex_group.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
fs/ext4/balloc.c
fs/ext4/ext4.h
fs/ext4/ialloc.c
fs/ext4/mballoc.c
fs/ext4/resize.c
fs/ext4/super.c