]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: extsize hints are not unlikely in xfs_bmap_btalloc
authorChristoph Hellwig <hch@lst.de>
Thu, 16 Feb 2017 03:04:03 +0000 (21:04 -0600)
committerEric Sandeen <sandeen@redhat.com>
Thu, 16 Feb 2017 03:04:03 +0000 (21:04 -0600)
commit3f5dd6c606403929888b82fad51314c4ff6754cb
treecbdcd07716d4a21bdb644a31c0e96b645c9a9be1
parent4be4441fca81c4412b05a01309d89802de18b2b1
xfs: extsize hints are not unlikely in xfs_bmap_btalloc

Source kernel commit: 493611ebd62673f39e2f52c2561182c558a21cb6

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: Eric Sandeen <sandeen@sandeen.net>
libxfs/xfs_bmap.c