Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp446650lqo; Fri, 10 May 2024 05:06:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVGO5lT2tk3UieNiQi5If0u60UZX3KA/oCDogUSxoCHABMg+TQ/6QBM2C+yBbp6pjpxG/Wkx00uegLy72vQdLFnBTuVr+ATov1xSfvEvQ== X-Google-Smtp-Source: AGHT+IHKct2JIyX4benR82nLAq0P1+yQzHEtLkOg7bw7NSrDdhK1PcrqGTrYFyqzLLP8Vo2Jvv+p X-Received: by 2002:a17:90b:118b:b0:2b2:b00b:a341 with SMTP id 98e67ed59e1d1-2b6cc34232amr2391906a91.8.1715342786864; Fri, 10 May 2024 05:06:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715342786; cv=pass; d=google.com; s=arc-20160816; b=jlR4iorhqFpvw4PJAdKFJVBMkPfYqGMwYe4PvgEdm5St3M5k0Z5WTLq9R6wJQn2NbJ /zgkb6P2g+mTGrdm3VG6Ug3unOWiFnDwvzB1BAP+A7pbbsWd40A+JBEf07tXM9qBoq8B Az8zLu5XyQBFvc5C0ug6+i2WSsUKOGbGQet5QvQ/oRhtQpUY23SWY89g21uiT3agvBcM /yywmjekY5OQmLEn7ZxPKeSa6HxYoiR4hR6U13ba6OtBvT0ONrBYlRKYQiS+0WtMU+QU QtOS7egXL72FTTdqjSVMD0gbjDv2CkjTROu/yWWe8BF2dNWXKJ4MVGPIQE2Qo78Uj5xu /oxA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=DmlnHZLVuDIbAEju+vmZgUzt+DXebzeH+DFcgVTqjNo=; fh=qDZ+YnS9HJbCVOaeWFr2FnYZt7eE+vt5IJIDIlhBdxU=; b=eV7pVG1LV62l4NzZQmvCnXA/t0zhtzZWP6oD7Z7CAd2I5nOY/TuPbm+R0s1pU5IA2D ayykwwHyDz9+PEtmteSPVABgKtUewmfug4D5Zr8kRg8o0Vcur5/2MBtoWNkRRQUaep9E h++71SiIG+4HhEet50CtiPaYKvLbdIKUs3xXAyVXWovNllbMFHYcTM6VuVoIUbVI4OI9 RFdMwjKIEYpwEkWByGmBRp7aiL0LmV4pDqZlVDkHcmxPiow3Zkd2nLNq4rBDqeM9wVru xFi7ikK1kgQ+tOeapMxTVtmOJ0n9+n0hlNff2UBHf4KTH14gGewV9XRU+k6b1beT6A9x I5ig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oiwcS3bA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-63412863e34si3454664a12.635.2024.05.10.05.06.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 10 May 2024 05:06:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-175704-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=@kernel.org header.s=k20201202 header.b=oiwcS3bA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-175704-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-175704-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org 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 78AE3B24515 for ; Fri, 10 May 2024 11:48:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 1027D1708B7; Fri, 10 May 2024 11:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="oiwcS3bA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 362C716EC06; Fri, 10 May 2024 11:47:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715341653; cv=none; b=TAFMwtKZouD/O1IDHG6A2No+GVdgos1qkrPWdSVhXsnB4sWwatsaMjrhvaDApzDzd16XW21YtATDAv7ZfNv7dkhtMRMI8+YO5WvMcHgUEOmFNkYPmQNemsq2NJD14AbvYjxgUDUV78kSmnImW1CkGlkMsrNGxG2Co2eW05+qeIk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715341653; c=relaxed/simple; bh=Oyej1uFTgoe8KBmoJe2HNl27X7MRY9hio+5gYNggqqM=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=T5CvYomOb6WFrG1wYzFWvPbcaNNJJH8N1HA8Qpe/vQht4P34d/yQIi8z49n7VxaZE0oJbGMLBb+wnampHaF5SGOkQAKvR4MrluJuIWAk284FoPE2LVAgmgRgShPe4/lbvoV9WQ5bhpLdeUhDjjHABVyJ6cWBv7wLIQuoAHSIK6w= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=oiwcS3bA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6CB95C2BD11; Fri, 10 May 2024 11:47:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715341652; bh=Oyej1uFTgoe8KBmoJe2HNl27X7MRY9hio+5gYNggqqM=; h=From:To:Cc:Subject:Date:From; b=oiwcS3bA8m6K1xyYg0jpRnIqUNrsGaYn8ALoMxw90meKXyDo+uXnuvI8UrjmNS70M 0eMdte84SETJwlOhB2+LoQ/eY5zv+d4evERjaIQmOI/AbRMxsajmd1iev2F/riQ7Mf haAI2ff9RNqBVvIErNlkJDwT+uowf/PcVMG+3fYn6VWbnW/DGrXskLmvyuglqraHvo d7F6dFob5hAkddpMduUJAcihMXk5yYQmh4HDZ2LjS2rJbduVYiGPX3XaW2mu6LtcON rTTY4ls5a0LcMr+tsrc29X+yO5ydR/i5OByr66b6inBzQ9I5adGGD7+aoAuLHGTwVL xiPIEh6Pp2USA== From: Christian Brauner To: Linus Torvalds Cc: Christian Brauner , linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] vfs rw Date: Fri, 10 May 2024 13:47:17 +0200 Message-ID: <20240510-vfs-rw-332f4a8e1772@brauner> X-Mailer: git-send-email 2.43.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=2104; i=brauner@kernel.org; h=from:subject:message-id; bh=Oyej1uFTgoe8KBmoJe2HNl27X7MRY9hio+5gYNggqqM=; b=owGbwMvMwCU28Zj0gdSKO4sYT6slMaTZcbpus9ZVPPd9jdNDnTlhExtFLl/oW8NzLU+Cy9l16 RVZQaugjlIWBjEuBlkxRRaHdpNwueU8FZuNMjVg5rAygQxh4OIUgIlEz2f4w/9CdF/Eh9gTD9VW tkr/PNRpa5ry47RYlvAyR4HUq7LTexgZ2i6s/J0yU/XKmjvaofFHe7jNmrrX/pwfYHpKYbP5KVU nZgA= X-Developer-Key: i=brauner@kernel.org; a=openpgp; fpr=4880B8C9BD0E5106FC070F4F7B3C391EFEA93624 Content-Transfer-Encoding: 8bit Hey Linus, /* Summary */ The core fs signalfd, userfaultfd, and timerfd subsystems did still use f_op->read() instead of f_op->read_iter(). Convert them over since we should aim to get rid of f_op->read() at some point. Aside from that io_uring and others want to mark files as FMODE_NOWAIT so it can make use of per-IO nonblocking hints to enable more efficient IO. Converting those users to f_op->read_iter() allows them to be marked with FMODE_NOWAIT. /* Testing */ clang: Debian clang version 16.0.6 (26) gcc: (Debian 13.2.0-24) All patches are based on v6.9-rc3 and have been sitting in linux-next. No build failures or warnings were observed. /* Conflicts */ No known conflicts. The following changes since commit fec50db7033ea478773b159e0e2efb135270e3b7: Linux 6.9-rc3 (2024-04-07 13:22:46 -0700) are available in the Git repository at: git@gitolite.kernel.org:pub/scm/linux/kernel/git/vfs/vfs tags/vfs-6.10.rw for you to fetch changes up to 3a93daea2fb27fcefa85662654ba583a5d0c7231: Merge branch 'read_iter' of git://git.kernel.dk/linux (2024-04-11 10:06:08 +0200) Please consider pulling these changes from the signed vfs-6.10.rw tag. Thanks! Christian ---------------------------------------------------------------- vfs-6.10.rw ---------------------------------------------------------------- Al Viro (1): new helper: copy_to_iter_full() Christian Brauner (1): Merge branch 'read_iter' of git://git.kernel.dk/linux Jens Axboe (4): Merge branch 'work.iov_iter' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs into read_iter timerfd: convert to ->read_iter() userfaultfd: convert to ->read_iter() signalfd: convert to ->read_iter() fs/signalfd.c | 44 ++++++++++++++++++++++++++++---------------- fs/timerfd.c | 36 ++++++++++++++++++++++++++---------- fs/userfaultfd.c | 44 ++++++++++++++++++++++++++++---------------- include/linux/uio.h | 10 ++++++++++ include/net/udp.h | 9 +-------- 5 files changed, 93 insertions(+), 50 deletions(-)