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 Received: from picard.linux.it (picard.linux.it [213.254.12.146]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 76623C433F5 for ; Thu, 31 Mar 2022 06:21:36 +0000 (UTC) Received: from picard.linux.it (localhost [IPv6:::1]) by picard.linux.it (Postfix) with ESMTP id 053833CA092 for ; Thu, 31 Mar 2022 08:21:34 +0200 (CEST) Received: from in-2.smtp.seeweb.it (in-2.smtp.seeweb.it [217.194.8.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384)) (No client certificate requested) by picard.linux.it (Postfix) with ESMTPS id 29C3F3C9EB1 for ; Thu, 31 Mar 2022 08:21:22 +0200 (CEST) Received: from smtp-out1.suse.de (smtp-out1.suse.de [195.135.220.28]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by in-2.smtp.seeweb.it (Postfix) with ESMTPS id 2EBEC60081B for ; Thu, 31 Mar 2022 08:21:21 +0200 (CEST) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out1.suse.de (Postfix) with ESMTPS id 05280218F0; Thu, 31 Mar 2022 06:21:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1648707681; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/OKyz/RblzhEyVXTb2opK9Emedk3ShBgqMQsUkG+jF8=; b=juB/csVAjYPHNJIbWKlbsmivGp0Z6NDeaO6r2Wr/aHFvtiRW/0paOdFoA5G7rIKxYameyJ by3q1CkEzh6+yPwcJMkZ6WeygsBzjRqR8s99zu4StrKQKVStP2uFkHLRxRQ32XCXg6HUIM kU0LPmCWbZ6QmsHxWOwHdUmzjxX24Nw= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1648707681; h=from:from:reply-to:reply-to:date:date:message-id:message-id:to:to: cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/OKyz/RblzhEyVXTb2opK9Emedk3ShBgqMQsUkG+jF8=; b=0uO1FfihZfIZP4r0cy3s8nScEyAx6JB6IbpvJTuGy9ZXSZCCvTpx4TJp1LFqyjsHE27Nav 0+zDZ8qtDmSuDMDQ== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id C7E5113B4C; Thu, 31 Mar 2022 06:21:20 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id gnktL2BIRWIEQwAAMHmgww (envelope-from ); Thu, 31 Mar 2022 06:21:20 +0000 Date: Thu, 31 Mar 2022 08:21:18 +0200 From: Petr Vorel To: pvorel Message-ID: References: <20220330090817.21950-1-andrea.cervesato@suse.de> <1faf27214b18ef9d3237734388342308@suse.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1faf27214b18ef9d3237734388342308@suse.de> X-Virus-Scanned: clamav-milter 0.102.4 at in-2.smtp.seeweb.it X-Virus-Status: Clean Subject: Re: [LTP] [PATCH v2] Fix wqueue09 according with 5.17 kernel updates X-BeenThere: ltp@lists.linux.it X-Mailman-Version: 2.1.29 Precedence: list List-Id: Linux Test Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Petr Vorel Cc: ltp@lists.linux.it Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ltp-bounces+ltp=archiver.kernel.org@lists.linux.it Sender: "ltp" Hi all, > Hi Andrea, > On 2022-03-30 11:08, Andrea Cervesato wrote: > > This patch fixes also the issue of loosing events on big number of > > iterations > > such as -i 1000. > Unfortunately when testing on machine with older kernel (older Tumbleweed > with > 5.9.1-1-default) it still blocks and then timeout: > wqueue09.c:52: TPASS: Meta loss notification received > common.h:134: TINFO: Reading watch queue events FYI on long enough -i (513 in my case) buf_len = SAFE_READ(0, fd, buffer, sizeof(buffer)); This is regardless kernel version (tested on Tumbleweed 5.17.0-3.g6cba016-default and SLES 5.14.21) => easily reproducible. NOTE: keyctl() return value is always 0. Also not sure why we are not revoking key any more (removed in this patchset). Kind regards, Petr > NOTE: I haven't tested it on 5.17 yet. > Kind regards, > Petr -- Mailing list info: https://lists.linux.it/listinfo/ltp