From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 504FAECAAD1 for ; Wed, 31 Aug 2022 16:15:02 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231755AbiHaQO7 (ORCPT ); Wed, 31 Aug 2022 12:14:59 -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 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(-)