ceph/src/include
Sage Weil 004898a73e mds: unique (per mds) cap_id
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.
2009-01-21 15:34:31 -08:00
..
assert.h custom assertion handler 2008-10-13 13:32:03 -07:00
atomic.h msgr: ref count message while they are owned by the messenger 2008-11-20 11:43:54 -08:00
bitmapper.h
blobhash.h
buffer.h buffer: optionally preallocate some append_buffer 2008-12-18 15:24:00 -08:00
byteorder.h
ceph_fs.h mds: unique (per mds) cap_id 2009-01-21 15:34:31 -08:00
Context.h context: all C_Gather to OR instead of AND subs. 2008-11-24 14:06:49 -08:00
crc32c.h replace the crc32c code 2008-10-10 15:52:30 -07:00
cstring.h cstring: pre-terminate even if content unspecified 2008-11-20 13:31:13 -08:00
Distribution.h custom assertion handler 2008-10-13 13:32:03 -07:00
encoding.h mds: simplify capability issued tracking 2009-01-06 13:46:34 -08:00
err.h
error.h
filepath.h filepath: don't remove dup /'s 2008-07-14 09:58:40 -07:00
frag.h rewrite debug macros, infrastructure 2008-11-05 14:32:37 -08:00
hash.h
intarith.h osd: track bytes/kb usage over clones too 2008-11-18 16:47:59 -08:00
interval_set.h custom assertion handler 2008-10-13 13:32:03 -07:00
inttypes.h
LogEntry.h mon: rename out to log, log.type files 2008-12-05 14:33:03 -08:00
lru.h rewrite debug macros, infrastructure 2008-11-05 14:32:37 -08:00
nstring.h mds: .snap mostly working 2008-07-14 13:22:43 -07:00
object.h object: print snapid in hex 2008-12-01 16:53:16 -08:00
page.h
pobject.h snap: fix oid.snap 2008-07-01 10:33:36 -07:00
rangeset.h custom assertion handler 2008-10-13 13:32:03 -07:00
statlite.h
triple.h mds: tons of encoding changes 2008-05-08 20:30:04 -07:00
tstring.h lockdep: annotate Mutex declarations 2008-10-31 16:51:50 -07:00
types.h change ceph_fsid 2008-12-23 13:39:25 -08:00
uofs.h
utime.h make time format easier to read 2008-12-18 11:34:11 -08:00
xlist.h kclient: keep readonly caps on per-session lru 2009-01-06 16:33:31 -08:00