Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3276925rwb; Mon, 19 Sep 2022 18:40:43 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7gCbRicSXGLz8y4mY2gQPo4mb0Szkk+tfHFR3j6X/1i8HzdhtIhmW71poyhQX/kN6fbAdD X-Received: by 2002:a17:90a:7c07:b0:202:7292:900e with SMTP id v7-20020a17090a7c0700b002027292900emr1157744pjf.37.1663638043254; Mon, 19 Sep 2022 18:40:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1663638043; cv=none; d=google.com; s=arc-20160816; b=rlGD9z+1MCy/lVApPyXdepWxTAo5X/QESSxJ9GhDNlyn+hMakjPq5mfRbEKGp73fuW cy9SNB2Bh/7r2ObWF9PQehuoaYxtoqlCcXNpZE1Wh/Q7MNrwTtCvn4fcxqush2GW+tJt jE5Omwcfcpi3UAnZxnptXXCSMYQ2/PB9QK4fDObH2SwUHeUYr3B0aoFgw4gmwlQHaRf2 WMZdeHoVZJ4ccTLx5c4hmEbQiCA7ayRrMGyg1VTS5ssb63Ibf1FQk8x7EQIy+YVfdvzh /FKgDwgGFGpaZ8FBAtGVQS7MT8XyCdDwhgvBoJVAhJCrwBIc2RI6vK2Tm50TIZMzzxyP yXzw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=gTbJ7VGSlTbFnWl72FHVnwKQ10bBo3+S7ntYbTP56aE=; b=utjDXdwXQieEGMM2Do5Tx0u6PUGUWVylY/I+rnr3azkQjSr12I8AP1R52RgEH4/M08 sT6ECz2+JfZF6P/EKxXioac1hDzHLOld5w7ybnp6k6S+tI9jV+sotd5w6Gvs4sa4KZhs IldFqhWOmF5lJSu37J+m3vyL9m+2jcahZICdzCWOFE3KiWir2VxNwms6BHB8GGHB56Cb KFPHdPI+8/WMLL2D02AUz/OdD8vA5ZPCnH+Vkep/NcXFWAXhJ4FF32L72U+r2V4LJ/al owlIe1z2x+C4Hm7Nj5eG9xto0ttINPmnIPRdCm2HlgoMJF2eZ7BejVy+rgyebqxLjJcW pXPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gtMOWMPm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x8-20020a170902a38800b00172adace273si83885pla.535.2022.09.19.18.40.32; Mon, 19 Sep 2022 18:40:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=gtMOWMPm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229557AbiITBNB (ORCPT + 99 others); Mon, 19 Sep 2022 21:13:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47210 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229743AbiITBMn (ORCPT ); Mon, 19 Sep 2022 21:12:43 -0400 Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B34052E63 for ; Mon, 19 Sep 2022 18:11:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1663636311; x=1695172311; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=j0HdFT5OvtJlg5Ny82ycNOllTWbCkuOEUkQDYVbA3xY=; b=gtMOWMPmYmPXFB6WaMvBnG07eAa/+ekYAXd1hcySfAysFZBudhx+tKwf +ieTbi+fcboWMqk4+rFM4kt/9qlhUusQ37tUhNxqSaao9koiaSqgZTTAH F2ZpYAIqH9kylXGq7/MBI+R9tDpQuBtcMBgjhAANRM23HU6OD7XpJOxiZ XsJpfg4ILHokgP5vHIuA/B+qkes3iDqP9x5x5fxDbM2YwA8PXV5+rPg1j Zh7mMZxULcFX5HpHzQj+D1amWyF6co9EIWgPP+qXOTS/scIaHskzQZsrs bSiylLqG1P/M2F3McUphrHvdYJD7PGWmbFl9jjQYnMHOTjpbn+tqKR0ji w==; X-IronPort-AV: E=McAfee;i="6500,9779,10475"; a="298288221" X-IronPort-AV: E=Sophos;i="5.93,329,1654585200"; d="scan'208";a="298288221" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 19 Sep 2022 18:11:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.93,329,1654585200"; d="scan'208";a="687200114" Received: from lkp-server01.sh.intel.com (HELO c0a60f19fe7e) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 19 Sep 2022 18:11:43 -0700 Received: from kbuild by c0a60f19fe7e with local (Exim 4.96) (envelope-from ) id 1oaRnb-0002Ll-00; Tue, 20 Sep 2022 01:11:43 +0000 Date: Tue, 20 Sep 2022 09:11:30 +0800 From: kernel test robot To: Daeho Jeong , linux-kernel@vger.kernel.org, linux-f2fs-devel@lists.sourceforge.net, kernel-team@android.com Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Daeho Jeong Subject: Re: [PATCH 2/2] f2fs: introduce F2FS_IOC_START_ATOMIC_REPLACE Message-ID: <202209200942.RO5JnVfI-lkp@intel.com> References: <20220919160644.2219088-2-daeho43@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220919160644.2219088-2-daeho43@gmail.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Daeho, Thank you for the patch! Yet something to improve: [auto build test ERROR on jaegeuk-f2fs/dev-test] [also build test ERROR on linus/master v6.0-rc6 next-20220919] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Daeho-Jeong/f2fs-correct-i_size-change-for-atomic-writes/20220920-000935 base: https://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs.git dev-test config: i386-randconfig-a006-20220919 (https://download.01.org/0day-ci/archive/20220920/202209200942.RO5JnVfI-lkp@intel.com/config) compiler: clang version 14.0.6 (https://github.com/llvm/llvm-project f28c006a5895fc0e329fe15fead81e37457cb1d1) 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 # https://github.com/intel-lab-lkp/linux/commit/884660386769b2359529c52ad0afc06684f1ea87 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Daeho-Jeong/f2fs-correct-i_size-change-for-atomic-writes/20220920-000935 git checkout 884660386769b2359529c52ad0afc06684f1ea87 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=i386 SHELL=/bin/bash fs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): >> fs/f2fs/file.c:4090:7: error: use of undeclared identifier 'F2FS_IOC_START_ATOMIC_REPLACE' case F2FS_IOC_START_ATOMIC_REPLACE: ^ 1 error generated. vim +/F2FS_IOC_START_ATOMIC_REPLACE +4090 fs/f2fs/file.c 4082 4083 static long __f2fs_ioctl(struct file *filp, unsigned int cmd, unsigned long arg) 4084 { 4085 switch (cmd) { 4086 case FS_IOC_GETVERSION: 4087 return f2fs_ioc_getversion(filp, arg); 4088 case F2FS_IOC_START_ATOMIC_WRITE: 4089 return f2fs_ioc_start_atomic_write(filp, false); > 4090 case F2FS_IOC_START_ATOMIC_REPLACE: 4091 return f2fs_ioc_start_atomic_write(filp, true); 4092 case F2FS_IOC_COMMIT_ATOMIC_WRITE: 4093 return f2fs_ioc_commit_atomic_write(filp); 4094 case F2FS_IOC_ABORT_ATOMIC_WRITE: 4095 return f2fs_ioc_abort_atomic_write(filp); 4096 case F2FS_IOC_START_VOLATILE_WRITE: 4097 case F2FS_IOC_RELEASE_VOLATILE_WRITE: 4098 return -EOPNOTSUPP; 4099 case F2FS_IOC_SHUTDOWN: 4100 return f2fs_ioc_shutdown(filp, arg); 4101 case FITRIM: 4102 return f2fs_ioc_fitrim(filp, arg); 4103 case FS_IOC_SET_ENCRYPTION_POLICY: 4104 return f2fs_ioc_set_encryption_policy(filp, arg); 4105 case FS_IOC_GET_ENCRYPTION_POLICY: 4106 return f2fs_ioc_get_encryption_policy(filp, arg); 4107 case FS_IOC_GET_ENCRYPTION_PWSALT: 4108 return f2fs_ioc_get_encryption_pwsalt(filp, arg); 4109 case FS_IOC_GET_ENCRYPTION_POLICY_EX: 4110 return f2fs_ioc_get_encryption_policy_ex(filp, arg); 4111 case FS_IOC_ADD_ENCRYPTION_KEY: 4112 return f2fs_ioc_add_encryption_key(filp, arg); 4113 case FS_IOC_REMOVE_ENCRYPTION_KEY: 4114 return f2fs_ioc_remove_encryption_key(filp, arg); 4115 case FS_IOC_REMOVE_ENCRYPTION_KEY_ALL_USERS: 4116 return f2fs_ioc_remove_encryption_key_all_users(filp, arg); 4117 case FS_IOC_GET_ENCRYPTION_KEY_STATUS: 4118 return f2fs_ioc_get_encryption_key_status(filp, arg); 4119 case FS_IOC_GET_ENCRYPTION_NONCE: 4120 return f2fs_ioc_get_encryption_nonce(filp, arg); 4121 case F2FS_IOC_GARBAGE_COLLECT: 4122 return f2fs_ioc_gc(filp, arg); 4123 case F2FS_IOC_GARBAGE_COLLECT_RANGE: 4124 return f2fs_ioc_gc_range(filp, arg); 4125 case F2FS_IOC_WRITE_CHECKPOINT: 4126 return f2fs_ioc_write_checkpoint(filp, arg); 4127 case F2FS_IOC_DEFRAGMENT: 4128 return f2fs_ioc_defragment(filp, arg); 4129 case F2FS_IOC_MOVE_RANGE: 4130 return f2fs_ioc_move_range(filp, arg); 4131 case F2FS_IOC_FLUSH_DEVICE: 4132 return f2fs_ioc_flush_device(filp, arg); 4133 case F2FS_IOC_GET_FEATURES: 4134 return f2fs_ioc_get_features(filp, arg); 4135 case F2FS_IOC_GET_PIN_FILE: 4136 return f2fs_ioc_get_pin_file(filp, arg); 4137 case F2FS_IOC_SET_PIN_FILE: 4138 return f2fs_ioc_set_pin_file(filp, arg); 4139 case F2FS_IOC_PRECACHE_EXTENTS: 4140 return f2fs_ioc_precache_extents(filp, arg); 4141 case F2FS_IOC_RESIZE_FS: 4142 return f2fs_ioc_resize_fs(filp, arg); 4143 case FS_IOC_ENABLE_VERITY: 4144 return f2fs_ioc_enable_verity(filp, arg); 4145 case FS_IOC_MEASURE_VERITY: 4146 return f2fs_ioc_measure_verity(filp, arg); 4147 case FS_IOC_READ_VERITY_METADATA: 4148 return f2fs_ioc_read_verity_metadata(filp, arg); 4149 case FS_IOC_GETFSLABEL: 4150 return f2fs_ioc_getfslabel(filp, arg); 4151 case FS_IOC_SETFSLABEL: 4152 return f2fs_ioc_setfslabel(filp, arg); 4153 case F2FS_IOC_GET_COMPRESS_BLOCKS: 4154 return f2fs_get_compress_blocks(filp, arg); 4155 case F2FS_IOC_RELEASE_COMPRESS_BLOCKS: 4156 return f2fs_release_compress_blocks(filp, arg); 4157 case F2FS_IOC_RESERVE_COMPRESS_BLOCKS: 4158 return f2fs_reserve_compress_blocks(filp, arg); 4159 case F2FS_IOC_SEC_TRIM_FILE: 4160 return f2fs_sec_trim_file(filp, arg); 4161 case F2FS_IOC_GET_COMPRESS_OPTION: 4162 return f2fs_ioc_get_compress_option(filp, arg); 4163 case F2FS_IOC_SET_COMPRESS_OPTION: 4164 return f2fs_ioc_set_compress_option(filp, arg); 4165 case F2FS_IOC_DECOMPRESS_FILE: 4166 return f2fs_ioc_decompress_file(filp, arg); 4167 case F2FS_IOC_COMPRESS_FILE: 4168 return f2fs_ioc_compress_file(filp, arg); 4169 default: 4170 return -ENOTTY; 4171 } 4172 } 4173 -- 0-DAY CI Kernel Test Service https://01.org/lkp