Re: [RFC PATCH 05/17] btrfs: remove bio splitting and merge_bvec_fn() calls

From: Chris Mason
Date: Tue Dec 23 2014 - 09:44:34 EST


On Mon, Dec 22, 2014 at 6:48 AM, Dongsu Park <dongsu.park@xxxxxxxxxxxxxxxx> wrote:
From: Kent Overstreet <kmo@xxxxxxxxxxxxx>

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.

Signed-off-by: Kent Overstreet <kmo@xxxxxxxxxxxxx>
[dpark: add more description in commit message]
Signed-off-by: Dongsu Park <dongsu.park@xxxxxxxxxxxxxxxx>
Cc: Chris Mason <clm@xxxxxx>
Cc: Josef Bacik <jbacik@xxxxxx>
Cc: linux-btrfs@xxxxxxxxxxxxxxx
---

Looks good, I'll test it here too. Thanks!

Signed-off-by: Chris Mason <clm@xxxxxx>



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/