]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit68f363e011f03dcd16fd3f518934ea11f24177f9
tree0e99d795e6ff65abb5b923e5d5adf1113da50691
parent1df2c65b523e6b5a2854fbb566820ff8993aada2
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