From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (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 2998E1FBEB4 for ; Wed, 19 Feb 2025 16:46:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739983565; cv=none; b=pBfE80PRjZMZWnJrWoKeqBSZc+9Au31rAuiy5fMdCSEfO22lcjBVahwCDcUg9T6BNJWz6TDerTUUMG3cFPqfoysEZikFODP/x4X8sdqDNEciFuFJtJdols4VwsnLpaziyB5iabqGx08hlE7tBfQQV/dPlMZg20uf/uoBv+i5HoU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1739983565; c=relaxed/simple; bh=v1yRgYJsQ7J4k42qHoWdDVW+iptJtlXtIZxiE97lz74=; h=From:In-Reply-To:References:To:Cc:Subject:MIME-Version: Content-Type:Date:Message-ID; b=M3g+hZ3EibTZ8hBbGMhUpjAaUsvpv38aVQ6E+cRjBqcPIddH7BNpuc6hFwgVP4FvPsYuTOQxdUSgP9nsuZy5JrJBxi7iMyN47aljMpBLSgaLOyfbjCoROwggo4OTxUSX2rlcbBAkKqix46XHBdOXsGPEPQDnSLjSvjo0AN7mKUI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=HtpiJd7r; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="HtpiJd7r" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1739983562; h=from:from:reply-to:subject:subject: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=fJGZ0v/kaRUAXJWrbnyu79+Ej9Egr9xzXmnL9S/JVEo=; b=HtpiJd7rNvWcyg4rOy8Z+SgJKLYQHTRxtyVbGuo3/4x3nLBC0giaPMA1y2lMaSCHFcBi11 Ub2TaI7JSyH71+MkcmbzT89/UDWdxm5Aiy6p4TCEbElmuF7bdOhQTz2FqoUFXAHK0GHSZ0 PpFnxJzFbcE2a2zP4oLtvZ4i7XD/BOs= Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-499-Qg_Db64mNuisbJx-PiWHQA-1; Wed, 19 Feb 2025 11:46:00 -0500 X-MC-Unique: Qg_Db64mNuisbJx-PiWHQA-1 X-Mimecast-MFC-AGG-ID: Qg_Db64mNuisbJx-PiWHQA_1739983559 Received: from mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.111]) (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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 05300193578F; Wed, 19 Feb 2025 16:45:59 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.42.28.9]) by mx-prod-int-08.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP id DEBE61800877; Wed, 19 Feb 2025 16:45:57 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: References: To: Steve French Cc: dhowells@redhat.com, CIFS , linux-fsdevel Subject: Re: netfs read failures with current mainline Precedence: bulk X-Mailing-List: linux-cifs@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <527283.1739983556.1@warthog.procyon.org.uk> Date: Wed, 19 Feb 2025 16:45:56 +0000 Message-ID: <527284.1739983556@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 3.4.1 on 10.30.177.111 Steve French wrote: > I see many "Couldn't get user pages" netfs errors running cifs/102 > regression test (which tests for leaked file handles) when using > current mainline from today (which includes the recent netfs read > retry fixes). For example many of: > > [Mon Feb 17 14:08:31 2025] netfs: Couldn't get user pages (rc=-4) > [Mon Feb 17 14:08:31 2025] netfs: Zero-sized read [R=32f] > [Mon Feb 17 14:08:31 2025] netfs: Couldn't get user pages (rc=-4) > > Anyone else see netfs problems when running with current mainline? rc=-4 is -EINTR. I guess this is because your test is hitting a request with SIGKILL and iov_iter_extract_pages() is failing. The above is probably not a bug, per se, but rather some logging that wants cleaning up. David