Btrfs: avoid unnecessary utimes update in incremental send
authorFilipe Manana <fdmanana@gmail.com>
Mon, 3 Mar 2014 12:28:40 +0000 (12:28 +0000)
committerJosef Bacik <jbacik@fb.com>
Mon, 10 Mar 2014 19:17:18 +0000 (15:17 -0400)
commitfcbd2154d16431395e86a48859a5b547c33c09ad
tree0e99d795e6ff65abb5b923e5d5adf1113da50691
parente2127cf008be01c6aa9db463470c0668a85d6fe4
Btrfs: avoid unnecessary utimes update in incremental send

When we're finishing processing of an inode, if we're dealing with a
directory inode that has a pending move/rename operation, we don't
need to send a utimes update instruction to the send stream, as we'll
do it later after doing the move/rename operation. Therefore we save
some time here building paths and doing btree lookups.

Signed-off-by: Filipe David Borba Manana <fdmanana@gmail.com>
Signed-off-by: Josef Bacik <jbacik@fb.com>
fs/btrfs/send.c