Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761288Ab2EJVgF (ORCPT ); Thu, 10 May 2012 17:36:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:32116 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1760267Ab2EJVgD (ORCPT ); Thu, 10 May 2012 17:36:03 -0400 Date: Thu, 10 May 2012 17:35:56 -0400 From: Vivek Goyal To: Kent Overstreet Cc: linux-bcache@vger.kernel.org, linux-kernel@vger.kernel.org, dm-devel@redhat.com, tejun@google.com, agk@redhat.com Subject: Re: [dm-devel] [Bcache v13 01/16] Only clone bio vecs that are in use Message-ID: <20120510213556.GO23768@redhat.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 653 Lines: 25 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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/