Commit Graph

16 Commits

Author SHA1 Message Date
Sage Weil
09b08c5d34 fix utime.h #include recursion
Coverity cid 11, 13

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-08-26 09:11:16 -07:00
Sage Weil
8fe50b84d8 mds: separate type for gratuitous debug ESubtreeMaps
Give these a different type so they are not interpreted as subtree
boundaries during replay.  Otherwise we break the truncate_finish code,
which references the truncate_start logsegment by offset.  Probably other
stuff too.

Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-28 16:01:07 -07:00
Sage Weil
4fe09c1cc9 mds: set LogEvent _start_off, drop unused _end_off
Signed-off-by: Sage Weil <sage@newdream.net>
2011-07-20 12:49:02 -07:00
Sage Weil
e405d4a479 mds: implement journal reset
This basically works.  Remaining issues:
 - mydir and root inodes are recreated from scratch but need to be
   reconciled with what's committed (outside the old journal)
 - ?

Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
2011-01-28 16:55:48 -08:00
Sage Weil
8f24919d39 mds: add timestamp to LogEvents
This just gives us a bit of useful info when debugging problems.

Signed-off-by: Sage Weil <sage@newdream.net>
2010-11-16 12:08:12 -08:00
Markus Elfring
f4b9d9d847 Bug #98: Unique names for include guards
A couple of preprocessor symbols for include guards tampered with the reserved namespace.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sage Weil <sage@newdream.net>
2010-06-17 10:47:37 -07:00
Sage Weil
57d8ba9990 mds: rip out old purge_inode crap 2009-01-30 11:44:33 -08:00
Sage Weil
586236c536 mds: refactor Anchor{Table,Client} into MDSTable{Server,Client} 2008-07-16 13:46:09 -07:00
Sage Weil
c0b46e03b4 Merge branch 'unstable' into snap
Conflicts:

	src/TODO
	src/messages/MOSDOp.h
	src/messages/MOSDSubOp.h
	src/vstartnew.sh
2008-07-09 16:16:48 -07:00
Sage Weil
dccae6d2cd use orig_source for MClientRequest, MOSDOp 2008-07-09 16:01:00 -07:00
Sage Weil
33c2ae066e mds: ESnap, SnapInfo 2008-07-02 11:06:44 -07:00
Sage Weil
5b6d568b23 mds: fix resolution, trimming of master requests with slaves 2008-06-02 13:40:00 -07:00
Sage Weil
c23747fa7f mds: tons of encoding changes 2008-05-08 20:30:04 -07:00
Sage Weil
2ba5f32dbe improved max_size handling in mds, client. avoid spurious setattr/utime after open in client by ignoring sub-second mtime resolution... weird 2008-01-30 16:46:30 -08:00
Sage Weil
bbc61d9b73 mds: flush file (size+mtime) metadata to journal on close 2008-01-30 13:48:24 -08:00
Sage Weil
c1865445c5 reorganized source tree 2007-12-19 13:28:33 -08:00