Re: [PATCH v2 04/13] md: prepare for managing resync I/O pages in clean way

2017-03-02 Thread Ming Lei
On Fri, Mar 3, 2017 at 1:55 AM, Shaohua Li wrote: > On Thu, Mar 02, 2017 at 10:09:14AM +0800, Ming Lei wrote: >> Hi Shaohua, >> >> On Wed, Mar 1, 2017 at 7:30 AM, Shaohua Li wrote: >> > On Tue, Feb 28, 2017 at 11:41:34PM +0800, Ming Lei wrote: >> >> Now resync I/O use bio's bec table to manage pa

Re: [PATCH v2 04/13] md: prepare for managing resync I/O pages in clean way

2017-03-02 Thread Shaohua Li
On Thu, Mar 02, 2017 at 10:09:14AM +0800, Ming Lei wrote: > Hi Shaohua, > > On Wed, Mar 1, 2017 at 7:30 AM, Shaohua Li wrote: > > On Tue, Feb 28, 2017 at 11:41:34PM +0800, Ming Lei wrote: > >> Now resync I/O use bio's bec table to manage pages, > >> this way is very hacky, and may not work any mo

Re: [PATCH v2 04/13] md: prepare for managing resync I/O pages in clean way

2017-03-01 Thread Ming Lei
Hi Shaohua, On Wed, Mar 1, 2017 at 7:30 AM, Shaohua Li wrote: > On Tue, Feb 28, 2017 at 11:41:34PM +0800, Ming Lei wrote: >> Now resync I/O use bio's bec table to manage pages, >> this way is very hacky, and may not work any more >> once multipage bvec is introduced. >> >> So introduce helpers an

Re: [PATCH v2 04/13] md: prepare for managing resync I/O pages in clean way

2017-02-28 Thread Shaohua Li
On Tue, Feb 28, 2017 at 11:41:34PM +0800, Ming Lei wrote: > Now resync I/O use bio's bec table to manage pages, > this way is very hacky, and may not work any more > once multipage bvec is introduced. > > So introduce helpers and new data structure for > managing resync I/O pages more cleanly. >