quincy: client: readdir_r_cb: get rstat for dir only if using rbytes for size#53360
quincy: client: readdir_r_cb: get rstat for dir only if using rbytes for size#53360k0ste wants to merge 2 commits intoceph:quincyfrom
Conversation
When `client_dirsize_rbytes` is off, there should be no need for getting rstat on readdir operations. This fixes performance when `client_dirsize_rbytes` is off after ceph#38222. Fixes: https://tracker.ceph.com/issues/61999 Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com> (cherry picked from commit 69decab)
kclient also has this option, and is unchangeable unless remounted. Let's keep parity with kclient. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com> (cherry picked from commit 05a48a4)
|
This PR is under test in https://tracker.ceph.com/issues/67315. |
|
This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days. |
|
This pull request has been automatically closed because there has been no activity for 90 days. Please feel free to reopen this pull request (or open a new one) if the proposed change is still appropriate. Thank you for your contribution! |
backport tracker: https://tracker.ceph.com/issues/62005
backport of #46960
parent tracker: https://tracker.ceph.com/issues/61999
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh