lkml.org 
[lkml]   [2015]   [Apr]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH 02/10] block: simplify bio_add_page()
From
On Tue, Apr 28, 2015 at 5:12 AM, Christoph Hellwig <hch@lst.de> wrote:
> On Mon, Apr 27, 2015 at 11:48:29PM -0700, Ming Lin wrote:
>> Note that removing call to ->merge_bvec_fn() is fine for
>> bio_add_pc_page(), as SCSI devices usually don't even need that.
>> Few exceptional cases like pscsi or osd are not affected either.
>
> This explanation confuses me. Based on my reading of the code I'd
> replace it with something like:
>
> Removing the call to ->merge_bvec_fn() is also fine, as no driver that
> implements support for BLOCK_PC commands even has a ->merge_bvec_fn()
> method.

Will update it.


\
 
 \ /
  Last update: 2015-04-29 08:01    [W:0.089 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site