From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============7402381576782485515==" MIME-Version: 1.0 From: Walker, Benjamin Subject: Re: [SPDK] Regarding porting SPDK on linux Date: Tue, 19 Apr 2016 16:07:33 +0000 Message-ID: <1461082052.65657.6.camel@intel.com> In-Reply-To: CAKGkwFyoxfED60_tp5DRzAPk0m59tr5N_K0bFg3hKB0Eovk5yA@mail.gmail.com List-ID: To: spdk@lists.01.org --===============7402381576782485515== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable RocksDB, at least by default, expects a POSIX compliant filesystem for I/O = operations. When you load the SPDK NVMe driver in user space, you are foreg= oing your ability to use standard Linux kernel filesystems. Therefore, you = can't just run RocksDB on top of the SPDK NVMe driver - you have to write s= ome code to replace the filesystem. Fortunately, there are two nice things = here that may make this still possible. First, RocksDB has a "pluggable" ba= ckend implemented as a base class named "Env" that you can inherit from and= override. The stock distribution already provides an implementation to run= RocksDB on HDFS, for example. Second, RocksDB uses only a very minimal set= of operations when writing to a file, so you wouldn't have to implement th= e full range of features of a POSIX compliant filesystem. I don't want to m= inimize the amount of work this would take though - it still requires you t= o write a significant amount of code. The latest release of Ceph (Jewel) now optionally implements their nodes us= ing RocksDB + custom userspace filesystem + SPDK NVMe driver, so you can re= fer to that project as an example. On Mon, 2016-04-18 at 22:33 -0500, Parag Panda wrote: Hi, I am planning to run RocksDB on a linux machine which has support of SPDK N= VMe driver and not the native one. Can someone guide me through the process? Thanks Parag _______________________________________________ SPDK mailing list SPDK(a)lists.01.org https://lists.01.org/mailman/listinfo/spdk --===============7402381576782485515==--