[GIT PULL] fscache, cachefiles: Miscellaneous fixes

From: David Howells
Date: Wed Aug 31 2022 - 12:15:02 EST


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 be
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 b90cb1053190353cc30f0fef0ef1f378ccc063c5:

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(-)