From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin K. Petersen" Subject: Re: [PATCH v2] block: fix regression where bio_integrity_process uses wrong bio_vec iterator Date: Tue, 25 Nov 2014 23:57:18 -0500 Message-ID: References: <20141126014025.GD10050@birch.djwong.org> Mime-Version: 1.0 Content-Type: text/plain Cc: Jens Axboe , "Martin K. Petersen" , linux-kernel@vger.kernel.org, linux-fsdevel To: "Darrick J. Wong" Return-path: In-Reply-To: <20141126014025.GD10050@birch.djwong.org> (Darrick J. Wong's message of "Tue, 25 Nov 2014 17:40:25 -0800") Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-fsdevel.vger.kernel.org >>>>> "Darrick" == Darrick J Wong writes: Darrick> Therefore, teach bio_integrity_process() to use Darrick> bio_for_each_segment() to iterate the bio_vecs, since the Darrick> per-bio iterator tracks which bio_vecs are associated with that Darrick> particular bio. The integrity handling code is effectively Darrick> part of the "driver" (it's not the bio owner), so it must use Darrick> the correct iterator function. Acked-by: Martin K. Petersen -- Martin K. Petersen Oracle Linux Engineering