Skip to contentSkip to conversation

Porting BTRFS to user space

DISCUSSION 인정식 2 participants 2 messages Apr 7, 2015 Btrfs file system

lore
Share & tools
lore

인정식

author
#0 lore raw

Hello BTRFS developers,

I am requesting your opion.

I am planning to design and implement DFS version of BTRFS. Roughly it will be done by
1. Extending current DeviceID to NodeID:DeviceID to support multi-node, and
2. Implementing inter-node data and meta-data access over TCP.
Do you think it would be feasible?

For development, I would like to port the kernel code to user space. I could continue to run in user mode or be ported back to kernel space. But I don't know how can I start to porting the kernel code to user space. Is there anyone who can help?

Thanks, Jeongsik�淸�{.n�+돴윯돪�+%듚�깁負쪐w��{.n�+돴쪐{깰팳~穹왲^n뇊⊆쫧�곷h솳鈺�&{�z요z받쀺+��+zf"톒쉱�~넮녬i����묎�z_溫�j:+v돣�)山�m

#1 lore raw
Quoted 10 lines · 인정식

Hello BTRFS developers,

I am requesting your opion.

I am planning to design and implement DFS version of BTRFS. Roughly it will be done by
1. Extending current DeviceID to NodeID:DeviceID to support multi-node, and
2. Implementing inter-node data and meta-data access over TCP.
Do you think it would be feasible?

Quoted 8 lines

For development, I would like to port the kernel code to user space. I could continue to run in user mode or be ported back to kernel space. But I don't know how can I start to porting the kernel code to user space. Is there anyone who can help?

Thanks, JeongsikN떑꿩�r툤y鉉싕b쾊Ф푤v�^�)頻{.n�+돴쪐{켷雹�)�鍊w*jgП�텎쉸듶줷/곴�z받뻿�2듷솳鈺�&�)傘첺뛴�췍쳺�h��j:+v돣둾�明

Personally, my suggestion would be to start with a port to FUSE, and then start implementing your modifications off of that. That said, much of the code should already be available in userspace through libbtrfs, which is packaged with btrfs-progs.