]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
include/ceph_fs.h: define magic LOST+FOUND ino
authorJohn Spray <john.spray@redhat.com>
Fri, 8 May 2015 13:24:37 +0000 (14:24 +0100)
committerJohn Spray <john.spray@redhat.com>
Mon, 13 Jul 2015 13:05:17 +0000 (14:05 +0100)
So that recovery tools can create this dir without
having to consult/modify InoTable.

Signed-off-by: John Spray <john.spray@redhat.com>
src/include/ceph_fs.h

index 60dedd47d2f54fdc7c961f6210f719c89e3126c3..94920c21d3d39b297e60d73d774c415a7bfd89a3 100644 (file)
@@ -29,6 +29,7 @@
 #define CEPH_INO_ROOT   1
 #define CEPH_INO_CEPH   2       /* hidden .ceph dir */
 #define CEPH_INO_DOTDOT 3      /* used by ceph fuse for parent (..) */
+#define CEPH_INO_LOST_AND_FOUND 4      /* reserved ino for use in recovery */
 
 /* arbitrary limit on max # of monitors (cluster of 3 is typical) */
 #define CEPH_MAX_MON   31