I'd like to continue on Dongsu's effort to push Kent's block-stuff upstream.
This is a preparation series for simplifying block layer based on immutable biovecs, a spin off of the v2 of simplifying patchset. [1] The original goal of simplifying block layer was actually making generic_make_request() accept arbitrarily sized bios, and pushing the splitting down to the underlying drivers. This patchset aims at cleaning up several parts that are independent of core changes in the block layer. Doing that, it could be possible to change block layer relatively easily without keeping up with many patches. This patchset should be first applied prior to upcoming patchsets such as "simplify block layer based on immutable biovecs." This patchset itself should not bring any regression to end-users. Changes in v3: - rebase on top of Jen's bio-cnt branch - drop patches 1 and 2 that were already upstream - lib/iovec.c was gone, so move iov_count_pages to block/bio.c Changes in v2: - split up preparation patches from v1 into this separate series. - In the patch 02, pass iov_iter by value to __bio_copy_iov(), and split into read/write variants, as suggested by Christoph Hellwig. - minor changes like writing more commit messages etc. [1] https://lkml.org/lkml/2014/12/22/128 Kent Overstreet (4): block: refactor iov_count_pages() from bio_{copy,map}_user_iov() md/raid10: make sync_request_write() call bio_copy_data() fs: make _submit_bh consistent with generic bio chaining PM: submit bio in a sane way in cases without bio_chain block/bio.c | 70 +++++++++++++++++++++++++++++++++------------------------------------- drivers/md/raid10.c | 20 +++++--------------- fs/buffer.c | 4 ++-- kernel/power/block_io.c | 23 ++++++++++++++++++----- 4 files changed, 58 insertions(+), 59 deletions(-) -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/