Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp2591520pxb; Thu, 11 Feb 2021 17:12:07 -0800 (PST) X-Google-Smtp-Source: ABdhPJz61Rn/x+dt4r+gtycjOYTWLu4aKwJjNQPqb4hnH9RIxIx2JfOAw1IHRT4gHOM7PvPvS48N X-Received: by 2002:a17:906:f4f:: with SMTP id h15mr491820ejj.498.1613092327262; Thu, 11 Feb 2021 17:12:07 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613092327; cv=none; d=google.com; s=arc-20160816; b=o4dszZ6VLPwU9rdSRXHd9F4PStRlymhh5VGQg4M8dlBAuMVuIArfC0r3g+mnSaUllR hTx/0QK6rCwVSAcby1wHUKe+ov158ZZyKAV6ed6WgbbcBrOKoIU7Q0d12AJ+HKDFSM+R g9jbZ/vHfMnrDIl82vf63pJp9ozv0eMRUu5oI29f6qmWSi1xruNtnOPLasbV6S7yzm44 W4C5zlcATOZStDeB2o4upsxA1cmZLrrIC4CJKe88Z5s8fAojF8X1k5/ZER5KQkcIyico 37RZaNM4JFeLkfO3i8Bxyc6IjOgEswO9vjixyAm00178UDDdtPzpBNVKt4Jn+ntgQANc Qmeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :ironport-sdr:ironport-sdr; bh=S2Zd3ZbD9Dj+xMWwIvPVg2Cvk4YyT0plS2dpIizKvbg=; b=wVubE/DwKFdcfE/IfnGqJylfC8AH3J/nLFxZKTVw0/IhMZxKjBknjk0yM1vE3QYs84 1oP6kgNBhw54ZeXNKqK6c5jCaFRmU/5lUJbqJKD9fhnEI/2E0bjzwJS6fuyPArKC3CMK T/JSZFqW92yl8uYmKrPvcrtLEO9gsUx3110KY6V123jzTvPvvit2MtqN2CuYiTeZJeqH XaMdhmYsMvrTygNBS31aYRjF4EpDN+nuALFG/hlUtgZ95b1MjC09rPdTzawqsVHswJ5J h+GQe/s6pVHf58nJhJn+td23Wpy29Pabr9C6as/D/QNzjcVKI2spnr7N0uzAsqT6XksB UOIw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j8si4922961edv.130.2021.02.11.17.11.44; Thu, 11 Feb 2021 17:12:07 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229943AbhBLBLN (ORCPT + 99 others); Thu, 11 Feb 2021 20:11:13 -0500 Received: from mga06.intel.com ([134.134.136.31]:64725 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230344AbhBLBIX (ORCPT ); Thu, 11 Feb 2021 20:08:23 -0500 IronPort-SDR: B75in2S6/+FLELlhTwlgO1vzy4nSstdmMBFKRFk2ax+5rxAHtpj7CTULSojVwMhQwdpocGLynt LnTzxhfOe9pw== X-IronPort-AV: E=McAfee;i="6000,8403,9892"; a="243840392" X-IronPort-AV: E=Sophos;i="5.81,172,1610438400"; d="scan'208";a="243840392" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2021 17:07:41 -0800 IronPort-SDR: 8hCIGhROSfXX8U8q50C7ZgUKWlHHvNJ5KA22+/FHFiuL/MNJ9gdrqBamQJfgGfRmPLqWErJfPh ObIblddJki7g== X-IronPort-AV: E=Sophos;i="5.81,172,1610438400"; d="scan'208";a="397710246" Received: from iweiny-desk2.sc.intel.com (HELO localhost) ([10.3.52.147]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Feb 2021 17:07:41 -0800 Date: Thu, 11 Feb 2021 17:07:41 -0800 From: Ira Weiny To: Stephen Rothwell Cc: David Sterba , David Howells , David Sterba , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: manual merge of the btrfs tree with the fscache tree Message-ID: <20210212010740.GP3014244@iweiny-DESK2.sc.intel.com> References: <20210212103810.170b93e8@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210212103810.170b93e8@canb.auug.org.au> User-Agent: Mutt/1.11.1 (2018-12-01) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 12, 2021 at 10:38:10AM +1100, Stephen Rothwell wrote: > Hi all, > > Today's linux-next merge of the btrfs tree got a conflict in: > > lib/iov_iter.c > > between commit: > > 11432a3cc061 ("iov_iter: Add ITER_XARRAY") > > from the fscache tree and commit: > > 325a835476e3 ("iov_iter: Remove memzero_page() in favor of zero_user()") I don't seem to have that commit after fetching linux-next? Should I have it? This is where I fetched from. https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git After doing that I don't see the zero_user() as below. All that said the resolution below seems correct. Ira > > from the btrfs tree. > > I fixed it up (see below) and can carry the fix as necessary. This > is now fixed as far as linux-next is concerned, but any non trivial > conflicts should be mentioned to your upstream maintainer when your tree > is submitted for merging. You may also want to consider cooperating > with the maintainer of the conflicting tree to minimise any particularly > complex conflicts. > > -- > Cheers, > Stephen Rothwell > > diff --cc lib/iov_iter.c > index 24413884b5ca,aa0d03b33a1e..000000000000 > --- a/lib/iov_iter.c > +++ b/lib/iov_iter.c > @@@ -1048,9 -961,8 +1028,9 @@@ size_t iov_iter_zero(size_t bytes, stru > return pipe_zero(bytes, i); > iterate_and_advance(i, bytes, v, > clear_user(v.iov_base, v.iov_len), > - memzero_page(v.bv_page, v.bv_offset, v.bv_len), > + zero_user(v.bv_page, v.bv_offset, v.bv_len), > - memset(v.iov_base, 0, v.iov_len) > + memset(v.iov_base, 0, v.iov_len), > - memzero_page(v.bv_page, v.bv_offset, v.bv_len) > ++ zero_user(v.bv_page, v.bv_offset, v.bv_len) > ) > > return bytes;