commit | 12ddb96cb6752218d8a1aeb696ec9b0ca7adb42f | [log] [tgz] |
---|---|---|
author | Josef Bacik <josef@redhat.com> | Tue Apr 05 13:02:27 2011 -0400 |
committer | Josef Bacik <josef@redhat.com> | Fri Apr 08 13:00:34 2011 -0400 |
tree | cffdb38f2f479dde85d5f96879e53ac4b8f4d6ef | |
parent | 06d5a5899d6d3ac401d2359b5eac6d2a3a0fe331 [diff] |
Btrfs: map the inode item when doing fill_inode_item 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>