I am not sure, if Rocksdb/LevelDB can work on a raw device. When I looked at code they were doing write to mount point/directory.
Varada -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Haomai Wang Sent: Friday, October 03, 2014 10:55 AM To: Somnath Roy Cc: Sage Weil ([email protected]); ceph-devel Subject: Re: Regarding key/value interface Correctly, maybe we can move these super metadata to backend! On Fri, Oct 3, 2014 at 6:47 AM, Somnath Roy <[email protected]> wrote: > Hi Sage/Haomai, > > I was going through the key/value store implementation and have one basic > question regarding the way it is designed. > > I think key/value interface is assuming there will be a filesystem on top of > the device . I saw in mount you are accessing files like superblock/fsid. So, > for example, /var/lib/ceph/osd/ceph-0 should be a filesystem path, right ? > If so, this may not be the case always as there are key/value stores which > can work on the raw device. In that case, these files (superblock/fsid) also > need to go in the key/value db. > > Let me know if I am missing anything. > > Thanks & Regards > Somnath > > > > ________________________________ > > PLEASE NOTE: The information contained in this electronic mail message is > intended only for the use of the designated recipient(s) named above. If the > reader of this message is not the intended recipient, you are hereby notified > that you have received this message in error and that any review, > dissemination, distribution, or copying of this message is strictly > prohibited. If you have received this communication in error, please notify > the sender by telephone or e-mail (as shown above) immediately and destroy > any and all copies of this message in your possession (whether hard copies or > electronically stored copies). > -- Best Regards, Wheat -- To unsubscribe from this list: send the line "unsubscribe ceph-devel" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html N�����r��y����b�X��ǧv�^�){.n�+���z�]z���{ay�ʇڙ�,j��f���h���z��w��� ���j:+v���w�j�m��������zZ+�����ݢj"��!�i
