kernal space: not easy to change anything
user space: all aplication space
Don’t want to write or open file in kernal sapce, because it may mess up the kernel. Recent 5 years, people do research in fuse to develop DFS in user space, and how to impove the performance and user abilities. We can use any ptotocal to communicate between client and server. But in thess assignments, we use RPC.
Assignemnt 2: 4 parts
Part 1:
- implement WatDFS functions (watdfs_client.c)
- set up RPC library between client and server
- listen to RPC call (rpc.h)
- linux support
Assignment 3: cache copy on client side
- libFUSE handler
- set up RPC lib between client and customer
Reference material:
Book: Distributed Systems, Third edition, Version 3.02(2018), Maarten van Steen and Andrew S. Tanenbaum.
Lectures: University of Waterloo, CS 454/654 (Distributed System), 2020 winter term, Professor Khuzaima Daudjee.