lkml.org 
[lkml]   [2012]   [May]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [dm-devel] [Bcache v13 01/16] Only clone bio vecs that are in use
    On Wed, May 09, 2012 at 11:08:13PM -0400, Kent Overstreet wrote:

    [..]
    > -
    > - if (bio_integrity(bio)) {
    > - bio_integrity_clone(clone, bio, GFP_NOIO, bs);
    > -
    > +#if 0
    > + if (bio_integrity(bio))
    > if (idx != bio->bi_idx || clone->bi_size < bio->bi_size)
    > bio_integrity_trim(clone,
    > bio_sector_offset(bio, idx, 0), len);
    > - }
    > -
    > +#endif

    Dead/debug code under "#if 0" ?

    Thanks
    Vivek


    \
     
     \ /
      Last update: 2012-05-11 00:01    [W:0.023 / U:64.592 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site