summaryrefslogtreecommitdiffstats
path: root/under_review/EC_fallaocate_support.md
blob: 79402b7b9f825f74c6606a4c48932ae079ee6336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
Feature
-------

Implement support for FALLOCATE file operation on EC volumes.

Summary
-------

Adding support for FALLOCATE file operation on EC volumes. With this
support users can now perform FALLOCATE opration and any dependant
oprations on EC volume that needs FALLOCATE support.

Owners
------

Sunil Kumar Acharya <sheggodu@redhat.com>

Current status
--------------

Completed.

Related Feature Requests and Bugs
---------------------------------

https://github.com/gluster/glusterfs/issues/219

https://bugzilla.redhat.com/show_bug.cgi?id=1448293

Detailed Description
--------------------

FALLOCATE operations are used to preallocate or deallocate space to a file.

Existing EC volume doesn't have support for FALLOCATE operation. Due to this,
users cannot perform certain operations on EC volumes (ex: rebalance).

This feature addion will enable users to use EC volumes in a seamless fashion
by extending support for more operations.

With this feature addition we are supporting the basic FALLOCATE functionality.
This enhancement will not add support for following FALLOCATE modes/flags.

FALLOC_FL_COLLAPSE_RANGE,
FALLOC_FL_INSERT_RANGE,
FALLOC_FL_ZERO_RANGE,
FALLOC_FL_PUNCH_HOLE

Benefit to GlusterFS
--------------------

With this feature implementation Gluster users can perform rebalance operation
on EC volumes.

Scope
-----

#### Nature of proposed change

Add support for file operation on EC by modifying existing code.

#### Implications on manageability

NA

#### Implications on presentation layer

NA

#### Implications on persistence layer

NA

#### Implications on 'GlusterFS' backend

NA

#### Modification to GlusterFS metadata

NA

#### Implications on 'glusterd'

NA

How To Test
-----------

Regression test scripts have been added to perform the testing.

User Experience
---------------

User can now perform FALLOCATE oprations on EC volumes.

Dependencies
------------

NA

Documentation
-------------

Required.

Status
------

Completed.

Comments and Discussion
-----------------------

NA