mirror of
https://github.com/ceph/ceph
synced 2025-01-29 06:24:03 +00:00
004898a73e
A new cap_id is issued each time an MDS creates a new capability, and is checked when releasing a capability to ensure it is the same capability instance. This specifically avoids a race like: 1- mds issues cap 2- mds sends cap message 3- mds and client time out cap 4- client receives cap message, sends release 5- mds reissues cap on same inode 6- mds receives release, doesn't realize the release is for the old capability Checking seq numbers isn't enough because the MDS may reissue the cap any number of times between 3 and 6. |
||
---|---|---|
.. | ||
assert.h | ||
atomic.h | ||
bitmapper.h | ||
blobhash.h | ||
buffer.h | ||
byteorder.h | ||
ceph_fs.h | ||
Context.h | ||
crc32c.h | ||
cstring.h | ||
Distribution.h | ||
encoding.h | ||
err.h | ||
error.h | ||
filepath.h | ||
frag.h | ||
hash.h | ||
intarith.h | ||
interval_set.h | ||
inttypes.h | ||
LogEntry.h | ||
lru.h | ||
nstring.h | ||
object.h | ||
page.h | ||
pobject.h | ||
rangeset.h | ||
statlite.h | ||
triple.h | ||
tstring.h | ||
types.h | ||
uofs.h | ||
utime.h | ||
xlist.h |