]> git.baikalelectronics.ru Git - kernel.git/commit
GFS2: Use proper allocation context for new inodes
authorSteven Whitehouse <swhiteho@redhat.com>
Wed, 31 Oct 2012 10:30:22 +0000 (10:30 +0000)
committerSteven Whitehouse <swhiteho@redhat.com>
Wed, 7 Nov 2012 13:32:42 +0000 (13:32 +0000)
commit05cb5728c656c2a4383e240d38f2e33e46672191
treeedcf950235d2c1c35c0c5431f011ab14d09cb532
parent8a134620e27466e8763f42417c544f96c5ea47ae
GFS2: Use proper allocation context for new inodes

Rather than using the parent directory's allocation context, this
patch allocated the new inode earlier in the process and then uses
it to contain all the information required. As a result, we can now
use the new inode's own allocation context to allocate it rather
than having to use the parent directory's context. This give us a
lot more flexibility in where the inode is placed on disk.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
fs/gfs2/inode.c