Re: [ceph-users] ceph-mds crash - jewel 10.2.3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [CEPH Users]     [Ceph Large]     [Information on CEPH]     [Linux BTRFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux