From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.8 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 39235C433E0 for ; Tue, 21 Jul 2020 19:57:57 +0000 (UTC) Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 045FC2072E for ; Tue, 21 Jul 2020 19:57:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sourceforge.net header.i=@sourceforge.net header.b="X8t1WvEB"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=sf.net header.i=@sf.net header.b="Ma9z/C3Y"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="FI0ILb/N" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 045FC2072E Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-f2fs-devel-bounces@lists.sourceforge.net Received: from [127.0.0.1] (helo=sfs-ml-4.v29.lw.sourceforge.com) by sfs-ml-4.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jxyOh-000814-EX; Tue, 21 Jul 2020 19:57:55 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-4.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jxyOg-00080w-KY for linux-f2fs-devel@lists.sourceforge.net; Tue, 21 Jul 2020 19:57:54 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=In-Reply-To:Content-Type:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=m/zcroeDJqUSJgDq9UfeRlKE3TAwZaG/IVYciSg54IE=; b=X8t1WvEBiKdGd1+1kbP/fnYVUc j72WO4ZlSF6OcwsePqlldVblFLkNkhhceq6e02IcC0eSEQjDc33Al97j1pjfWDH5JG+3GVa06bG85 pLzR4emUDeIzHDQ7oSyO0Dxu2KV7WtCLgkicGsuWU5UR7WxfCEtwKWQGO2ewvczDLhgg=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To :From:Date:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=m/zcroeDJqUSJgDq9UfeRlKE3TAwZaG/IVYciSg54IE=; b=Ma9z/C3YhZk7IAkSic/03NQ+4O M0CChNf+uWvucWMbVbE7UwA2aQyF75FfkhbCjY7eB+Oni2LdoVZVNGTkCnc/PM3hcku7tYiBX4ucj SstgVi+oakEiz9bBKrPwdGFCzBCInprIWxdGSK4wcpJeK1qmU2HRXWHMCErS3wk9Xb7I=; Received: from mail.kernel.org ([198.145.29.99]) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jxyOe-00CXER-G4 for linux-f2fs-devel@lists.sourceforge.net; Tue, 21 Jul 2020 19:57:54 +0000 Received: from localhost (unknown [104.132.1.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4240A2072E; Tue, 21 Jul 2020 19:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1595361457; bh=KsRZqqLwQVvq8cg32Q+wusZuOZ7btmr/ZOAqa1SSwvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=FI0ILb/NLvrKMbyCLuwG77QtXTrgXBNNuZYQJ5QYvzeG60TwJqwfMUKfC+WIFYIfI 4/FQ6R3NqOoS4w/ZsXF2lJ3JODOE0P1dTec/M452OFwAh95W3mjROLtz1joHCZp35o MGEdZUWRo6BeGZXY65cqJuFdo7lPo1EuGYByMhLk= Date: Tue, 21 Jul 2020 12:57:36 -0700 From: Jaegeuk Kim To: Aravind Ramesh Message-ID: <20200721195736.GA43066@google.com> References: <202007211524.zrSvup2X%lkp@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-Headers-End: 1jxyOe-00CXER-G4 Subject: Re: [f2fs-dev] [f2fs:dev-test 37/38] fs/f2fs/super.c:3058:48: error: 'struct blk_zone' has no member named 'capacity' X-BeenThere: linux-f2fs-devel@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Niklas Cassel , Damien Le Moal , "kbuild-all@lists.01.org" , kernel test robot , "linux-f2fs-devel@lists.sourceforge.net" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: linux-f2fs-devel-bounces@lists.sourceforge.net On 07/21, Aravind Ramesh wrote: > Hello Jaegeuk, > The patch that adds the capacity struct member has been merged to linux-block tree's for-next branch. > So either: > 1. f2fs-dev branch has to carry the same patch, from here: > https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux-block.git/log/include/uapi/linux/blkzoned.h?h=for-next > I had mentioned this is the cover letter of this patch. > 2. linux-block pull request has to be merged before f2fs pull request to Linus > 3. Or this f2fs patch has to wait until next merge window (the one after kernel 5.9 merge window) Yeah, indeed. Let me queue this patch and try upstream later till block has it. Thanks, > > Thanks > Aravind > > > -----Original Message----- > > From: kernel test robot > > Sent: Tuesday, July 21, 2020 12:43 PM > > To: Aravind Ramesh > > Cc: kbuild-all@lists.01.org; linux-f2fs-devel@lists.sourceforge.net; Jaegeuk Kim > > ; Damien Le Moal ; Niklas Cassel > > ; Chao Yu ; Chao Yu > > > > Subject: [f2fs:dev-test 37/38] fs/f2fs/super.c:3058:48: error: 'struct blk_zone' has > > no member named 'capacity' > > > > tree: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test > > head: 439633ba3673a5d8983529426df144c64a23d181 > > commit: d787c5eec8b58bb47d4bf750758e0e87d667bf56 [37/38] f2fs: support > > zone capacity less than zone size > > config: nds32-allyesconfig (attached as .config) > > compiler: nds32le-linux-gcc (GCC) 9.3.0 > > reproduce (this is a W=1 build): > > wget https://raw.githubusercontent.com/intel/lkp- > > tests/master/sbin/make.cross -O ~/bin/make.cross > > chmod +x ~/bin/make.cross > > git checkout d787c5eec8b58bb47d4bf750758e0e87d667bf56 > > # save the attached .config to linux build tree > > COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross > > ARCH=nds32 > > > > If you fix the issue, kindly add following tag as appropriate > > Reported-by: kernel test robot > > > > All errors (new ones prefixed by >>): > > > > fs/f2fs/super.c: In function 'f2fs_report_zone_cb': > > >> fs/f2fs/super.c:3058:48: error: 'struct blk_zone' has no member named 'capacity' > > 3058 | rz_args->dev->zone_capacity_blocks[idx] = zone->capacity >> > > | ^~ > > fs/f2fs/super.c:3060:23: error: 'struct blk_zone' has no member named 'capacity' > > 3060 | if (zone->len != zone->capacity && !rz_args->zone_cap_mismatch) > > | ^~ > > > > vim +3058 fs/f2fs/super.c > > > > 3048 > > 3049 static int f2fs_report_zone_cb(struct blk_zone *zone, unsigned int idx, > > 3050 void *data) > > 3051 { > > 3052 struct f2fs_report_zones_args *rz_args = data; > > 3053 > > 3054 if (zone->type == BLK_ZONE_TYPE_CONVENTIONAL) > > 3055 return 0; > > 3056 > > 3057 set_bit(idx, rz_args->dev->blkz_seq); > > > 3058 rz_args->dev->zone_capacity_blocks[idx] = zone->capacity >> > > 3059 > > F2FS_LOG_SECTORS_PER_BLOCK; > > 3060 if (zone->len != zone->capacity && !rz_args->zone_cap_mismatch) > > 3061 rz_args->zone_cap_mismatch = true; > > 3062 > > 3063 return 0; > > 3064 } > > 3065 > > > > --- > > 0-DAY CI Kernel Test Service, Intel Corporation > > https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org _______________________________________________ Linux-f2fs-devel mailing list Linux-f2fs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-f2fs-devel