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.133.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 9C55B18B467 for ; Wed, 5 Feb 2025 15:33:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.133.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738769628; cv=none; b=VfbTgnPULItKWZH5hdeKHBnybvznXFLY3LSOY97oqpt3duR9ZjgZ3VwwWnosZVr5j1ZLSVPxfN0LRTX/Wzm1Y7Sph+C5fzTFNN7fOfwpPes8tDzUnHrfeoc6ioK8Cm4V82Zz8v0OiU8UdqNhmOGIf2UOJMS8ZCYqcZqpgD6ZnV4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1738769628; c=relaxed/simple; bh=AWa/PF1zQB2/dPaRc8Ti9/FbYVqS3cCyv6Jdx9Col40=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=dRhXG0/Dy4oVwl1HiwDVl0HFPbeR9++r3H90EOLjn/xK9Ze+fOTkgJMXaM0fpmcwUfW0trZ0R0j00MYoDt8cGgB6bMDA+kMy8YxqU1WMWK9bKSDzzPxNvIN5F5fr7abtAANMNcozj75mZim/dJruPnGR2StRorG1x/bWZjiSmOo= 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=iWb5e3Ej; arc=none smtp.client-ip=170.10.133.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="iWb5e3Ej" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1738769624; 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; bh=i03PoXttS1I4daOyY6s1DIOLnM2DqIsRXTcb7XjoQ0o=; b=iWb5e3Ejc1krxmAOr5oBb0rXQXGTPl1FkOixymqzJxyPJ5kiqRhCLHUgmgRqmE1iRAHzUj XR0v/45Tg//KF6UtV/t9RdYgXnHM5wXERgbOXXTTTpUBMlZrq6LSsJj9ZmOIqjq/PhitfA c+5+BVb2S8518NGcA3vH9JD5BMm3fCY= Received: from mx-prod-mc-06.mail-002.prod.us-west-2.aws.redhat.com (ec2-35-165-154-97.us-west-2.compute.amazonaws.com [35.165.154.97]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-266-V_ZdS8JXMAuA32eweckj_g-1; Wed, 05 Feb 2025 10:33:39 -0500 X-MC-Unique: V_ZdS8JXMAuA32eweckj_g-1 X-Mimecast-MFC-AGG-ID: V_ZdS8JXMAuA32eweckj_g Received: from mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.17]) (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-06.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS id 071991800341; Wed, 5 Feb 2025 15:33:36 +0000 (UTC) Received: from dhcp-27-174.brq.redhat.com (unknown [10.45.224.10]) by mx-prod-int-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with SMTP id 5CF86195608D; Wed, 5 Feb 2025 15:33:30 +0000 (UTC) Received: by dhcp-27-174.brq.redhat.com (nbSMTP-1.00) for uid 1000 oleg@redhat.com; Wed, 5 Feb 2025 16:33:09 +0100 (CET) Date: Wed, 5 Feb 2025 16:33:02 +0100 From: Oleg Nesterov To: Christian Brauner , Jeff Layton , Linus Torvalds Cc: David Howells , "Gautham R. Shenoy" , K Prateek Nayak , Mateusz Guzik , Neeraj Upadhyay , Oliver Sang , Swapnil Sapkal , WangYuli , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 0/2] pipe: don't update {a,c,m}time for anonymous pipes Message-ID: <20250205153302.GA2216@redhat.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) X-Scanned-By: MIMEDefang 3.0 on 10.30.177.17 Not sure this makes sense, but after 1/2 we can also split fifo_open() and pipe_poll() to factor out the wait_for_partner/wake_up_partner logic. Link to v1: https://lore.kernel.org/all/20250204132153.GA20921@redhat.com/ Oleg. --- fs/internal.h | 1 + fs/pipe.c | 60 ++++++++++++++++++++++++++++++++++++++++++++--------------- 2 files changed, 46 insertions(+), 15 deletions(-)