Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client: support the fallocate() when fuse version >= 2.9 #28831

Merged
merged 1 commit into from Jul 13, 2019

Conversation

renhwztetecs
Copy link
Contributor

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

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

@renhwztetecs renhwztetecs added bug-fix cephfs Ceph File System labels Jul 2, 2019
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>
@tchaikov
Copy link
Contributor

tchaikov commented Jul 9, 2019

retest this please.

@batrick batrick merged commit dfb2068 into ceph:master Jul 13, 2019
batrick added a commit that referenced this pull request Jul 13, 2019
* refs/pull/28831/head:
	client: support the fallocate() when fuse version >= 2.9

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Zheng Yan <zyan@redhat.com>
@renhwztetecs renhwztetecs deleted the renhw-wip-40615 branch July 13, 2019 01:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants