Re: [PATCH 46/60] block: deal with dirtying pages for multipage bvec

2016-10-31 Thread Ming Lei
On Mon, Oct 31, 2016 at 11:40 PM, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 04:08:45PM +0800, Ming Lei wrote: >> In bio_check_pages_dirty(), bvec->bv_page is used as flag >> for marking if the page has been dirtied & released, and if >> no, it will be dirtied in deferred workqueue. >> >>

Re: [PATCH 46/60] block: deal with dirtying pages for multipage bvec

2016-10-31 Thread Christoph Hellwig
On Sat, Oct 29, 2016 at 04:08:45PM +0800, Ming Lei wrote: > In bio_check_pages_dirty(), bvec->bv_page is used as flag > for marking if the page has been dirtied & released, and if > no, it will be dirtied in deferred workqueue. > > With multipage bvec, we can't do that any more, so change > the lo