Received: by 2002:a05:6358:45e:b0:b5:b6eb:e1f9 with SMTP id 30csp697059rwe; Wed, 31 Aug 2022 09:24:50 -0700 (PDT) X-Google-Smtp-Source: AA6agR6glb6R4ItOvVsv6lLiPM22Cog+4dqe5i3seFLsMD4UZ5YbWfgExWFZ5euFcgi8nLu9xTIX X-Received: by 2002:a17:907:728c:b0:730:c005:5d93 with SMTP id dt12-20020a170907728c00b00730c0055d93mr21182221ejc.265.1661963090266; Wed, 31 Aug 2022 09:24:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661963090; cv=none; d=google.com; s=arc-20160816; b=KoR36Qys6UI5UxKfDhaGe9wSpBjCAaGndQwo8xe9M9W/E0G+Pk2myL6ZONdRi3ui8x 8nagArqK0WrOnu2CivAXqZI80+g33spMGGssPX/ADq85p0+BP1WqRXlylXeAftJ6eZW0 P9OpZY1Wjhlj7862HdMuU8AxYne6cv2CoglF4nB5mVgRIu8lT8RVbu5M+56jEZCJfhD/ u4Kb/8IclmYq1c77SI6RSer8mO6wAJksb8xnqRB4qUcvbdcLOcj2XlYtQqdNio6LO62X YJhZAruCciBua1HLhz4sX7pHP+9Lbbr9eWaMYS+EEdS7WKI+11+n9e8OrA6ckeoPixPj RGvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:message-id:date:content-transfer-encoding :content-id:mime-version:subject:cc:to:from:organization :dkim-signature; bh=ohhxUg4+7/8HPSeKqNusAxfeg1kSR1cM5jiTTCPKRpM=; b=mHFrBUrAUmhI5qquuEBWNrw/fjAEEG+AY/rC/vLpykNHJ8uka1qc2rOeDwPG68w5dH fjxlPMJ9huShplPhjtNcNrzEX7o6KEkA4pTz2FFDTqYZr7Ak7B/VQ+L1MV1j4zG2/f/Z oPtusuYN1k1mqKCei2jVb4nlSduIUTgphkLHqhNbST7Tdf1OvxaE15UeEu4OoIp4Z4+B AX6qRwSlXDSEKCGDD7YCpnr8TQm+BhFLzdG5u0TX876u+TsK6LtJj+v5kRnO3T9fhRqy cHUHRHDG5jZclw/CSnH2zzSvGJhdgaosWQxVzCQZWnbi4wJN4mORcArC02JXvCg4dNPG jsvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BEiHWC1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qf22-20020a1709077f1600b0072ed60fb78asi9319846ejc.548.2022.08.31.09.24.24; Wed, 31 Aug 2022 09:24:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BEiHWC1s; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231881AbiHaQO6 (ORCPT + 99 others); Wed, 31 Aug 2022 12:14:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48826 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231963AbiHaQOx (ORCPT ); Wed, 31 Aug 2022 12:14:53 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCDCEBA3 for ; Wed, 31 Aug 2022 09:14:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1661962485; 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: content-transfer-encoding:content-transfer-encoding; bh=ohhxUg4+7/8HPSeKqNusAxfeg1kSR1cM5jiTTCPKRpM=; b=BEiHWC1s9ZqTWaJZU2/jKzxNgGw8Cq3dnUS25pvmIcYhByUrd4M+SQTWCk/TVq1nJZ6o8T sFFEOeBn0sAMx2L/Ql9tpMzW3ZnC4x6aWEexho26JupP5k54svsxSb3+tqBRqykOl935lk +PBLii5RxQQ5W0aulx1r4A/LdkiEJW0= Received: from mimecast-mx02.redhat.com (mx3-rdu2.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-442-Q-eZkHgUNKmsL4Z_r1Ec6Q-1; Wed, 31 Aug 2022 12:14:43 -0400 X-MC-Unique: Q-eZkHgUNKmsL4Z_r1Ec6Q-1 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.rdu2.redhat.com [10.11.54.4]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 2BCEE294EDDC; Wed, 31 Aug 2022 16:14:43 +0000 (UTC) Received: from warthog.procyon.org.uk (unknown [10.33.36.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id 3C28A2026D4C; Wed, 31 Aug 2022 16:14:41 +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 To: torvalds@linux-foundation.org cc: dhowells@redhat.com, jlayton@kernel.org, Khalid Masum , Gao Xiang , Jeffle Xu , Sun Ke , Xin Yin , Yongqing Li , Dan Carpenter , Randy Dunlap , linux-cachefs@redhat.com, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [GIT PULL] fscache, cachefiles: Miscellaneous fixes MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1867370.1661962479.1@warthog.procyon.org.uk> Content-Transfer-Encoding: quoted-printable Date: Wed, 31 Aug 2022 17:14:39 +0100 Message-ID: <1867371.1661962479@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.78 on 10.11.54.4 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Here's a collection of fixes for fscache and cachefiles, if you could pull them: (1) Fix kdoc on fscache_use/unuse_cookie(). (2) Fix the error returned by cachefiles_ondemand_copen() from an upcall result. (3) Fix the distribution of requests in on-demand mode in cachefiles to b= e fairer by cycling through them rather than picking the one with the lowest ID each time (IDs being reused). David --- The following changes since commit b90cb1053190353cc30f0fef0ef1f378ccc063c= 5: Linux 6.0-rc3 (2022-08-28 15:05:29 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git tags= /fscache-fixes-20220831 for you to fetch changes up to 1122f40072731525c06b1371cfa30112b9b54d27: cachefiles: make on-demand request distribution fairer (2022-08-31 16:41= :10 +0100) ---------------------------------------------------------------- fscache/cachefiles fixes ---------------------------------------------------------------- Khalid Masum (1): fscache: fix misdocumented parameter Sun Ke (1): cachefiles: fix error return code in cachefiles_ondemand_copen() Xin Yin (1): cachefiles: make on-demand request distribution fairer fs/cachefiles/internal.h | 1 + fs/cachefiles/ondemand.c | 22 ++++++++++++++++------ include/linux/fscache.h | 4 ++-- 3 files changed, 19 insertions(+), 8 deletions(-)