Btrfs: map the inode item when doing fill_inode_item
authorJosef Bacik <josef@redhat.com>
Tue, 5 Apr 2011 17:02:27 +0000 (13:02 -0400)
committerJosef Bacik <josef@redhat.com>
Fri, 8 Apr 2011 17:00:34 +0000 (13:00 -0400)
Instead of calling kmap_atomic for every thing we set in the inode item, map the
entire inode item at the start and unmap it at the end.  This makes a sequential
dd of 400mb O_DIRECT something like 1% faster.  Thanks,

Signed-off-by: Josef Bacik <josef@redhat.com>

No differences found