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)
commit0e28997ec476bad4c7dbe0a08775290051325f53
treee20b1d1e3296c032ae98db632e082f1676eaa12a
parent749b61dab30736eb95b1ee23738cae90973d4fc3
btrfs: remove bio splitting and merge_bvec_fn() calls

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