]> git.baikalelectronics.ru Git - kernel.git/commit
Btrfs: check if an inode has no checksum when logging it
authorLiu Bo <bo.li.liu@oracle.com>
Wed, 29 Aug 2012 07:07:56 +0000 (01:07 -0600)
committerChris Mason <chris.mason@fusionio.com>
Mon, 1 Oct 2012 19:19:06 +0000 (15:19 -0400)
commita11899c9ac5414f1feb74ebc037eacfcc0f423c2
tree66e0cf6f3826641f2f46782cd98f3715ea15ae18
parent7033fc291ae2cbdeaf104b02407c7e7d16e9c616
Btrfs: check if an inode has no checksum when logging it

This is based on Josef's "Btrfs: turbo charge fsync".

If an inode is a BTRFS_INODE_NODATASUM one, we don't need to look for csum
items any more.

Signed-off-by: Liu Bo <bo.li.liu@oracle.com>
fs/btrfs/tree-log.c