]> git.karo-electronics.de Git - linux-beck.git/commit
xfs: extsize hints are not unlikely in xfs_bmap_btalloc
authorChristoph Hellwig <hch@lst.de>
Thu, 2 Feb 2017 07:56:09 +0000 (08:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 4 Feb 2017 08:47:12 +0000 (09:47 +0100)
commit29f96b7e9023929f8bd80b5e1f53d4e6db3c434f
treee9d3b13d0d33ae67cece6079897257240a8f5544
parentaab858dabd5ee4df1d8876449db2ef7868d1b5d0
xfs: extsize hints are not unlikely in xfs_bmap_btalloc

commit 493611ebd62673f39e2f52c2561182c558a21cb6 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
fs/xfs/libxfs/xfs_bmap.c