]> git.baikalelectronics.ru Git - 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)
commit9cd7aca332857df436f4ba1c78f91d77e64f0b69
tree624be7d8c0e5dca21d476557bdaf2b881dc85b18
parenta9e001adc2c00c53f208519e3e6739095d480774
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