]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
client: support the fallocate() when fuse version >= 2.9 28831/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 2 Jul 2019 16:20:23 +0000 (00:20 +0800)
committerhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 2 Jul 2019 16:20:23 +0000 (00:20 +0800)
commitdfb2068e671342e3b74ecd469e5d43ef5a0a1f8b
tree95cc093eae35d6b69a0bf02f574b5c16e7c795ba
parentd8eb2bb73ee0245aeef24a858d60f7544d436e78
client: support the fallocate() when fuse version >= 2.9

You can see that libfuse already supports the fallocate() function call in version 2.9,
see https://github.com/libfuse/libfuse/blob/fuse_2_9_bugfix/include/fuse_lowlevel.h,
At the same time, the fuse version currently used in the 3.10 kernel is mostly 2.9,
so it is necessary to fix this feature.

Fixes: http://tracker.ceph.com/issues/40615
Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
src/client/fuse_ll.cc