• Linus Torvalds's avatar
    Merge tag 'fscache-next-20180406' of... · 62f8e6c5
    Linus Torvalds authored
    Merge tag 'fscache-next-20180406' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs
    
    Pull fscache updates from David Howells:
     "Three patches that fix some of AFS's usage of fscache:
    
       (1) Need to invalidate the cache if a foreign data change is detected
           on the server.
    
       (2) Move the vnode ID uniquifier (equivalent to i_generation) from
           the auxiliary data to the index key to prevent a race between
           file delete and a subsequent file create seeing the same index
           key.
    
       (3) Need to retire cookies that correspond to files that we think got
           deleted on the server.
    
      Four patches to fix some things in fscache and cachefiles:
    
       (4) Fix a couple of checker warnings.
    
       (5) Correctly indicate to the end-of-operation callback whether an
           operation completed or was cancelled.
    
       (6) Add a check for multiple cookie relinquishment.
    
       (7) Fix a path through the asynchronous write that doesn't wake up a
           waiter for a page if the cache decides not to write that page,
           but discards it instead.
    
      A couple of patches to add tracepoints to fscache and cachefiles:
    
       (8) Add tracepoints for cookie operators, object state machine
           execution, cachefiles object management and cachefiles VFS
           operations.
    
       (9) Add tracepoints for fscache operation management and page
           wrangling.
    
      And then three development patches:
    
      (10) Attach the index key and auxiliary data to the cookie, pass this
           information through various fscache-netfs API functions and get
           rid of the callbacks to the netfs to get it.
    
           This means that the cache can get at this information, even if
           the netfs goes away. It also means that the cache can be lazy in
           updating the coherency data.
    
      (11) Pass the object data size through various fscache-netfs API
           rather than calling back to the netfs for it, and store the value
           in the object.
    
           This makes it easier to correctly resize the object, as the size
           is updated on writes to the cache, rather than calling back out
           to the netfs.
    
      (12) Maintain a catalogue of allocated cookies. This makes it possible
           to catch cookie collision up front rather than down in the bowels
           of the cache being run from a service thread from the object
           state machine.
    
           This will also make it possible in the future to reconnect to a
           cookie that's not gone dead yet because it's waiting for
           finalisation of the storage and also make it possible to bring
           cookies online if the cache is added after the cookie has been
           obtained"
    
    * tag 'fscache-next-20180406' of git://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs:
      fscache: Maintain a catalogue of allocated cookies
      fscache: Pass object size in rather than calling back for it
      fscache: Attach the index key and aux data to the cookie
      fscache: Add more tracepoints
      fscache: Add tracepoints
      fscache: Fix hanging wait on page discarded by writeback
      fscache: Detect multiple relinquishment of a cookie
      fscache: Pass the correct cancelled indications to fscache_op_complete()
      fscache, cachefiles: Fix checker warnings
      afs: Be more aggressive in retiring cached vnodes
      afs: Use the vnode ID uniquifier in the cache key not the aux data
      afs: Invalidate cache on server data change
    62f8e6c5
Name
Last commit
Last update
..
ABI Loading commit data...
EDID Loading commit data...
PCI Loading commit data...
RCU Loading commit data...
accelerators Loading commit data...
accounting Loading commit data...
acpi Loading commit data...
admin-guide Loading commit data...
aoe Loading commit data...
arm Loading commit data...
arm64 Loading commit data...
auxdisplay Loading commit data...
backlight Loading commit data...
block Loading commit data...
blockdev Loading commit data...
bpf Loading commit data...
bus-devices Loading commit data...
cdrom Loading commit data...
cgroup-v1 Loading commit data...
cma Loading commit data...
connector Loading commit data...
console Loading commit data...
core-api Loading commit data...
cpu-freq Loading commit data...
cpuidle Loading commit data...
crypto Loading commit data...
dev-tools Loading commit data...
device-mapper Loading commit data...
devicetree Loading commit data...
doc-guide Loading commit data...
driver-api Loading commit data...
driver-model Loading commit data...
early-userspace Loading commit data...
extcon Loading commit data...
fault-injection Loading commit data...
fb Loading commit data...
features Loading commit data...
filesystems Loading commit data...
firmware_class Loading commit data...
fmc Loading commit data...
fpga Loading commit data...
gpio Loading commit data...
gpu Loading commit data...
hid Loading commit data...
hwmon Loading commit data...
i2c Loading commit data...
ia64 Loading commit data...
ide Loading commit data...
iio Loading commit data...
infiniband Loading commit data...
input Loading commit data...
ioctl Loading commit data...
isdn Loading commit data...
kbuild Loading commit data...
kdump Loading commit data...
kernel-hacking Loading commit data...
laptops Loading commit data...
leds Loading commit data...
lightnvm Loading commit data...
livepatch Loading commit data...
locking Loading commit data...
m68k Loading commit data...
maintainer Loading commit data...
md Loading commit data...
media Loading commit data...
memory-devices Loading commit data...
mic Loading commit data...
mips Loading commit data...
misc-devices Loading commit data...
mmc Loading commit data...
mtd Loading commit data...
namespaces Loading commit data...
netlabel Loading commit data...
networking Loading commit data...
nfc Loading commit data...
nios2 Loading commit data...
nvdimm Loading commit data...
nvmem Loading commit data...
openrisc Loading commit data...
parisc Loading commit data...
pcmcia Loading commit data...
perf Loading commit data...
phy Loading commit data...
platform Loading commit data...
power Loading commit data...
powerpc Loading commit data...
pps Loading commit data...
process Loading commit data...
pti Loading commit data...
ptp Loading commit data...
rapidio Loading commit data...
s390 Loading commit data...
scheduler Loading commit data...
scsi Loading commit data...
security Loading commit data...
serial Loading commit data...
sh Loading commit data...
sound Loading commit data...
sparc Loading commit data...
sphinx Loading commit data...
sphinx-static Loading commit data...
spi Loading commit data...
sysctl Loading commit data...
target Loading commit data...
thermal Loading commit data...
timers Loading commit data...
trace Loading commit data...
translations Loading commit data...
usb Loading commit data...
userspace-api Loading commit data...
virtual Loading commit data...
vm Loading commit data...
w1 Loading commit data...
watchdog Loading commit data...
wimax Loading commit data...
x86 Loading commit data...
xtensa Loading commit data...
.gitignore Loading commit data...
00-INDEX Loading commit data...
Changes Loading commit data...
CodingStyle Loading commit data...
DMA-API-HOWTO.txt Loading commit data...
DMA-API.txt Loading commit data...
DMA-ISA-LPC.txt Loading commit data...
DMA-attributes.txt Loading commit data...
IPMI.txt Loading commit data...
IRQ-affinity.txt Loading commit data...
IRQ-domain.txt Loading commit data...
IRQ.txt Loading commit data...
Intel-IOMMU.txt Loading commit data...
Makefile Loading commit data...
SAK.txt Loading commit data...
SM501.txt Loading commit data...
SubmittingPatches Loading commit data...
atomic_bitops.txt Loading commit data...
atomic_t.txt Loading commit data...
bcache.txt Loading commit data...
bt8xxgpio.txt Loading commit data...
btmrvl.txt Loading commit data...
bus-virt-phys-mapping.txt Loading commit data...
cachetlb.txt Loading commit data...
cgroup-v2.txt Loading commit data...
circular-buffers.txt Loading commit data...
clearing-warn-once.txt Loading commit data...
clk.txt Loading commit data...
conf.py Loading commit data...
cpu-load.txt Loading commit data...
cputopology.txt Loading commit data...
crc32.txt Loading commit data...
dcdbas.txt Loading commit data...
debugging-modules.txt Loading commit data...
debugging-via-ohci1394.txt Loading commit data...
dell_rbu.txt Loading commit data...
digsig.txt Loading commit data...
docutils.conf Loading commit data...
dontdiff Loading commit data...
efi-stub.txt Loading commit data...
eisa.txt Loading commit data...
flexible-arrays.txt Loading commit data...
futex-requeue-pi.txt Loading commit data...
gcc-plugins.txt Loading commit data...
highuid.txt Loading commit data...
hw_random.txt Loading commit data...
hwspinlock.txt Loading commit data...
index.rst Loading commit data...
intel_txt.txt Loading commit data...
io-mapping.txt Loading commit data...
io_ordering.txt Loading commit data...
iostats.txt Loading commit data...
irqflags-tracing.txt Loading commit data...
isa.txt Loading commit data...
isapnp.txt Loading commit data...
kernel-per-CPU-kthreads.txt Loading commit data...
kobject.txt Loading commit data...
kprobes.txt Loading commit data...
kref.txt Loading commit data...
ldm.txt Loading commit data...
lockup-watchdogs.txt Loading commit data...
logo.gif Loading commit data...
logo.txt Loading commit data...
lsm.txt Loading commit data...
lzo.txt Loading commit data...
mailbox.txt Loading commit data...
memory-barriers.txt Loading commit data...
memory-hotplug.txt Loading commit data...
men-chameleon-bus.txt Loading commit data...
nommu-mmap.txt Loading commit data...
ntb.txt Loading commit data...
numastat.txt Loading commit data...
padata.txt Loading commit data...
parport-lowlevel.txt Loading commit data...
percpu-rw-semaphore.txt Loading commit data...
phy.txt Loading commit data...
pi-futex.txt Loading commit data...
pnp.txt Loading commit data...
preempt-locking.txt Loading commit data...
pwm.txt Loading commit data...
rbtree.txt Loading commit data...
remoteproc.txt Loading commit data...
rfkill.txt Loading commit data...
robust-futex-ABI.txt Loading commit data...
robust-futexes.txt Loading commit data...
rpmsg.txt Loading commit data...
rtc.txt Loading commit data...
sgi-ioc4.txt Loading commit data...
siphash.txt Loading commit data...
smsc_ece1099.txt Loading commit data...
speculation.txt Loading commit data...
static-keys.txt Loading commit data...
svga.txt Loading commit data...
switchtec.txt Loading commit data...
sync_file.txt Loading commit data...
tee.txt Loading commit data...
this_cpu_ops.txt Loading commit data...
unaligned-memory-access.txt Loading commit data...
vfio-mediated-device.txt Loading commit data...
vfio.txt Loading commit data...
video-output.txt Loading commit data...
xillybus.txt Loading commit data...
xz.txt Loading commit data...
zorro.txt Loading commit data...