Re: [PATCH 23/60] block: introduce flag QUEUE_FLAG_NO_MP

2016-10-29 Thread Ming Lei
On Sat, Oct 29, 2016 at 11:29 PM, Christoph Hellwig wrote: > On Sat, Oct 29, 2016 at 04:08:22PM +0800, Ming Lei wrote: >> MD(especially raid1 and raid10) is a bit difficult to support >> multipage bvec, so introduce this flag for not enabling multipage >> bvec, then MD can still accept singlepage

Re: [PATCH 23/60] block: introduce flag QUEUE_FLAG_NO_MP

2016-10-29 Thread Christoph Hellwig
On Sat, Oct 29, 2016 at 04:08:22PM +0800, Ming Lei wrote: > MD(especially raid1 and raid10) is a bit difficult to support > multipage bvec, so introduce this flag for not enabling multipage > bvec, then MD can still accept singlepage bvec only, and once > direct access to bvec table in MD and other

[PATCH 23/60] block: introduce flag QUEUE_FLAG_NO_MP

2016-10-29 Thread Ming Lei
MD(especially raid1 and raid10) is a bit difficult to support multipage bvec, so introduce this flag for not enabling multipage bvec, then MD can still accept singlepage bvec only, and once direct access to bvec table in MD and other fs/drivers are cleanuped, the flag can be removed. BTRFS has the