summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Bijlani <ashish.bijlani@gatech.edu>2020-01-19 12:44:23 -0600
committerAshish Bijlani <ashish.bijlani@gatech.edu>2020-01-19 12:44:23 -0600
commit3657fa423b5abee2b6e5aad613d62d3080cef548 (patch)
treef9eeda9d2ac0fbf8add3b274f5f140be15fa2374
parent179c03cebbadb209d7e6b75fcc832751d762811d (diff)
downloadextfuse-3657fa423b5abee2b6e5aad613d62d3080cef548.tar.gz
Update README instructions to build ExtFUSE library.
Signed-off-by: Ashish Bijlani <ashish.bijlani@gatech.edu>
-rw-r--r--README.md17
1 files changed, 13 insertions, 4 deletions
diff --git a/README.md b/README.md
index a826810..84ef7b5 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,5 @@
# Extension Framework for FUSE
-* LibExtFUSE code Coming soon!
-
We have modifed the FUSE driver to support ExtFUSE feature. Therefore, you will have to install and run a our modified kernel. To clone the kernel sources do:
```
$ git clone --branch ExtFUSE-1.0 https://github.com/extfuse/linux
@@ -12,10 +10,21 @@ $ make -j4
$ sudo make install -j4
```
-You will also need a modified FUSE library. To clone its source repo:
+Boot into the new kernel. Clone ExtFUSE library sources and build. You will need LLVM/Clang toolchain.
+```
+$ git clone https://github.com/extfuse/extfuse
+$ cd extfuse
+$ LLC=llc-3.8 CLANG=clang-3.8 make
+```
+
+The eBPF code for handling FUSE requests in the kernel can be found in ```bpf/extfuse.c```.
+Once you build the library, compiled eBPF bytecode can be found in ```src/extfuse.o```.
+
+Finally, you will also need a modified FUSE library. To clone its source repo:
```
-git clone --branch ExtFUSE-1.0 https://github.com/extfuse/libfuse
+$ git clone --branch ExtFUSE-1.0 https://github.com/extfuse/libfuse
```
+Follow instructions [here](https://github.com/libfuse/libfuse/blob/master/README.md) to build libfuse.
* [Open Source Summit, 2018 Presentation](https://events.linuxfoundation.org/wp-content/uploads/2017/11/When-eBPF-Meets-FUSE-Improving-Performance-of-User-File-Systems-Ashish-Bijlani-Georgia-Tech.pdf)