client: set CEPH_STAT_RSTAT mask for dir in readdir_r_cb#38222
Merged
batrick merged 1 commit intoceph:masterfrom Dec 17, 2020
Merged
client: set CEPH_STAT_RSTAT mask for dir in readdir_r_cb#38222batrick merged 1 commit intoceph:masterfrom
batrick merged 1 commit intoceph:masterfrom
Conversation
jtlayton
suggested changes
Nov 30, 2020
jtlayton
suggested changes
Dec 3, 2020
jtlayton
suggested changes
Dec 6, 2020
Fixes: https://tracker.ceph.com/issues/48318 Signed-off-by: chencan <chen.can2@zte.com.cn>
jtlayton
approved these changes
Dec 7, 2020
This was referenced Jan 18, 2021
14 tasks
xdavidwu
added a commit
to xdavidwu/ceph
that referenced
this pull request
Sep 4, 2022
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. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com>
xdavidwu
added a commit
to xdavidwu/ceph
that referenced
this pull request
Sep 4, 2022
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. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com>
rishabh-d-dave
pushed a commit
to rishabh-d-dave/ceph
that referenced
this pull request
Mar 10, 2023
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. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com>
rishabh-d-dave
pushed a commit
to rishabh-d-dave/ceph
that referenced
this pull request
Jun 16, 2023
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. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com>
xdavidwu
added a commit
to xdavidwu/ceph
that referenced
this pull request
Jul 13, 2023
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>
rishabh-d-dave
pushed a commit
to xdavidwu/ceph
that referenced
this pull request
Jul 13, 2023
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>
joscollin
pushed a commit
to joscollin/ceph
that referenced
this pull request
Jul 31, 2023
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>
xdavidwu
added a commit
to xdavidwu/ceph
that referenced
this pull request
Aug 13, 2023
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. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com>
xdavidwu
added a commit
to xdavidwu/ceph
that referenced
this pull request
Aug 14, 2023
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. Signed-off-by: Pinghao Wu <xdavidwuph@gmail.com>
k0ste
pushed a commit
to k0ste/ceph
that referenced
this pull request
Sep 10, 2023
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)
k0ste
pushed a commit
to k0ste/ceph
that referenced
this pull request
Sep 10, 2023
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)
aaSharma14
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Sep 25, 2023
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>
aaSharma14
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Oct 11, 2023
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>
rishabh-d-dave
pushed a commit
to rishabh-d-dave/ceph
that referenced
this pull request
Oct 25, 2023
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)
aaSharma14
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Nov 7, 2023
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>
k0ste
pushed a commit
to k0ste/ceph
that referenced
this pull request
Nov 24, 2023
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)
aaSharma14
pushed a commit
to rhcs-dashboard/ceph
that referenced
this pull request
Jan 2, 2024
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes: https://tracker.ceph.com/issues/48318
Signed-off-by: chencan chen.can2@zte.com.cn
In the readdir operation, If the dirent is directory, the directory's size is "in -> rstat.rbytes", needs to set CEPH_STAT_RSTAT mask in getattr to get the latest value.
Checklist
Show available Jenkins commands
jenkins retest this pleasejenkins test classic perfjenkins test crimson perfjenkins test signedjenkins test make checkjenkins test make check arm64jenkins test submodulesjenkins test dashboardjenkins test apijenkins test docsjenkins render docsjenkins test ceph-volume alljenkins test ceph-volume tox