]> 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)
commitecfb5388933e30e7bf4634681e380e12480cfeea
tree624be7d8c0e5dca21d476557bdaf2b881dc85b18
parent8ad076d2b4ad760ea948ae0b0915559a697a224c
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