Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp260363lqb; Tue, 28 May 2024 14:59:30 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUmCOrHUuN/37kCk7ubNLTike5LXdJcJ8JpGWuXBJOupbn8BSUG5Edj66LCqCwnkPpbLZyHfimxBAnNura4yQ0aHedWWL0KLlpdScpeWw== X-Google-Smtp-Source: AGHT+IGARrqz2Slidk4/DD1GkO+3IizIeDDsqHVUI9xN3jlhSWyKD9dB2z1EontzaP2P5SKYJS1w X-Received: by 2002:a05:6a00:e87:b0:6f4:41f2:b869 with SMTP id d2e1a72fcca58-6f8f42b30d0mr13615631b3a.21.1716933569995; Tue, 28 May 2024 14:59:29 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716933569; cv=pass; d=google.com; s=arc-20160816; b=kLFsKgnxW1qlhSp7GDVa9rjUoNohJ8YgJeYEmTquqNWEk+ql5eGlPiIlTHRa1hlYyk yQlS6SWQ2v2u6/CrJbwqktwnJmn4suhcrUqQ+QBKzO5FXrr1PJrs9n0Iwa8D3xmDUoRT szbahtKzPEFu/Bu8B0ikyQl299LMF52gZ9CL/+dxf2gU431DsbUBOHYlHXNXEMkkm4bO XuiboRqgrJzTtIznDX10Gt3nc/XW3b8J92dazUPmvwGDLkJ5WqAaYOvZO+RQnz+u4amS FxoaUI2bJJwJ1pM76kKC45ze/tIOic0EEuHsMkL4E81Jt+hlIUVzn4XM2+kx+CbHjlhv w1jQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=message-id:date:references:in-reply-to:subject:cc:to:from :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:dkim-signature:dkim-signature :dkim-signature:dkim-signature; bh=+MPbjQO4/6DjZZK/gT9uFBpU9IheTq5ys6Wrm1gmG4o=; fh=VcpXCzXlblmD/hqt2Yc9Qnj6DIUEhsr3JjeHYvE8gh8=; b=cYGKEt7/mno0pY9HUjNewMlFWV0wTw1w2JqBF6/3n3tyaSInheD6ZDkTiroMaEaEFI OvVHO1/drurA1dclUNngKigvQslF40cTlYeUUHRUqA4qeJlzbMS0lrVb62FQAkBDK2Eb Xq7txO90Gbbaux/Z7THUx9PeiRr+7sSCQ9Fgo1HV4uFaTFXMaiL7RX8iy0h1RK8+8NQk C3MZnTbTNtcXazjCwHrqaiuV6AnhruLicrh/WtGGyZqnKMmYxDsfxAu636NgpYt5J8Rp 99P2yHLNxveBPgJIw1rmHvgJLkjpcXSIPvPTXtsrORKlLFHRiskqmB8SZOHvKYaCOimE rEkA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=u2xS2ONr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=u2xS2ONr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-3452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id d2e1a72fcca58-6f8fc376648si8668759b3a.130.2024.05.28.14.59.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 14:59:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-nfs+bounces-3452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=u2xS2ONr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=u2xS2ONr; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519; arc=pass (i=1 spf=pass spfdomain=suse.de dkim=pass dkdomain=suse.de dkim=pass dkdomain=suse.de dmarc=pass fromdomain=suse.de); spf=pass (google.com: domain of linux-nfs+bounces-3452-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-nfs+bounces-3452-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=suse.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 9DD29B25444 for ; Tue, 28 May 2024 21:50:39 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0B37C1DA23; Tue, 28 May 2024 21:50:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="u2xS2ONr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="ebzOKaGx"; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b="u2xS2ONr"; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b="ebzOKaGx" X-Original-To: linux-nfs@vger.kernel.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2E70426AED for ; Tue, 28 May 2024 21:50:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.135.223.131 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716933036; cv=none; b=I2vnPJCcpfF/brZA8DUszktT6AO4aqvYYiESuXy4ZyEUpEjc1z2srqNHwWGtekyG3Ix0GuagzbmHBjqIrZpRhR99Bq5VGXP1tmAERdpQmN9D5qmbdi3NVXhEqP2ToPrEbi1g0iO8e8ojHdUASpV2wggwdBzCqzFIv4ODtURBz0E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716933036; c=relaxed/simple; bh=DhoFoe7jAwSOQQxVHxtVv1MGusqjIkYLHgYEzx1NjCU=; h=Content-Type:MIME-Version:From:To:Cc:Subject:In-reply-to: References:Date:Message-id; b=QMFL31OX+MS0g32i5AVS4j6gPmeIjlgaMIG7ihiwoFCl5tvt7k/yVSWTA0Bc7SpqQYPfoxo5t3H2Q0Lnjjt2eaHF10S57G/dS+5hiH+AsRhRuo6m1SAqkbvDdGKyU/EPLQjkq4sQD6OpCBlF7AvIPGner6qwv780F0ubkYQN+FI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de; spf=pass smtp.mailfrom=suse.de; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=u2xS2ONr; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=ebzOKaGx; dkim=pass (1024-bit key) header.d=suse.de header.i=@suse.de header.b=u2xS2ONr; dkim=permerror (0-bit key) header.d=suse.de header.i=@suse.de header.b=ebzOKaGx; arc=none smtp.client-ip=195.135.223.131 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=suse.de Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 51F7320460; Tue, 28 May 2024 21:50:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1716933033; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+MPbjQO4/6DjZZK/gT9uFBpU9IheTq5ys6Wrm1gmG4o=; b=u2xS2ONrFBb9/z6Z+3QfHCI+zEkvCTQYOClV1u0TM0G7VVSyW9jNSelbWpuksd/8TtTu07 D8MlCzFyXdZ/mhSFOctR+412xBBpSsDKzodyJYoPDwSDX9EmXrr6H4UOfp3nuZ3n0bUxli 8yMygQ8PPlIMVYqlUnH21sd09uyjuyA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1716933033; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+MPbjQO4/6DjZZK/gT9uFBpU9IheTq5ys6Wrm1gmG4o=; b=ebzOKaGxa3oj+7t8lgAVz60b4rjMShia+ZVdbTEmuWAnjs9Ty/UkKTkvhfKryQTQ3V3eO7 0QBC/ZqUKbxgEqDQ== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.de header.s=susede2_rsa header.b=u2xS2ONr; dkim=pass header.d=suse.de header.s=susede2_ed25519 header.b=ebzOKaGx DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1716933033; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+MPbjQO4/6DjZZK/gT9uFBpU9IheTq5ys6Wrm1gmG4o=; b=u2xS2ONrFBb9/z6Z+3QfHCI+zEkvCTQYOClV1u0TM0G7VVSyW9jNSelbWpuksd/8TtTu07 D8MlCzFyXdZ/mhSFOctR+412xBBpSsDKzodyJYoPDwSDX9EmXrr6H4UOfp3nuZ3n0bUxli 8yMygQ8PPlIMVYqlUnH21sd09uyjuyA= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1716933033; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=+MPbjQO4/6DjZZK/gT9uFBpU9IheTq5ys6Wrm1gmG4o=; b=ebzOKaGxa3oj+7t8lgAVz60b4rjMShia+ZVdbTEmuWAnjs9Ty/UkKTkvhfKryQTQ3V3eO7 0QBC/ZqUKbxgEqDQ== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 1737D13A5D; Tue, 28 May 2024 21:50:30 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id CcdKK6ZRVmYxGAAAD6G6ig (envelope-from ); Tue, 28 May 2024 21:50:30 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-nfs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: "NeilBrown" To: "James Clark" Cc: linux-nfs@vger.kernel.org, james.clark@arm.com, ltp@lists.linux.it, broonie@kernel.org, Aishwarya.TCV@arm.com Subject: Re: [PATCH] NFS: add atomic_open for NFSv3 to handle O_TRUNC correctly. In-reply-to: <20240528105249.69200-1-james.clark@arm.com> References: <171134496555.13576.1334297096866165638@noble.neil.brown.name>, <20240528105249.69200-1-james.clark@arm.com> Date: Wed, 29 May 2024 07:50:26 +1000 Message-id: <171693302629.27191.6082161442961829667@noble.neil.brown.name> X-Spam-Level: X-Spamd-Result: default: False [-4.51 / 50.00]; BAYES_HAM(-3.00)[100.00%]; NEURAL_HAM_LONG(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; NEURAL_HAM_SHORT(-0.20)[-1.000]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; MISSING_XM_UA(0.00)[]; TO_DN_SOME(0.00)[]; MIME_TRACE(0.00)[0:+]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; FUZZY_BLOCKED(0.00)[rspamd.com]; RCPT_COUNT_FIVE(0.00)[6]; FROM_EQ_ENVFROM(0.00)[]; FROM_HAS_DN(0.00)[]; RECEIVED_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:106:10:150:64:167:received]; RCVD_COUNT_TWO(0.00)[2]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[suse.de:dkim,imap1.dmz-prg2.suse.org:helo,imap1.dmz-prg2.suse.org:rdns]; DKIM_SIGNED(0.00)[suse.de:s=susede2_rsa,suse.de:s=susede2_ed25519]; DKIM_TRACE(0.00)[suse.de:+] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 51F7320460 X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Flag: NO X-Spam-Score: -4.51 On Tue, 28 May 2024, James Clark wrote: > On Mon, 25 Mar 2024, NeilBrown wrote: > > With two clients, each with NFSv3 mounts of the same directory, the seque= nce: > >=20 > > client1 client2 > > ls -l afile > > echo hello there > afile > > echo HELLO > afile > > cat afile > >=20 > > will show > > HELLO > > there > >=20 > > because the O_TRUNC requested in the final 'echo' doesn't take effect. > > This is because the "Negative dentry, just create a file" section in > > lookup_open() assumes that the file *does* get created since the dentry > > was negative, so it sets FMODE_CREATED, and this causes do_open() to > > clear O_TRUNC and so the file doesn't get truncated. > >=20 > > Even mounting with -o lookupcache=3Dnone does not help as > > nfs_neg_need_reval() always returns false if LOOKUP_CREATE is set. > >=20 > > This patch fixes the problem by providing an atomic_open inode operation > > for NFSv3 (and v2). The code is largely the code from the branch in > > lookup_open() when atomic_open is not provided. The significant change > > is that the O_TRUNC flag is passed a new nfs_do_create() which add > > 'trunc' handling to nfs_create(). > >=20 > > With this change we also optimise away an unnecessary LOOKUP before the > > file is created. > >=20 >=20 > Hi Neil, >=20 > There's an LTP test failure that Aishwarya bisected back to this patch. > Possibly because the new function doesn't check the max filename length > before hitting this warning in encode_filename3(): >=20 > WARN_ON_ONCE(length > NFS3_MAXNAMLEN); Thanks. I know about that. I fixed it in our SUSE kernels but I thought I was being ignored by upstream as I never got any reply at all so I never got around to resubmitting upstream. I'll post a patch. Thanks, NeilBrown >=20 > I saw some old commit message that mentioned callers should be > checking it, so it seems like a plausible bisect because the test is > testing invalid name lengths. But I didn't look in any more detail than > that. >=20 > statvfs01 and inotify02 tests are failing. The full output is at the > end. >=20 > Thanks > James >=20 > statvfs01.c:32: TPASS: statvfs(TEST_PATH, &buf) p<4>[ 7735.368939] --------= ----[ cut here ]------------ > assed > <4>[ 7735.376605] WARNING: CPU: 3 PID: 387286 at fs/nfs/nfs3xdr.c:188 encod= e_filename3+0x44/0x4c > statvfs01.c:44: TPASS: creat(vali<4>[ 7735.385773] Modules linked in: quota= _v2 quota_tree dummy veth overlay binfmt_misc btrfs blake2b_generic libcrc32c= xor xor_neon raid6_pq zstd_compress fuse drm backlight ip_tables x_tables ip= v6 crct10dif_ce onboard_usb_dev smsc [last unloaded: binfmt_misc] > d_fname, 0444) returned fd 3<4>[ 7735.411537] CPU: 3 PID: 387286 Comm: stat= vfs01 Not tainted 6.9.0-next-20240523 #1 >=20 > <4>[ 7735.421719] Hardware name: ARM LTD ARM Juno Development Platform/ARM = Juno Development Platform, BIOS EDK II Jan 30 2024 > <4>[ 7735.432948] pstate: 20000005 (nzCv daif -PAN -UAO -TCO -DIT -SSBS BTY= PE=3D--) > <4>[ 7735.440191] pc : encode_filename3+0x44/0x4c > <4>[ 7735.444650] lr : nfs3_xdr_enc_create3args+0x44/0xf8 > <4>[ 7735.449807] sp : ffff800088703800 > <4>[ 7735.453386] x29: ffff800088703800 x28: ffff8000826b6388 x27: ffff8000= 88703c70 > <4>[ 7735.460812] x26: ffff00082752f780 x25: 0000000000000001 x24: 00000000= 00440040 > <4>[ 7735.468238] x23: 0000000000000100 x22: ffff000827520010 x21: ffff0008= 2712b600 > <4>[ 7735.475663] x20: ffff000827520010 x19: 0000000000000100 x18: 00000000= 00000000 > <4>[ 7735.483088] x17: 0000000000000000 x16: 0000000000000000 x15: 62626262= 62626262 > <4>[ 7735.490512] x14: 6262626262626262 x13: 14269a2303320025 x12: 43956040= 606e0dbf > <4>[ 7735.497937] x11: ce4b9be95ac6e1de x10: 00000000017009cd x9 : 03320025= 43956040 > <4>[ 7735.505362] x8 : 606e0dbfce4b9be9 x7 : 5ac6e1de00000000 x6 : 017009cd= 01070001 > <4>[ 7735.512786] x5 : ffff00082589b87c x4 : ffff00082410216e x3 : ffff8000= 80445400 > <4>[ 7735.520211] x2 : 0000000000000100 x1 : ffff000827520010 x0 : ffff8000= 887038b8 > <4>[ 7735.527636] Call trace: > <4>[ 7735.530345] encode_filename3+0x44/0x4c > <4>[ 7735.534457] nfs3_xdr_enc_create3args+0x44/0xf8 > <4>[ 7735.539264] rpcauth_wrap_req_encode+0x1c/0x2c > <4>[ 7735.543986] rpcauth_wrap_req+0x20/0x2c > <4>[ 7735.548097] call_encode+0x114/0x294 > <4>[ 7735.551947] __rpc_execute+0xb0/0x3a0 > <4>[ 7735.555883] rpc_execute+0x9c/0xbc > <4>[ 7735.559557] rpc_run_task+0x128/0x1cc > <4>[ 7735.563494] rpc_call_sync+0x58/0xb8 > <4>[ 7735.567343] nfs3_rpc_wrapper+0x3c/0x84 > <4>[ 7735.571454] nfs3_proc_create+0xb0/0x2cc > <4>[ 7735.575651] nfs_atomic_open_v23+0xfc/0x14c > <4>[ 7735.580107] path_openat+0x64c/0xee0 > <4>[ 7735.583957] do_filp_open+0x80/0x12c > <4>[ 7735.587806] do_sys_openat2+0xb4/0xe8 > <4>[ 7735.591739] __arm64_sys_openat+0x64/0xac > <4>[ 7735.596021] invoke_syscall+0x48/0x118 > <4>[ 7735.600047] el0_svc_common.constprop.0+0x40/0xe0 > <4>[ 7735.605029] do_el0_svc+0x1c/0x28 > <4>[ 7735.608617] el0_svc+0x34/0xdc > <4>[ 7735.611944] el0t_64_sync_handler+0xc0/0xc4 > <4>[ 7735.616404] el0t_64_sync+0x190/0x194 > <4>[ 7735.620339] ---[ end trace 0000000000000000 ]--- > statvfs01.c:48: TFAIL: creat(toolong_fname, 0444) expected ENAMETOOLONG: EI= O (5) > <6>[ 7735.689265] EXT4-fs (loop0): unmounting filesystem 99c92af1-0341-4dd6= -920c-bc7461170ff2. > tst_test.c:1650: TINFO: =3D=3D=3D Testing on ext3 =3D=3D=3D > tst_test.c:1105: TINFO: Formatting /dev/loop0 with ext3 opts=3D'' extra opt= s=3D'' > mke2fs 1.46.2 (28-Feb-2021) > tst_test.c:1119: TINFO: Mounting /<6>[ 7737.794577] EXT4-fs (loop0): mounti= ng ext3 file system using the ext4 subsystem > dev/loop0 to /ltp-tmp/ltp-aTUvKrI1Ui/LTP_stakwdpzv/mntpoint fstyp=3Dext3 fl= ags=3D0 > <6>[ 7737.818721] EXT4-fs (loop0): mounted filesystem 91699e00-ff2a-49b3-81= 59-38ae80bdd87d r/w with ordered data mode. Quota mode: none. > <4>[ 7737.830824] ext3 filesystem being mounted at /ltp-tmp/ltp-aTUvKrI1Ui/= LTP_stakwdpzv/mntpoint supports timestamps until 2038-01-19 (0x7fffffff) > statvfs01.c:32: TPASS: statvfs(TEST_PATH, &buf) passed > statvfs01.c:44: TPASS: creat(valid_fname, 0444) returned fd 3 > statvfs01.c:48: TFAIL: creat(toolong_fname, 0444) expected ENAMETOOLON<6>[ = 7737.861118] EXT4-fs (loop0): unmounting filesystem 91699e00-ff2a-49b3-8159-3= 8ae80bdd87d. > G: EIO (5) > tst_test.c:1650: TINFO: =3D=3D=3D Testing on ext4 =3D=3D=3D > tst_test.c:1105: TINFO: Formatting /dev/loop0 with ext4 opts=3D'' extra opt= s=3D'' > mke2fs 1.46.2 (28-Feb-2021) > tst_test.c:1119: TINFO: Mounting /dev/loop0 to /ltp-tmp/ltp-aTUvKrI1Ui/LTP_= stakwdp<6>[ 7738.791447] EXT4-fs (loop0): mounted filesystem fe0ff94a-6c04-41= 58-9b0e-069ac82b6c8d r/w with ordered data mode. Quota mode: none. > zv/mntpoint fstyp=3Dext4 flags=3D0 > <4>[ 7738.805833] ext4 filesystem being mounted at /ltp-tmp/ltp-aTUvKrI1Ui/= LTP_stakwdpzv/mntpoint supports timestamps until 2038-01-19 (0x7fffffff) > statvfs01.c:32: TPASS: statvfs(TEST_PATH, &buf) passed > statvfs01.c:44: TPASS: creat(valid_fname, 0444) returned fd 3 > statvfs01.c:48: TFAIL: creat(toolong_fname, 0<6>[ 7738.837563] EXT4-fs (loo= p0): unmounting filesystem fe0ff94a-6c04-4158-9b0e-069ac82b6c8d. > 444) expected ENAMETOOLONG: EIO (5) > tst_test.c:1650: TINFO: =3D=3D=3D Testing on tmpfs =3D=3D=3D > tst_test.c:1105: TINFO: Skipping mkfs for TMPFS filesystem > tst_test.c:1086: TINFO: Limiting tmpfs size to 32MB > tst_test.c:1119: TINFO: Mounting ltp-tmpfs to /ltp-tmp/ltp-aTUvKrI1Ui/LTP_s= takwdpzv/mntpoint fstyp=3Dtmpfs flags=3D0 > statvfs01.c:32: TPASS: statvfs(TEST_PATH, &buf) passed > statvfs01.c:44: TPASS: creat(valid_fname, 0444) returned fd 3 > statvfs01.c:48: TFAIL: creat(toolong_fname, 0444) expected ENAMETOOLONG: EI= O (5) > Summary: > passed 8 > failed 4 >=20 > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D40000004 cookie=3D0 le= n=3D0 name=3D\"\" > inotify02.c:181: TFAIL: get event: wd=3D1 mask=3D00000020 (expected 100) co= okie=3D0 len=3D16 name=3D\"test_file1\" (expected \"test_file1\") 0 > inotify02.c:181: TFAIL: get event: wd=3D1 mask=3D00000100 (expected 20) coo= kie=3D0 len=3D16 name=3D\"test_file1\" (expected \"test_file1\") 0 > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D00000008 cookie=3D0 le= n=3D16 name=3D\"test_file1\" > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D00000040 cookie=3D5537 le= n=3D16 name=3D\"test_file1\" > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D00000080 cookie=3D5537 le= n=3D16 name=3D\"test_file2\" > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D00000800 cookie=3D0 le= n=3D0 name=3D\"\" > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D00000200 cookie=3D0 le= n=3D16 name=3D\"test_file2\" > inotify02.c:165: TPASS: get event: wd=3D1 mask=3D00000800 cookie=3D0 le= n=3D0 name=3D\"\" >=20