Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Shaohua Li
On Fri, Feb 17, 2017 at 09:25:27AM +0800, Ming Lei wrote: > Hi Shaohua, > > On Fri, Feb 17, 2017 at 6:16 AM, Shaohua Li wrote: > > On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: > >> In MD's resync I/O path, there are lots of direct access to bio's > >> bvec table.

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Shaohua Li
On Fri, Feb 17, 2017 at 09:25:27AM +0800, Ming Lei wrote: > Hi Shaohua, > > On Fri, Feb 17, 2017 at 6:16 AM, Shaohua Li wrote: > > On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: > >> In MD's resync I/O path, there are lots of direct access to bio's > >> bvec table. This patchset kills

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Ming Lei
Hi Shaohua, On Fri, Feb 17, 2017 at 6:16 AM, Shaohua Li wrote: > On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: >> In MD's resync I/O path, there are lots of direct access to bio's >> bvec table. This patchset kills most of them, and the conversion >> is quite

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Ming Lei
Hi Shaohua, On Fri, Feb 17, 2017 at 6:16 AM, Shaohua Li wrote: > On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: >> In MD's resync I/O path, there are lots of direct access to bio's >> bvec table. This patchset kills most of them, and the conversion >> is quite straightforward. > > I

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Shaohua Li
On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: > In MD's resync I/O path, there are lots of direct access to bio's > bvec table. This patchset kills most of them, and the conversion > is quite straightforward. I don't like this approach. The MD uses a hacky way to manage pages

Re: [PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Shaohua Li
On Thu, Feb 16, 2017 at 07:45:30PM +0800, Ming Lei wrote: > In MD's resync I/O path, there are lots of direct access to bio's > bvec table. This patchset kills most of them, and the conversion > is quite straightforward. I don't like this approach. The MD uses a hacky way to manage pages

[PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Ming Lei
In MD's resync I/O path, there are lots of direct access to bio's bvec table. This patchset kills most of them, and the conversion is quite straightforward. Once direct access to bvec table in MD is cleaned up, we may make multipage bvec moving on. Thanks, Ming Ming Lei (17): block: introduce

[PATCH 00/17] md: cleanup on direct access to bvec table

2017-02-16 Thread Ming Lei
In MD's resync I/O path, there are lots of direct access to bio's bvec table. This patchset kills most of them, and the conversion is quite straightforward. Once direct access to bvec table in MD is cleaned up, we may make multipage bvec moving on. Thanks, Ming Ming Lei (17): block: introduce