]> 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)
commit551f42729e6c0b27f5f82671316f1ed7fd689c24
tree0e99d795e6ff65abb5b923e5d5adf1113da50691
parent3bae27d578e0fd02558a254c7c299430dae9b34a
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