]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: inline csums if we're fsyncing
authorJosef Bacik <jbacik@fusionio.com>
Fri, 16 Nov 2012 18:56:32 +0000 (13:56 -0500)
committerChris Mason <chris.mason@fusionio.com>
Mon, 17 Dec 2012 01:46:22 +0000 (20:46 -0500)
commit57dbbb27bcd1df47edf22d599e04e84a67a06e46
tree81f116613d7642b80a5a23668b7642d7931ad672
parent1737131a9404f3a28aaeaf95311f4cafb192884e
Btrfs: inline csums if we're fsyncing

The tree logging stuff needs the csums to be on the ordered extents in order
to log them properly, so mark that we're sync and inline the csum creation
so we don't have to wait on the csumming to be done when logging extents
that are still in flight.  Thanks,

Signed-off-by: Josef Bacik <jbacik@fusionio.com>
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
fs/btrfs/btrfs_inode.h
fs/btrfs/file.c
fs/btrfs/inode.c