]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
xfs: extsize hints are not unlikely in xfs_bmap_btalloc
authorChristoph Hellwig <hch@lst.de>
Wed, 25 Jan 2017 16:59:43 +0000 (08:59 -0800)
committerDarrick J. Wong <darrick.wong@oracle.com>
Wed, 25 Jan 2017 16:59:43 +0000 (08:59 -0800)
commit493611ebd62673f39e2f52c2561182c558a21cb6
tree624be7d8c0e5dca21d476557bdaf2b881dc85b18
parent5a93790d4e2df73e30c965ec6e49be82fc3ccfce
xfs: extsize hints are not unlikely in xfs_bmap_btalloc

With COW files they are the hotpath, just like for files with the
extent size hint attribute.  We really shouldn't micro-manage anything
but failure cases with unlikely.

Additionally Arnd Bergmann recently reported that one of these two
unlikely annotations causes link failures together with an upcoming
kernel instrumentation patch, so let's get rid of it ASAP.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
fs/xfs/libxfs/xfs_bmap.c