lkml.org 
[lkml]   [2018]   [Jun]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH V6 15/30] block: introduce bio_clone_chunk_bioset()
On Thu, Jun 14, 2018 at 10:01:38AM +0800, Ming Lei wrote:
> Bounce limits the max pages as 256 will do bio splitting, so won't need
> this change.

Behavior for the bounce code does not change with my patch.

The important points are:

- the default interface (bio_clone_bioset in this case) should always
operate on full biosets
- if the bounce code needs bioves limited to single pages it should
be treated as the special case
- given that the bounce code is inside the block layer using the
__-prefixed internal interface is perfectly fine
- last but not least I think the parameter switching the behavior
needs a much more descriptive name as suggested in my patch

\
 
 \ /
  Last update: 2018-06-14 08:40    [W:0.071 / U:6.928 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site