btrfs: remove unlikely from data-dependent branches and slow paths
authorDavid Sterba <dsterba@suse.cz>
Mon, 29 Sep 2014 23:33:33 +0000 (01:33 +0200)
committerDavid Sterba <dsterba@suse.cz>
Thu, 2 Oct 2014 14:15:21 +0000 (16:15 +0200)
There are the branch hints that obviously depend on the data being
processed, the CPU predictor will do better job according to the actual
load. It also does not make sense to use the hints in slow paths that do
a lot of other operations like locking, waiting or IO.

Signed-off-by: David Sterba <dsterba@suse.cz>
fs/btrfs/extent-tree.c
fs/btrfs/file.c
fs/btrfs/inode.c
fs/btrfs/ioctl.c
fs/btrfs/transaction.c

Simple merge
diff --cc fs/btrfs/file.c
Simple merge
Simple merge
Simple merge
Simple merge