btrfs: remove bio splitting and merge_bvec_fn() calls
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 3 Dec 2013 02:30:25 +0000 (18:30 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 13 Aug 2015 18:31:43 +0000 (12:31 -0600)
Btrfs has been doing bio splitting from btrfs_map_bio(), by checking
device limits as well as calling ->merge_bvec_fn() etc. That is not
necessary any more, because generic_make_request() is now able to
handle arbitrarily sized bios. So clean up unnecessary code paths.

Cc: Chris Mason <clm@fb.com>
Cc: Josef Bacik <jbacik@fb.com>
Cc: linux-btrfs@vger.kernel.org
Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
Signed-off-by: Chris Mason <clm@fb.com>
[dpark: add more description in commit message]
Signed-off-by: Dongsu Park <dpark@posteo.net>
Signed-off-by: Ming Lin <ming.l@ssi.samsung.com>
Signed-off-by: Jens Axboe <axboe@fb.com>
fs/btrfs/volumes.c

Simple merge