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

Jewel cephfs data scan misc #8115

Merged
merged 2 commits into from Mar 25, 2016

Conversation

ukernel
Copy link
Contributor

@ukernel ukernel commented Mar 15, 2016

No description provided.

directory inode's size should be always zero.

Signed-off-by: Yan, Zheng <zyan@redhat.com>
@ukernel ukernel added bug-fix cephfs Ceph File System labels Mar 15, 2016
@ukernel ukernel force-pushed the jewel-cephfs-data-scan-misc branch 2 times, most recently from 887c751 to caf1d7f Compare March 15, 2016 13:20
@gregsfortytwo gregsfortytwo modified the milestone: jewel Mar 17, 2016
@@ -147,7 +147,8 @@ class MetadataTool
* Construct a synthetic InodeStore for a normal file
*/
void build_file_dentry(
inodeno_t ino, uint64_t file_size, time_t file_mtime,
inodeno_t ino, uint64_t nfiles,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe this is a typo? It doesn't make sense to call file_size nfiles here, because this is the function for creating normal file dentries, not directories.

@jcsp
Copy link
Contributor

jcsp commented Mar 17, 2016

👍 apart from one minor comment (+ I checked that this passes TestDataScan locally)

@jcsp jcsp assigned ukernel and unassigned jcsp Mar 17, 2016
so that the directory doesn't appear to be empty

Signed-off-by: Yan, Zheng <zyan@redhat.com>
@ukernel ukernel force-pushed the jewel-cephfs-data-scan-misc branch from caf1d7f to cd14bcc Compare March 17, 2016 13:40
@ukernel
Copy link
Contributor Author

ukernel commented Mar 17, 2016

Sorry, it's typo. I removed it.

gregsfortytwo added a commit that referenced this pull request Mar 18, 2016
gregsfortytwo added a commit that referenced this pull request Mar 24, 2016
@gregsfortytwo gregsfortytwo merged commit 1996f41 into ceph:jewel Mar 25, 2016
@ukernel ukernel deleted the jewel-cephfs-data-scan-misc branch April 13, 2016 02:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants