]> git.baikalelectronics.ru Git - kernel.git/commit
block: bio_remaining_done() isn't unlikely
authorChristoph Hellwig <hch@lst.de>
Fri, 11 Mar 2016 16:34:53 +0000 (17:34 +0100)
committerJens Axboe <axboe@fb.com>
Mon, 14 Mar 2016 14:55:25 +0000 (08:55 -0600)
commite1153e4c9b25f29439c8925784b609769a22b2d3
tree609935ecfa54b2e31752f375ec1dfb46cf3fca71
parent52c536113a0a197e5110a7cbf70080ac83b1e2f0
block: bio_remaining_done() isn't unlikely

We use bio chaining during most I/Os these days due to the delayed
bio splitting.  Additionally XFS will start using it, and there is
a pending direct I/O rewrite also making heavy use for it.  Don't
pretend it's always unlikely, and let the branch predictor do it's
job instead.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
block/bio.c