From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.19]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6CE231CD3F for ; Sun, 17 Mar 2024 19:01:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.198.163.19 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710702098; cv=none; b=JW42UtwVQr4qyDJbcGOkr+gDefDqLLxzrHuoZNGNuUzc/FfoDjxOR5NQI8pP1VONjJOOc4aCjrw9BH3gyX1++5URfNN/15+GPvd3abuba0+dPxJdGUh/HeL31yxQmrFZXSOXRczmigLfvLfmyxI6uJ7HQyCu1zvO8PCoBX2INnk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1710702098; c=relaxed/simple; bh=Lt++VrCKG9vA8z/J2Qk72CFRX+/n4qSWl/TpISUkBnc=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=H+XYpnmLK0DC8VWVpTtlupGC73TePPGf1+km6O6tlw8PDbjDAuEwDl+haLo0KSC+CfwWQKyxZATYWoDu2C+MQxBRg8yf7VUEYCFDy5GO3EMkBphCFV2J2saACRdpOzo4w+iPa+hSTxlVaf2mdUj64x9hfs5uSguZ/Oa1CZ/CTpo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com; spf=pass smtp.mailfrom=intel.com; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b=R9gpCfk4; arc=none smtp.client-ip=192.198.163.19 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=intel.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=intel.com header.i=@intel.com header.b="R9gpCfk4" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1710702096; x=1742238096; h=date:from:to:cc:subject:message-id:mime-version; bh=Lt++VrCKG9vA8z/J2Qk72CFRX+/n4qSWl/TpISUkBnc=; b=R9gpCfk4Lw4KpIGwltyzULm/3G+uaV4NcnM9PLFBiQ0n30qMdJm1Zo3I RxcsZL3T+cqbk9Xh7TDHyNOjh0s9HG9mxb53ZAck2z0+v3zfaLs0pOpUH EsOwnZioM36DXEGGVp5SyPUA0Yg/U7XWIgfZKdzEZofRic9LkQhJNGnh/ 9SHlkltyeL+6Af3DRA0SyoQ7d38ov5XJSBnYeW8FlVpKriEkam39mqwvQ LfYUh3/tgYBaMmqn0jM9SyY3uHSldtBm+xTzomBZZ5xlua/L4LAlkM+tc Xn0mugH1YGpRPhaDhG247wtWSHLF/pVw4dNzppMx+q/m8bWlZFmgjy58y A==; X-IronPort-AV: E=McAfee;i="6600,9927,11016"; a="5365055" X-IronPort-AV: E=Sophos;i="6.07,133,1708416000"; d="scan'208";a="5365055" Received: from orviesa003.jf.intel.com ([10.64.159.143]) by fmvoesa113.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Mar 2024 12:01:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.07,133,1708416000"; d="scan'208";a="17958569" Received: from lkp-server01.sh.intel.com (HELO b21307750695) ([10.239.97.150]) by orviesa003.jf.intel.com with ESMTP; 17 Mar 2024 12:01:34 -0700 Received: from kbuild by b21307750695 with local (Exim 4.96) (envelope-from ) id 1rlvlD-000GQn-2g; Sun, 17 Mar 2024 19:01:31 +0000 Date: Mon, 18 Mar 2024 03:00:47 +0800 From: kernel test robot To: Chao Yu , Chao Yu Cc: oe-kbuild-all@lists.linux.dev, Chao Yu , Chao Yu Subject: [chao:wip 4/4] fs/f2fs/data.c:615:61: error: 'struct f2fs_bio_info' has no member named 'zone_wait' Message-ID: <202403180211.RyitU8RO-lkp@intel.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline tree: https://git.kernel.org/pub/scm/linux/kernel/git/chao/linux.git wip head: 5d1d1ce6987e9ad0cf26ca1071a94aadbb5c2a83 commit: 5d1d1ce6987e9ad0cf26ca1071a94aadbb5c2a83 [4/4] f2fs: zone: don't block IO if there is remained open zone config: sh-allmodconfig (https://download.01.org/0day-ci/archive/20240318/202403180211.RyitU8RO-lkp@intel.com/config) compiler: sh4-linux-gcc (GCC) 13.2.0 reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20240318/202403180211.RyitU8RO-lkp@intel.com/reproduce) If you fix the issue in a separate patch/commit (i.e. not just a new version of the same patch/commit), kindly add following tags | Reported-by: kernel test robot | Closes: https://lore.kernel.org/oe-kbuild-all/202403180211.RyitU8RO-lkp@intel.com/ All errors (new ones prefixed by >>): fs/f2fs/data.c: In function 'f2fs_init_write_merge_io': >> fs/f2fs/data.c:615:61: error: 'struct f2fs_bio_info' has no member named 'zone_wait' 615 | init_completion(&sbi->write_io[i][j].zone_wait); | ^ >> fs/f2fs/data.c:616:44: error: 'struct f2fs_bio_info' has no member named 'zone_pending_bio' 616 | sbi->write_io[i][j].zone_pending_bio = NULL; | ^ vim +615 fs/f2fs/data.c 0fd785eb931d25 Chao Yu 2016-01-18 591 908ea6541661d7 Yufen Yu 2022-05-25 592 int f2fs_init_write_merge_io(struct f2fs_sb_info *sbi) 908ea6541661d7 Yufen Yu 2022-05-25 593 { 908ea6541661d7 Yufen Yu 2022-05-25 594 int i; 908ea6541661d7 Yufen Yu 2022-05-25 595 908ea6541661d7 Yufen Yu 2022-05-25 596 for (i = 0; i < NR_PAGE_TYPE; i++) { 908ea6541661d7 Yufen Yu 2022-05-25 597 int n = (i == META) ? 1 : NR_TEMP_TYPE; 908ea6541661d7 Yufen Yu 2022-05-25 598 int j; 908ea6541661d7 Yufen Yu 2022-05-25 599 908ea6541661d7 Yufen Yu 2022-05-25 600 sbi->write_io[i] = f2fs_kmalloc(sbi, 908ea6541661d7 Yufen Yu 2022-05-25 601 array_size(n, sizeof(struct f2fs_bio_info)), 908ea6541661d7 Yufen Yu 2022-05-25 602 GFP_KERNEL); 908ea6541661d7 Yufen Yu 2022-05-25 603 if (!sbi->write_io[i]) 908ea6541661d7 Yufen Yu 2022-05-25 604 return -ENOMEM; 908ea6541661d7 Yufen Yu 2022-05-25 605 908ea6541661d7 Yufen Yu 2022-05-25 606 for (j = HOT; j < n; j++) { 908ea6541661d7 Yufen Yu 2022-05-25 607 init_f2fs_rwsem(&sbi->write_io[i][j].io_rwsem); 908ea6541661d7 Yufen Yu 2022-05-25 608 sbi->write_io[i][j].sbi = sbi; 908ea6541661d7 Yufen Yu 2022-05-25 609 sbi->write_io[i][j].bio = NULL; 908ea6541661d7 Yufen Yu 2022-05-25 610 spin_lock_init(&sbi->write_io[i][j].io_lock); 908ea6541661d7 Yufen Yu 2022-05-25 611 INIT_LIST_HEAD(&sbi->write_io[i][j].io_list); 908ea6541661d7 Yufen Yu 2022-05-25 612 INIT_LIST_HEAD(&sbi->write_io[i][j].bio_list); 908ea6541661d7 Yufen Yu 2022-05-25 613 init_f2fs_rwsem(&sbi->write_io[i][j].bio_list_lock); e067dc3c6b9c41 Daeho Jeong 2023-05-03 614 #ifdef CONFIG_BLK_DEV_ZONED e067dc3c6b9c41 Daeho Jeong 2023-05-03 @615 init_completion(&sbi->write_io[i][j].zone_wait); e067dc3c6b9c41 Daeho Jeong 2023-05-03 @616 sbi->write_io[i][j].zone_pending_bio = NULL; e067dc3c6b9c41 Daeho Jeong 2023-05-03 617 sbi->write_io[i][j].bi_private = NULL; e067dc3c6b9c41 Daeho Jeong 2023-05-03 618 #endif 908ea6541661d7 Yufen Yu 2022-05-25 619 } 908ea6541661d7 Yufen Yu 2022-05-25 620 } 908ea6541661d7 Yufen Yu 2022-05-25 621 908ea6541661d7 Yufen Yu 2022-05-25 622 return 0; 908ea6541661d7 Yufen Yu 2022-05-25 623 } 908ea6541661d7 Yufen Yu 2022-05-25 624 :::::: The code at line 615 was first introduced by commit :::::: e067dc3c6b9c419bac43c6a0be2d85f44681f863 f2fs: maintain six open zones for zoned devices :::::: TO: Daeho Jeong :::::: CC: Jaegeuk Kim -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests/wiki