On Mon, May 22, 2017 at 6:10 PM, Simion Marius Rad <simarad@xxxxxxxxx> wrote: > What do represent (in the context of ceph rados) the x and i arguments in > the MDS_INO_STRAY(x,i) macro from mdstypes.h file: > #define MDS_INO_STRAY(x,i) > (MDS_INO_STRAY_OFFSET+((((unsigned)(x))*NUM_STRAY)+((unsigned)(i)))) (copying list back in, in case anyone else is ever searching for this) x is the MDS rank. i is from 0 up to NUM_STRAY (10) The purpose is to create 10 stray directories for each MDS rank. There being 10 of them is kind of arbitrary, in preference to having one super big one. The value returned by the macro is the inode number of a stray directory. John -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html