Project

General

Profile

Specify File layout by kernel client and fuse client » History » Version 1

Jessica Mack, 06/22/2015 12:50 AM

1 1 Jessica Mack
h1. Specify File layout by kernel client and fuse client
2
3
h3. Summary
4
5
The file layout defines the stripe strategy of Ceph files, includes stripe count (1 by default), stripe  unit size (4MB by default), object size (4MB by default). Currently, the sole solution to change file layout at run-time is to use libcephfs, which works at a per-file base. Otherwise, it could be changed only at compile-time by revising ‘common/config.cc’, followed a time consuming recompilation. Flexible file layout specification is expected while Ceph is deployed for different types of storage, or for testing. We plan to enable Ceph kernel client, as well as Ceph fuse client to change file layout at run-time. First, the global default layout could be revised by a mount option at mount-time. Second, when a file is just created, being an empty file, ioctl() could be called on it to override the default file layout.
6
7
h3. Owners
8
9
* Li Wang (UbuntuKylin)
10
* Name (Affiliation)
11
* Name
12
13
h3. Interested Parties
14
15
* Name (Affiliation)
16
* Name (Affiliation)
17
* Name
18
19
h3. Current Status
20
21
Under design
22
23
h3. Detailed Description
24
 
25
h3. Work items
26
27
h4. Coding tasks
28
29
# Task 1
30
# Task 2
31
# Task 3
32
33
h4. Build / release tasks
34
35
# Task 1
36
# Task 2
37
# Task 3
38
39
h4. Documentation tasks
40
41
# Task 1
42
# Task 2
43
# Task 3
44
45
h4. Deprecation tasks
46
47
# Task 1
48
# Task 2
49
# Task 3