Received: by 2002:a05:6a10:8395:0:0:0:0 with SMTP id n21csp156844pxh; Tue, 9 Nov 2021 08:43:02 -0800 (PST) X-Google-Smtp-Source: ABdhPJzlJZpIvAxxDfIY0uEO6TrAw0HnwfvRrylMwKRjOUoq7NeW93sko0ddkQzY1mPJMnQbpavH X-Received: by 2002:a02:a314:: with SMTP id q20mr6837440jai.104.1636476182685; Tue, 09 Nov 2021 08:43:02 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1636476182; cv=none; d=google.com; s=arc-20160816; b=k2TMUSC4p6msuG1u+3rcxNGGtyA0LDGUtPmLVZACEnOeceHGrrR+HUeEcHaSmUDPqq 2m2nAO5MOFpJbA0onmxX77VpAEHt5IQAxzuSmYlL0DKu6jVpb8YySaG4AKmAe1bmQ7+D BcPCKnjueOCZQBUBVUoGvIc2ZMl8USTi2PBqlXFn9smfXmm8vrcp/wqMVPqBPGZUSXwW rEHCfcpm8Bbp6983gJcfSk7MKNzPnRLnZNVp0F9/LC20GHWhZ00bZ++o0QCpXLV5PN5o J7hWNg9+LgDEDjAahu/1kNVSu9VLKDJpngCjaJ2NBsfgshCCv6Aze7Z/sKM/HrLiE0/R mQ7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:cc:to:from:date:dkim-signature; bh=y5IblQg565u0sn/A0euU0qgQIbVILf7I5YUNUBoW6tM=; b=Mj4A+4NRu1HX9ZWghY3igHn5++oKuuK1PSlUqRYsXGGg6I+bNNFieruvaYp/lMEy0n NL9uZlUxbifdYXCcBZDU2jO5os0qLT5QPm0sjCegDYP/GAlAJxe5zc257S6ZsIuY+DrU kaNp2obXCG+ElAR55Ry0crH8ziZjhyLZbAh81J9Vz0W87KkfOX5p6Oy4Vqa2C6s2Jwck D/HUTcF5KXrngTD32CIzUQUk5MMafWF9+L9fbKr342lvBQX5e+J48t+As8u5pmYNCrft 7xl6Fm/VoUCq+ClcXI+yKw1BolyxckxyX5riF15NYErfYIbQklTvhTsbvOzWR6B5A5FR ojaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=NI6gI2Wd; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k13si39619058ilv.35.2021.11.09.08.42.48; Tue, 09 Nov 2021 08:43:02 -0800 (PST) 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=temperror (no key for signature) header.i=@szeredi.hu header.s=google header.b=NI6gI2Wd; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244632AbhKIJF5 (ORCPT + 99 others); Tue, 9 Nov 2021 04:05:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244631AbhKIJDq (ORCPT ); Tue, 9 Nov 2021 04:03:46 -0500 Received: from mail-ed1-x52c.google.com (mail-ed1-x52c.google.com [IPv6:2a00:1450:4864:20::52c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D9D6CC061764 for ; Tue, 9 Nov 2021 01:00:26 -0800 (PST) Received: by mail-ed1-x52c.google.com with SMTP id f8so73923878edy.4 for ; Tue, 09 Nov 2021 01:00:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=szeredi.hu; s=google; h=date:from:to:cc:subject:message-id:mime-version:content-disposition; bh=y5IblQg565u0sn/A0euU0qgQIbVILf7I5YUNUBoW6tM=; b=NI6gI2WdJ2MeYuHFVw98u0WK1/Ov6zC6EVIj1F5ZIL5DogNGAaZ5KriD88F9zznJvK M7HoNqHXW/q7nhkobp79yMWipkBsHzh2oQh2wDeJbOGntSheBBFkWT0LEh4UCTj/HBIN stI7r40FusMDvwq3rkQfDr0aENqIMUsq4vBMU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition; bh=y5IblQg565u0sn/A0euU0qgQIbVILf7I5YUNUBoW6tM=; b=ehIl18FeuQPy29s6tfAKa8btF3lpbtRko3Oxf7lG3xwRG3fPKo4EUpbl6yE5YMfmpW TWn7HeXoWEztVQ1GUjrr0YScwo95XqJnlZIu3Qk2zZQhl7dStwwYWDuVjeqBxkJtvPoy fx60O2qmnGWHcMCY2Lcw4o1IpAeoIJrPAVWlh1j6vdoEi+CBYyCESEauB27a0uLbcdu/ owjQnLnkHqQlWnaR1C5JWCuZKo5Q+JiiZuOvyfNmQZkgjEjOB8TZoyA87nqiYEBUxlXj OqNORZ4CgEG0UwSdcO8icf3rskk6015bRw5VEDBePtVKPCqFL/WJvuAU8rtTBWijhpl+ JfnA== X-Gm-Message-State: AOAM533qheWfKibdMoweK+DsQtzCsYJvOkKPtlJog/kkt2pkxdSWlnaB /gnDrWIYQ4KJF7MNJxdM3C0wIg== X-Received: by 2002:a05:6402:51cc:: with SMTP id r12mr8329478edd.64.1636448425473; Tue, 09 Nov 2021 01:00:25 -0800 (PST) Received: from miu.piliscsaba.redhat.com (catv-178-48-189-3.catv.broadband.hu. [178.48.189.3]) by smtp.gmail.com with ESMTPSA id ji14sm3163376ejc.89.2021.11.09.01.00.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Nov 2021 01:00:25 -0800 (PST) Date: Tue, 9 Nov 2021 10:00:23 +0100 From: Miklos Szeredi To: Linus Torvalds Cc: linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: [GIT PULL] fuse update for 5.16 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull from: git://git.kernel.org/pub/scm/linux/kernel/git/mszeredi/fuse.git tags/fuse-update-5.16 - Fix a possible of deadlock in case inode writeback is in progress during dentry reclaim. - Fix a crash in case of page stealing. - Selectively invalidate cached attributes, possibly improving performance. - Allow filesystems to disable data flushing from ->flush(). - Misc fixes and cleanups. Thanks, Miklos --- Amir Goldstein (1): fuse: add FOPEN_NOFLUSH Miklos Szeredi (20): fuse: make sure reclaim doesn't write the inode fuse: write inode in fuse_vma_close() instead of fuse_release() fuse: annotate lock in fuse_reverse_inval_entry() fuse: move fuse_invalidate_attr() into fuse_update_ctime() fuse: simplify __fuse_write_file_get() fuse: decrement nlink on overwriting rename fuse: don't increment nlink in link() fuse: selective attribute invalidation fuse: don't bump attr_version in cached write fuse: rename fuse_write_update_size() fuse: always invalidate attributes after writes fuse: fix attr version comparison in fuse_read_update_size() fuse: cleanup code conditional on fc->writeback_cache fuse: simplify local variables holding writeback cache state fuse: move reverting attributes to fuse_change_attributes() fuse: add cache_mask fuse: take cache_mask into account in getattr fuse: only update necessary attributes virtiofs: use strscpy for copying the queue name fuse: fix page stealing Peng Hao (2): fuse: use kmap_local_page() fuse: delete redundant code --- fs/fuse/dax.c | 5 +- fs/fuse/dev.c | 24 ++++++--- fs/fuse/dir.c | 128 ++++++++++++++++++++++------------------------ fs/fuse/file.c | 106 ++++++++++++++++++++------------------ fs/fuse/fuse_i.h | 17 ++++-- fs/fuse/inode.c | 45 +++++++++++++--- fs/fuse/ioctl.c | 4 +- fs/fuse/readdir.c | 6 +-- fs/fuse/virtio_fs.c | 2 +- fs/fuse/xattr.c | 10 ++-- include/uapi/linux/fuse.h | 7 ++- 11 files changed, 203 insertions(+), 151 deletions(-)