]> git.karo-electronics.de Git - karo-tx-linux.git/commit
GFS2: Add Orlov allocator
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 31 Oct 2012 10:37:10 +0000 (10:37 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 31 Oct 2012 10:37:10 +0000 (10:37 +0000)
commit8144a48a31f4dab8e7e703978856c6ae5204f64e
tree19c918a66d341c31106cb55a9957485fe394ebcf
parent066d27dbbfb17eb8be41f2208163bc692070d236
GFS2: Add Orlov allocator

Just like ext3, this works on the root directory and any directory
with the +T flag set. Also, just like ext3, any subdirectory created
in one of the just mentioned cases will be allocated to a random
resource group (GFS2 equivalent of a block group).

If you are creating a set of directories, each of which will contain a
job running on a different node, then by setting +T on the parent
directory before creating the subdirectories, each will land up in a
different resource group, and thus resource group contention between
nodes will be kept to a minimum.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/aops.c
fs/gfs2/bmap.c
fs/gfs2/file.c
fs/gfs2/inode.c
fs/gfs2/quota.c
fs/gfs2/rgrp.c
fs/gfs2/rgrp.h
fs/gfs2/xattr.c