Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp6611459imm; Wed, 27 Jun 2018 10:15:07 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKL1/jagUQVFC+tDqQ7JulW0qnRP0Dgmcn6yyw5bF6UOGgyqsZ3eA/EsZTiJFyscA76/iaY X-Received: by 2002:a63:6d8b:: with SMTP id i133-v6mr6079973pgc.215.1530119707773; Wed, 27 Jun 2018 10:15:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530119707; cv=none; d=google.com; s=arc-20160816; b=Q1ez+qjQLcdu9Xmni5D5mlMOC0z4TtnemWqsu9UzmWyPqvYMU3B3hggrJ2WcfkVOjO HppE+YAtTnkjffe6Dm6QsS6RU3qioQcVYepgXla+pVur8HtgG95TVeGlNEq9kDiyu3B2 sEws5wCOfAfKkyVOxAlNZePF951GgNjp6x9Dzpsok/kc0lzgekfI9Mmp4FzXrLzH2l0h 9jjj4n4es6V1D0etOJcko7du7IwlxPQTma9/7j1cepcglUddagWJyf9Foo/CfgyWgLQw con2eiQ+4x402USa6YF49ir6bGLyjNCKvYXaGOO9Z0LKFn3vXWFf4q1Iu3zXkR4NW2Uz vLJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=XY8zy6j4adAvPV0jW+VetIoAmmLLSQKimvnJYIEMAnc=; b=gBqgKQ00di4fUxfc4A+UN7R/pBybhQal6RhZ/+I/3tK9t6eAChr4f6CpgN/9gs6Vts W/GA3s4QbHrxaGQhVDs14aOfYuh/Jpplox3vtICz3GjxhejnMqawktHWvtR39CaMpaK4 J4G9cblnQs5dMnYu5fhwja8Vs3w769dTH2vYrBZy/F+pK/jfdxKBdBBmBm/TnkbyTJvj 0mHdA7JHDUl9ofgEBwKEt5ab+eSTngYo28wzQhQB95gBz+t1JWeFCKHy15omv1ysOC/E 81rNNH66CKYsIIsfVRgSRpGesdWeBtEa0Gcmbd4BBnFos9U2M6kcmfczy9A9cg8rinDA 5dfg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id r39-v6si4091290pld.83.2018.06.27.10.14.52; Wed, 27 Jun 2018 10:15:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1754925AbeF0QAm (ORCPT + 99 others); Wed, 27 Jun 2018 12:00:42 -0400 Received: from mga01.intel.com ([192.55.52.88]:28283 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752937AbeF0QAk (ORCPT ); Wed, 27 Jun 2018 12:00:40 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 27 Jun 2018 09:00:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.51,279,1526367600"; d="scan'208";a="50985185" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga008.fm.intel.com with ESMTP; 27 Jun 2018 09:00:36 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1fYCs0-000Kh5-4y; Thu, 28 Jun 2018 00:00:36 +0800 Date: Wed, 27 Jun 2018 23:59:37 +0800 From: kbuild test robot To: Ming Lei Cc: kbuild-all@01.org, Jens Axboe , Christoph Hellwig , Kent Overstreet , David Sterba , Huang Ying , Mike Snitzer , linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-mm@kvack.org, Theodore Ts'o , "Darrick J . Wong" , Coly Li , Filipe Manana , Randy Dunlap , Ming Lei Subject: Re: [PATCH V7 10/24] block: introduce multipage page bvec helpers Message-ID: <201806272319.0p98i2TZ%fengguang.wu@intel.com> References: <20180627124548.3456-11-ming.lei@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180627124548.3456-11-ming.lei@redhat.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: lkp@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ming, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on linus/master] [also build test WARNING on v4.18-rc2] [cannot apply to next-20180627] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Ming-Lei/block-support-multipage-bvec/20180627-214022 reproduce: # apt-get install sparse make ARCH=x86_64 allmodconfig make C=1 CF=-D__CHECK_ENDIAN__ sparse warnings: (new ones prefixed by >>) net/ceph/messenger.c:842:25: sparse: expression using sizeof(void) net/ceph/messenger.c:842:25: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:847:9: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:848:47: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:855:29: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) net/ceph/messenger.c:869:9: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:139:37: sparse: expression using sizeof(void) include/linux/bvec.h:140:32: sparse: expression using sizeof(void) include/linux/bvec.h:140:32: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:889:9: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) net/ceph/messenger.c:890:47: sparse: expression using sizeof(void) >> net/ceph/messenger.c:890:47: sparse: too many warnings vim +890 net/ceph/messenger.c 6aaa4511 Alex Elder 2013-03-06 862 8ae4f4f5 Alex Elder 2013-03-14 863 static bool ceph_msg_data_bio_advance(struct ceph_msg_data_cursor *cursor, 8ae4f4f5 Alex Elder 2013-03-14 864 size_t bytes) 6aaa4511 Alex Elder 2013-03-06 865 { 5359a17d Ilya Dryomov 2018-01-20 866 struct ceph_bio_iter *it = &cursor->bio_iter; 6aaa4511 Alex Elder 2013-03-06 867 5359a17d Ilya Dryomov 2018-01-20 868 BUG_ON(bytes > cursor->resid); 5359a17d Ilya Dryomov 2018-01-20 869 BUG_ON(bytes > bio_iter_len(it->bio, it->iter)); 25aff7c5 Alex Elder 2013-03-11 870 cursor->resid -= bytes; 5359a17d Ilya Dryomov 2018-01-20 871 bio_advance_iter(it->bio, &it->iter, bytes); f38a5181 Kent Overstreet 2013-08-07 872 5359a17d Ilya Dryomov 2018-01-20 873 if (!cursor->resid) { 5359a17d Ilya Dryomov 2018-01-20 874 BUG_ON(!cursor->last_piece); 5359a17d Ilya Dryomov 2018-01-20 875 return false; /* no more data */ 5359a17d Ilya Dryomov 2018-01-20 876 } f38a5181 Kent Overstreet 2013-08-07 877 5359a17d Ilya Dryomov 2018-01-20 878 if (!bytes || (it->iter.bi_size && it->iter.bi_bvec_done)) 6aaa4511 Alex Elder 2013-03-06 879 return false; /* more bytes to process in this segment */ 6aaa4511 Alex Elder 2013-03-06 880 5359a17d Ilya Dryomov 2018-01-20 881 if (!it->iter.bi_size) { 5359a17d Ilya Dryomov 2018-01-20 882 it->bio = it->bio->bi_next; 5359a17d Ilya Dryomov 2018-01-20 883 it->iter = it->bio->bi_iter; 5359a17d Ilya Dryomov 2018-01-20 884 if (cursor->resid < it->iter.bi_size) 5359a17d Ilya Dryomov 2018-01-20 885 it->iter.bi_size = cursor->resid; 25aff7c5 Alex Elder 2013-03-11 886 } 6aaa4511 Alex Elder 2013-03-06 887 5359a17d Ilya Dryomov 2018-01-20 888 BUG_ON(cursor->last_piece); 5359a17d Ilya Dryomov 2018-01-20 889 BUG_ON(cursor->resid < bio_iter_len(it->bio, it->iter)); 5359a17d Ilya Dryomov 2018-01-20 @890 cursor->last_piece = cursor->resid == bio_iter_len(it->bio, it->iter); 6aaa4511 Alex Elder 2013-03-06 891 return true; 6aaa4511 Alex Elder 2013-03-06 892 } ea96571f Alex Elder 2013-04-05 893 #endif /* CONFIG_BLOCK */ df6ad1f9 Alex Elder 2012-06-11 894 :::::: The code at line 890 was first introduced by commit :::::: 5359a17d2706b86da2af83027343d5eb256f7670 libceph, rbd: new bio handling code (aka don't clone bios) :::::: TO: Ilya Dryomov :::::: CC: Ilya Dryomov --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation