block: Remove the control of complete cpu from bio.
authorTao Ma <boyu.mt@taobao.com>
Mon, 24 Oct 2011 14:11:30 +0000 (16:11 +0200)
committerJens Axboe <axboe@kernel.dk>
Mon, 24 Oct 2011 14:11:30 +0000 (16:11 +0200)
commit9562ad9ab36df7ccef920d119f3b5100025db95f
treeb5e32ca469cbefca4122c1a08db80cdb12e655fb
parente890413af4c2dfebf5432ef30cc70cb11dad3213
block: Remove the control of complete cpu from bio.

bio originally has the functionality to set the complete cpu, but
it is broken.

Chirstoph said that "This code is unused, and from the all the
discussions lately pretty obviously broken.  The only thing keeping
it serves is creating more confusion and possibly more bugs."

And Jens replied with "We can kill bio_set_completion_cpu(). I'm fine
with leaving cpu control to the request based drivers, they are the
only ones that can toggle the setting anyway".

So this patch tries to remove all the work of controling complete cpu
from a bio.

Cc: Shaohua Li <shaohua.li@intel.com>
Cc: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Tao Ma <boyu.mt@taobao.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-core.c
drivers/md/raid1.c
fs/bio.c
include/linux/bio.h
include/linux/blk_types.h