-
Notifications
You must be signed in to change notification settings - Fork 554
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
cephfs: enable read affinity #4153
cephfs: enable read affinity #4153
Conversation
a7fdbdb
to
a06de16
Compare
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions. |
4d028e7
to
6b766e9
Compare
This pull request now has conflicts with the target branch. Could you please resolve conflicts and force push the corrected changes? 🙏 |
6b766e9
to
b1470fe
Compare
429c46c
to
77a33c5
Compare
/test ci/centos/mini-e2e/k8s-1.28 |
/test ci/centos/mini-e2e-helm/k8s-1.27 |
77a33c5
to
a1d198b
Compare
/test ci/centos/mini-e2e-helm/k8s-1.27 |
/test ci/centos/mini-e2e/k8s-1.28 |
@Rakshith-R, looks like |
a1d198b
to
128cf36
Compare
/test ci/centos/mini-e2e/k8s-1.28 |
Fuse might not support this option, you can to skip and log it in the nodeplugin. |
docs/deploy-cephfs.md
Outdated
Refer [krbd-options](https://docs.ceph.com/en/latest/man/8/rbd/#kernel-rbd-krbd-options) | ||
for more details. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This points to krbd mount options,
These read affinity mount options are not documented for cephfs kernel mounter. I'll ask for it to be documented at https://docs.ceph.com/en/latest/man/8/mount.ceph/#options.
Let's remove these two lines for now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
22fa0a8
to
a3ba54c
Compare
@Mergifyio rebase |
This commit makes use of crush location labels from node labels to supply `crush_location` and `read_from_replica=localize` options during mount. Using these options, cephfs will be able to redirect reads to the closest OSD, improving performance. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit adds --enable-read-affinity flag to enable read affinity for CephFS. Signed-off-by: Praveen M <m.praveen@ibm.com>
This commit adds documentation about read affinity supported for CephFS subvolumes. Signed-off-by: Praveen M <m.praveen@ibm.com>
✅ Branch has been successfully rebased |
a3ba54c
to
0cc6db9
Compare
@Mergifyio rebase |
✅ Nothing to do for rebase action |
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at 00c12b3 |
/test ci/centos/k8s-e2e-external-storage/1.26 |
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/mini-e2e-helm/k8s-1.26 |
/test ci/centos/k8s-e2e-external-storage/1.28 |
/test ci/centos/k8s-e2e-external-storage/1.27 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/mini-e2e/k8s-1.26 |
/test ci/centos/mini-e2e-helm/k8s-1.28 |
/test ci/centos/mini-e2e-helm/k8s-1.27 |
/test ci/centos/mini-e2e/k8s-1.28 |
/test ci/centos/mini-e2e/k8s-1.27 |
Describe what this PR does
This commit makes use of crush location labels from node labels to supply
crush_location
andread_from_replica=localize
options during mount. Using these options, cephfswill be able to redirect reads to the closest OSD, improving performance.
Fixes: #4149
Show available bot commands
These commands are normally not required, but in case of issues, leave any of
the following bot commands in an otherwise empty comment in this PR:
/retest ci/centos/<job-name>
: retest the<job-name>
after unrelatedfailure (please report the failure too!)