]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
client: support the fallocate() when fuse version >= 2.9 29157/head
authorhuanwen ren <ren.huanwen@zte.com.cn>
Tue, 2 Jul 2019 16:20:23 +0000 (00:20 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 22 Jul 2019 09:47:45 +0000 (11:47 +0200)
commit14f3979fedca1233d166fbd3b23d2cc5cfd38e1f
tree179c0522b66f33764fe0f31450fdcd3e700ffe85
parenta7a380a44f295d3e685d332fe3e0e65c49902320
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>
(cherry picked from commit dfb2068e671342e3b74ecd469e5d43ef5a0a1f8b)
src/client/fuse_ll.cc