[Drbd-dev] [PATCH v5 08/12] block: Introduce new bio_split()

Tejun Heo tj at kernel.org
Thu Aug 9 01:05:32 CEST 2012


One more thing.

On Mon, Aug 06, 2012 at 03:08:37PM -0700, Kent Overstreet wrote:
> +	if (bio_integrity(bio)) {
> +		bio_integrity_clone(ret, bio, gfp, bs);
> +		bio_integrity_trim(ret, 0, bio_sectors(ret));
> +		bio_integrity_trim(bio, bio_sectors(ret), bio_sectors(bio));

Is this equivalent to bio_integrity_split() performance-wise?

Thanks.

-- 
tejun


More information about the drbd-dev mailing list