Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031261AbbDWXEw (ORCPT ); Thu, 23 Apr 2015 19:04:52 -0400 Received: from mailout3.samsung.com ([203.254.224.33]:18315 "EHLO mailout3.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031174AbbDWXEt (ORCPT ); Thu, 23 Apr 2015 19:04:49 -0400 X-AuditID: cbfee61b-f79536d000000f1f-88-55397a8fc2ed From: Ming Lin To: linux-kernel@vger.kernel.org Cc: Christoph Hellwig , Kent Overstreet , Jens Axboe , Dongsu Park Subject: [PATCH v3 0/4] preparation for block layer simplification Date: Thu, 23 Apr 2015 16:04:31 -0700 Message-id: <1429830275-6792-1-git-send-email-mlin@kernel.org> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFvrAJMWRmVeSWpSXmKPExsVy+t9jQd3+KstQg/5zchar7/azWVxevYrd 4vSERUwWR5qqLC7vmsPmwOqxc9Zddo/NK7Q8Lp8t9fjz5zOzx+dNcgGsUVw2Kak5mWWpRfp2 CVwZT5v2sxd84Ks4Me0TWwNjI08XIyeHhICJxLZFK1ggbDGJC/fWs3UxcnEICUxnlHj4fRIr hPOTUWLhzInMIFVsAgoSB9dtYAKxRYDszb3PwIqYBZYwSrxq2Q1WJCzgJPH871RGEJtFQFXi y72VYA28AnYS07fvhVonJ3Hy2GTWCYzcCxgZVjGKphYkFxQnpeca6RUn5haX5qXrJefnbmIE h8Mz6R2MqxosDjEKcDAq8fB+KLIIFWJNLCuuzD3EKMHBrCTCy15uGSrEm5JYWZValB9fVJqT WnyIUZqDRUmcd46uXKiQQHpiSWp2ampBahFMlomDU6qBMXBW4ob7z64a+oZ/nxm2h23RNJ5S mZ1FGq5Ln6lk7jjAyBq8WvLlife1j1exPWecebDrC8/ki3zrQm5ryr26JFscaf9DR/XfjBS1 kIILv/+87dj7TXrtLS6uFF72d8lVJTLLzmx+XiXptyVrDov6Ql+jgtsc7AIqXDMW77aw1YrZ VZKhHLMuRImlOCPRUIu5qDgRAInkoxEDAgAA Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2107 Lines: 47 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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/