From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kent Overstreet Subject: Re: linux-next: manual merge of the block tree with the tree Date: Thu, 7 Nov 2013 11:25:45 -0800 Message-ID: <20131107192545.GA20624@moria.home.lan> References: <20131101142026.10390b6e3f70de348770c137@canb.auug.org.au> <5273C473.5070803@kernel.dk> <20131102072252.88d2380fa392705b912dbfad@canb.auug.org.au> <52740EB1.2070901@kernel.dk> <527411DD.7050008@oracle.com> <527414DE.9090704@kernel.dk> <52756583.2030808@oracle.com> <527BE7FA.90904@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mail-pd0-f174.google.com ([209.85.192.174]:46001 "EHLO mail-pd0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751058Ab3KGTZT (ORCPT ); Thu, 7 Nov 2013 14:25:19 -0500 Received: by mail-pd0-f174.google.com with SMTP id z10so1037680pdj.19 for ; Thu, 07 Nov 2013 11:25:18 -0800 (PST) Content-Disposition: inline In-Reply-To: <527BE7FA.90904@oracle.com> Sender: linux-next-owner@vger.kernel.org List-ID: To: Dave Kleikamp Cc: Stephen Rothwell , Jens Axboe , linux-next@vger.kernel.org, linux-kernel@vger.kernel.org, Zach Brown , Olof Johansson On Thu, Nov 07, 2013 at 01:20:26PM -0600, Dave Kleikamp wrote: > On 11/02/2013 03:50 PM, Dave Kleikamp wrote: > > On 11/01/2013 03:53 PM, Jens Axboe wrote: > > >> So we've three immediate options: > >> > >> 1) You base it on top of the block tree > >> 2) I carry the loop updates > >> 3) You hand Stephen a merge patch for the resulting merge of the two > > > > Attached is a merge patch and the merged loop.c. I'm having problems > > with the loop driver with both the block and my tree. I'll continue to > > look at that, but everything should build cleanly with this. > > Looking back, I obviously rushed the last patch out. This merge patch, > and the resulting loop.c, fix my problem. My code is working with Jens' > block tree now. > > Jens, > I ended up replacing a call to bio_iovec_idx() with __bvec_iter_bvec() > since the former was removed. It's not very elegant, but it works. I'm > open to suggestions on a cleaner fix, but it can wait until one or both > of these trees is merged. No, that's definitely wrong. Read Documentation/block/biovecs.txt - you need to use either the new bio_iovec() or bio_iovec() iter. I can do the conversion later today.