Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp335815ybt; Sat, 13 Jun 2020 06:07:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyye5E9h6kB9s883doZXd/T0IVmUogxZWh6zu5eX0HgMI92XMtXdgrWzAMtkUD7OT8XPfrs X-Received: by 2002:a17:906:3952:: with SMTP id g18mr17599879eje.68.1592053651087; Sat, 13 Jun 2020 06:07:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592053651; cv=none; d=google.com; s=arc-20160816; b=PbiH2PnWb0uJYctRTioSwzJ8YWhbwOKjRoVMVIqmsNBYyQKRaG4agLbVPltOXAmF07 q9i7eGa112fhugOpW5gFQFqaWONO+k1ZWtrMYEjyubf5fkNQHLY9chA4eR+o21EEwd1H ZFxD5xUo/h/+1TrZJiuesbk7in0kk7Oj3n02EWhVMH04Mm/4pYHc30N99uCl053JL4gY 9urx5cd3kyQArO20JHWXfQFwtnjLd4E00R7ZHv8hk8BQnnw4JRCUiEblZU0zWS4apEh8 nUA6njR8oqv3B5YB1OdPJqhY/m8lklyp2K9OvtEMoo3CmLl0O4kzf1sYCS3ErQa2g5vZ JhgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:content-id:mime-version :subject:cc:to:references:in-reply-to:from:organization :dkim-signature; bh=8Vkn3rEZeq1POego0MCBFrp41m1L5KDYoTSqj0fJLmA=; b=coB+oYJA+ARiJOaRsEGRAaHy+NgWlA2QEqRfLE8RuaLcNfbVjmJv/VV74uHo0iSIc8 cdaUiCY0NuD9bBFEaYVAlORk3Q9ptJGUC7Aq+9cEOYnbz2nBYmBuH8htI/6ZQfOpQ6VL w3+pEKAPgxJEoKm5zIxbJ/16o2czeUDwzU6IvYDfMf6cXiSJjkqmpybir/Ie53mP8cks Zt2j8IOdAGm/ZmRm+NjOFNdsM54iujs544K5aNJ88IGcoJXUrLLxzSG6hDMHwAjvUISz BpTl2HFAXXVIBl2DqqnMXqQVkg49hS/TiLAqmFe9a6VANKFlH7Rr9l5DuzLYXrMMBX5O Rokg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RJwdVqsc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w11si5267602ede.55.2020.06.13.06.07.06; Sat, 13 Jun 2020 06:07:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=RJwdVqsc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726278AbgFMNFC (ORCPT + 99 others); Sat, 13 Jun 2020 09:05:02 -0400 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:36211 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726045AbgFMNFB (ORCPT ); Sat, 13 Jun 2020 09:05:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1592053500; 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=8Vkn3rEZeq1POego0MCBFrp41m1L5KDYoTSqj0fJLmA=; b=RJwdVqschafLBlCEf3PG2CBFxTCF4ynDxn8zrtd7lXaGWmGEmHHokI7JDYUTXuiTgUKRtn 8pd+oxjjWl7udXAxpGsah2mHJQ6PLVAYcx3+0abXloq/DF4LTs8bB5raADUXIaR+LOajQc 04JR1jWn/zbIvw4ME1YwBDIl3IdgfZ0= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-59-2oUBF2pBMki-cnGHOZyJkg-1; Sat, 13 Jun 2020 09:04:58 -0400 X-MC-Unique: 2oUBF2pBMki-cnGHOZyJkg-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 70B02107ACCA; Sat, 13 Jun 2020 13:04:56 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-114-66.rdu2.redhat.com [10.10.114.66]) by smtp.corp.redhat.com (Postfix) with ESMTP id 75D905D9C5; Sat, 13 Jun 2020 13:04:53 +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: <1503686.1591113304@warthog.procyon.org.uk> <20200610111256.s47agmgy5gvj3zwz@ws.net.home> To: Linus Torvalds Cc: dhowells@redhat.com, Karel Zak , Al Viro , dray@redhat.com, Miklos Szeredi , Steven Whitehouse , Jeff Layton , Ian Kent , andres@anarazel.de, Christian Brauner , Jarkko Sakkinen , keyrings@vger.kernel.org, linux-fsdevel , Linux Kernel Mailing List Subject: Re: [GIT PULL] General notification queue and key notifications MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3984624.1592053492.1@warthog.procyon.org.uk> Date: Sat, 13 Jun 2020 14:04:52 +0100 Message-ID: <3984625.1592053492@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.14 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Linus Torvalds wrote: > I'm not even convinced O_NOTIFICATION_PIPE is necessary, but at worst > it will be a useful marker. I think the only real reason for it was to > avoid any clashes with splice(), which has more complex use of the > pipe buffers. The main reason is to prevent splice because the iov_iter rewind for splice gets quite tricky if the kernel can randomly insert packets into the pipe buffer in between what splice is inserting. > I'm so far just reading this thread and the arguments for users, and I > haven't yet looked at all the actual details in the pull request - but > last time I had objections to things it wasn't the code, it was the > lack of any use. Would you be willing at this point to consider pulling the mount notifications and fsinfo() which helps support that? I could whip up pull reqs for those two pieces - or do you want to see more concrete patches that use it? David