summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorDavid Howells2018-04-04 14:41:28 +0200
committerDavid Howells2018-04-06 15:05:14 +0200
commitec0328e46d6e5d0f17372eb90ab8e333c2ac7ca9 (patch)
tree0ff7cf689f4259baa44a5de789f72cdc015a1e30 /net
parentfscache: Pass object size in rather than calling back for it (diff)
downloadkernel-qcow2-linux-ec0328e46d6e5d0f17372eb90ab8e333c2ac7ca9.tar.gz
kernel-qcow2-linux-ec0328e46d6e5d0f17372eb90ab8e333c2ac7ca9.tar.xz
kernel-qcow2-linux-ec0328e46d6e5d0f17372eb90ab8e333c2ac7ca9.zip
fscache: Maintain a catalogue of allocated cookies
Maintain a catalogue of allocated cookies so that cookie collisions can be handled properly. For the moment, this just involves printing a warning and returning a NULL cookie to the caller of fscache_acquire_cookie(), but in future it might make sense to wait for the old cookie to finish being cleaned up. This requires the cookie key to be stored attached to the cookie so that we still have the key available if the netfs relinquishes the cookie. This is done by an earlier patch. The catalogue also renders redundant fscache_netfs_list (used for checking for duplicates), so that can be removed. Signed-off-by: David Howells <dhowells@redhat.com> Acked-by: Anna Schumaker <anna.schumaker@netapp.com> Tested-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions